mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-13 12:29:14 +02:00
* WebAssembly threads internal linker: set the global type of threadvar globals to wbt_i32
This commit is contained in:
parent
afbc36897d
commit
f38b12240d
@ -4249,6 +4249,7 @@ implementation
|
||||
objsym.TlsGlobalSym.objsection:=nil;
|
||||
objsym.TlsGlobalSym.offset:=0;
|
||||
objsym.TlsGlobalSym.size:=1;
|
||||
objsym.TlsGlobalSym.LinkingData.GlobalType:=wbt_i32;
|
||||
end
|
||||
else
|
||||
objsym.typ:=AT_DATA;
|
||||
@ -4274,6 +4275,7 @@ implementation
|
||||
objsym.TlsGlobalSym.objsection.WriteZeros(1);
|
||||
objsym.TlsGlobalSym.offset:=0;
|
||||
objsym.TlsGlobalSym.size:=1;
|
||||
objsym.TlsGlobalSym.LinkingData.GlobalType:=wbt_i32;
|
||||
end
|
||||
else
|
||||
objsym.typ:=AT_DATA;
|
||||
|
Loading…
Reference in New Issue
Block a user