* emit sec_fpc as sec_data, because custom section names aren't supported

git-svn-id: branches/wasm@46848 -
This commit is contained in:
nickysn 2020-09-11 16:19:32 +00:00
parent e1b6f0bd85
commit 5c27030faf

View File

@ -114,6 +114,8 @@ implementation
function TLLVMMachineCodePlaygroundAssembler.sectionname(atype: TAsmSectiontype; const aname: string; aorder: TAsmSectionOrder): string;
begin
if atype=sec_fpc then
atype:=sec_data;
Result:=inherited sectionname(atype, aname, aorder)+',"",@';
end;