mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 01:29:29 +02:00
+ workaround for old Amiga GNU AS, which vomits for .fpc sections
git-svn-id: trunk@5714 -
This commit is contained in:
parent
dbbd43d80d
commit
121a5c3cb8
@ -286,7 +286,11 @@ implementation
|
||||
secname:=secnames_pic[atype]
|
||||
else
|
||||
secname:=secnames[atype];
|
||||
|
||||
{$ifdef m68k}
|
||||
{ old Amiga GNU AS doesn't support .section .fpc }
|
||||
if (atype=sec_fpc) and (target_info.system = system_m68k_amiga) then
|
||||
secname:=secnames[sec_data];
|
||||
{$endif}
|
||||
if (atype=sec_fpc) and (Copy(aname,1,3)='res') then
|
||||
begin
|
||||
result:=secname+'.'+aname;
|
||||
|
Loading…
Reference in New Issue
Block a user