mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 10:59:24 +02:00
* fix for OS/2 and EMX - .section not supported by as.exe
This commit is contained in:
parent
f9a6b880d4
commit
692fa34dba
@ -305,8 +305,11 @@ var
|
|||||||
s : string;
|
s : string;
|
||||||
begin
|
begin
|
||||||
AsmLn;
|
AsmLn;
|
||||||
if (target_info.system <> system_powerpc_darwin) then
|
case target_info.system of
|
||||||
|
system_powerpc_darwin, system_i386_OS2, system_i386_EMX: ;
|
||||||
|
else
|
||||||
AsmWrite('.section ');
|
AsmWrite('.section ');
|
||||||
|
end;
|
||||||
s:=sectionname(atype,aname);
|
s:=sectionname(atype,aname);
|
||||||
AsmWrite(s);
|
AsmWrite(s);
|
||||||
if copy(s,1,4)='.gnu' then
|
if copy(s,1,4)='.gnu' then
|
||||||
@ -966,7 +969,10 @@ var
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.56 2004-07-01 18:16:10 jonas
|
Revision 1.57 2004-07-18 22:04:55 hajny
|
||||||
|
* fix for OS/2 and EMX - .section not supported by as.exe
|
||||||
|
|
||||||
|
Revision 1.56 2004/07/01 18:16:10 jonas
|
||||||
* Darwin fixes
|
* Darwin fixes
|
||||||
|
|
||||||
Revision 1.55 2004/06/20 08:55:28 florian
|
Revision 1.55 2004/06/20 08:55:28 florian
|
||||||
|
Loading…
Reference in New Issue
Block a user