* write .size only for linux

This commit is contained in:
peter 1999-07-30 12:26:07 +00:00
parent 1715434502
commit 4d419ef8d4

View File

@ -649,10 +649,13 @@ unit ag386att;
ait_symbol_end : ait_symbol_end :
begin begin
s:=target_asm.labelprefix+'e'+tostr(symendcount); if target_info.target=target_i386_linux then
inc(symendcount); begin
AsmWriteLn(s+':'); s:=target_asm.labelprefix+'e'+tostr(symendcount);
AsmWriteLn(#9'.size'#9+pai_symbol(hp)^.sym^.name+', '+s+' - '+pai_symbol(hp)^.sym^.name); inc(symendcount);
AsmWriteLn(s+':');
AsmWriteLn(#9'.size'#9+pai_symbol(hp)^.sym^.name+', '+s+' - '+pai_symbol(hp)^.sym^.name);
end;
end; end;
ait_instruction : ait_instruction :
@ -829,7 +832,10 @@ unit ag386att;
end. end.
{ {
$Log$ $Log$
Revision 1.6 1999-07-29 20:53:56 peter Revision 1.7 1999-07-30 12:26:07 peter
* write .size only for linux
Revision 1.6 1999/07/29 20:53:56 peter
* write .size also * write .size also
Revision 1.5 1999/07/22 09:37:29 florian Revision 1.5 1999/07/22 09:37:29 florian