mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-13 13:29:24 +02:00
* avoid creating threadvar sections in the LLVM-MC WebAssembly output
git-svn-id: branches/wasm@48246 -
This commit is contained in:
parent
99d8d8f296
commit
f83ef3c610
@ -165,7 +165,7 @@ implementation
|
||||
|
||||
function TLLVMMachineCodePlaygroundAssembler.sectionname(atype: TAsmSectiontype; const aname: string; aorder: TAsmSectionOrder): string;
|
||||
begin
|
||||
if atype=sec_fpc then
|
||||
if (atype=sec_fpc) or (atype=sec_threadvar) then
|
||||
atype:=sec_data;
|
||||
Result:=inherited sectionname(atype, aname, aorder)+',"",@';
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user