mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 18:49:15 +02:00
* WebAssembly threads internal linker: add the .tbss section to the linker
script in case threads are enabled
This commit is contained in:
parent
0642f14552
commit
70ca28701b
@ -358,6 +358,8 @@ begin
|
|||||||
end
|
end
|
||||||
else
|
else
|
||||||
ScriptAddGenericSections('.text');
|
ScriptAddGenericSections('.text');
|
||||||
|
if ts_wasm_threads in current_settings.targetswitches then
|
||||||
|
ScriptAddGenericSections('.tbss');
|
||||||
ScriptAddGenericSections(
|
ScriptAddGenericSections(
|
||||||
{ data (initialized data first, uninitialized data later) }
|
{ data (initialized data first, uninitialized data later) }
|
||||||
'.rodata,.data,fpc.resources,fpc.reshandles,.bss,'+
|
'.rodata,.data,fpc.resources,fpc.reshandles,.bss,'+
|
||||||
|
Loading…
Reference in New Issue
Block a user