+ call ApplyAsmSymbolRestrictions for symbols that should be exported from ar files

git-svn-id: trunk@45285 -
This commit is contained in:
nickysn 2020-05-06 00:22:22 +00:00
parent 0d402a1341
commit 997184778a

View File

@ -1710,7 +1710,7 @@ implementation
{ export globals and common symbols, this is needed
for .a files }
if p.bind in [AB_GLOBAL,AB_PRIVATE_EXTERN,AB_COMMON] then
FWriter.writesym(p.name);
FWriter.writesym(ApplyAsmSymbolRestrictions(p.name));
end;
procedure TObjOutput.WriteSectionContent(Data:TObjData);