* WebAssembly threads internal linker: set the global type of threadvar globals to wbt_i32

This commit is contained in:
Nikolay Nikolov 2024-08-11 00:05:14 +03:00
parent afbc36897d
commit f38b12240d

View File

@ -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;