|
@@ -1650,7 +1650,6 @@ implementation
|
|
|
|
|
|
procedure alloc_proc_symbol(pd: tprocdef);
|
|
procedure alloc_proc_symbol(pd: tprocdef);
|
|
var
|
|
var
|
|
- sym: tai_symbol;
|
|
|
|
item: tstringlistitem;
|
|
item: tstringlistitem;
|
|
begin
|
|
begin
|
|
item := tstringlistitem(pd.aliasnames.first);
|
|
item := tstringlistitem(pd.aliasnames.first);
|
|
@@ -1658,10 +1657,9 @@ implementation
|
|
begin
|
|
begin
|
|
if (cs_profile in aktmoduleswitches) or
|
|
if (cs_profile in aktmoduleswitches) or
|
|
(po_global in current_procinfo.procdef.procoptions) then
|
|
(po_global in current_procinfo.procdef.procoptions) then
|
|
- sym := Tai_symbol.createname_global(item.str,AT_FUNCTION,0)
|
|
|
|
|
|
+ objectlibrary.newasmsymbol(item.str,AB_GLOBAL,AT_FUNCTION)
|
|
else
|
|
else
|
|
- sym := Tai_symbol.createname(item.str,AT_FUNCTION,0);
|
|
|
|
- sym.free;
|
|
|
|
|
|
+ objectlibrary.newasmsymbol(item.str,AB_GLOBAL,AT_FUNCTION);
|
|
item := tstringlistitem(item.next);
|
|
item := tstringlistitem(item.next);
|
|
end;
|
|
end;
|
|
end;
|
|
end;
|