mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-09 17:06:04 +02:00
Fix section alignment code for GNU assembler for smartlinked objects on aix system
git-svn-id: trunk@35885 -
This commit is contained in:
parent
1f3e7442c1
commit
6eee90ad3f
@ -521,18 +521,20 @@ implementation
|
|||||||
|
|
||||||
TODO: This likely applies to all systems which smartlink without
|
TODO: This likely applies to all systems which smartlink without
|
||||||
creating libraries }
|
creating libraries }
|
||||||
if is_smart_section(atype) and (aname<>'') then
|
begin
|
||||||
begin
|
if is_smart_section(atype) and (aname<>'') then
|
||||||
s:=sectionattrs(atype);
|
begin
|
||||||
if (s<>'') then
|
s:=sectionattrs(atype);
|
||||||
writer.AsmWrite(',"'+s+'"');
|
if (s<>'') then
|
||||||
end
|
writer.AsmWrite(',"'+s+'"');
|
||||||
else if target_info.system in systems_aix then
|
end;
|
||||||
begin
|
if target_info.system in systems_aix then
|
||||||
s:=sectionalignment_aix(atype,secalign);
|
begin
|
||||||
if s<>'' then
|
s:=sectionalignment_aix(atype,secalign);
|
||||||
writer.AsmWrite(','+s);
|
if s<>'' then
|
||||||
end;
|
writer.AsmWrite(','+s);
|
||||||
|
end;
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
writer.AsmLn;
|
writer.AsmLn;
|
||||||
LastSecType:=atype;
|
LastSecType:=atype;
|
||||||
|
Loading…
Reference in New Issue
Block a user