mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-13 13:29:24 +02:00
Do not set usesectionprogbits and usesectionflags to true for solaris assembler
This commit is contained in:
parent
13548088b7
commit
b9a8e6832f
@ -565,7 +565,8 @@ implementation
|
|||||||
writer.AsmWrite('.section ');
|
writer.AsmWrite('.section ');
|
||||||
{ sectionname may rename those sections, so we do not write flags/progbits for them,
|
{ sectionname may rename those sections, so we do not write flags/progbits for them,
|
||||||
the assembler will ignore them/spite out a warning anyways }
|
the assembler will ignore them/spite out a warning anyways }
|
||||||
if not(atype in [sec_data,sec_rodata,sec_rodata_norel]) then
|
if not(atype in [sec_data,sec_rodata,sec_rodata_norel]) and
|
||||||
|
not(asminfo^.id=as_solaris_as) then
|
||||||
begin
|
begin
|
||||||
usesectionflags:=true;
|
usesectionflags:=true;
|
||||||
usesectionprogbits:=true;
|
usesectionprogbits:=true;
|
||||||
|
Loading…
Reference in New Issue
Block a user