mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-08 15:45:58 +02:00
+ emit a .globl directive for global ait_symbols
git-svn-id: branches/z80@44465 -
This commit is contained in:
parent
e0efce2dd8
commit
a670e04a3f
@ -258,8 +258,11 @@ unit agsdasz80;
|
||||
hp:=tai(nhp);
|
||||
end;
|
||||
end;}
|
||||
{if tai_symbol(hp).is_global then
|
||||
writer.AsmWriteLn(#9'PUBLIC'#9+tai_symbol(hp).sym.name);}
|
||||
if tai_symbol(hp).is_global then
|
||||
begin
|
||||
writer.AsmWrite('.globl'#9);
|
||||
writer.AsmWriteln(tai_symbol(hp).sym.name);
|
||||
end;
|
||||
writer.AsmWrite(tai_symbol(hp).sym.name);
|
||||
{if assigned(hp.next) and not(tai(hp.next).typ in
|
||||
[ait_const,ait_realconst,ait_string]) then}
|
||||
|
Loading…
Reference in New Issue
Block a user