mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 21:59:47 +02:00
+ auto add oso_data and oso_sparse_data when creating a .bss segment on the wasm target
This commit is contained in:
parent
605740fd0a
commit
791328ccb5
@ -1469,6 +1469,8 @@ implementation
|
||||
end;
|
||||
end;
|
||||
result:=secoptions[atype];
|
||||
if (target_info.system in systems_wasm) and (atype=sec_bss) then
|
||||
Result:=Result+[oso_data,oso_sparse_data];
|
||||
{$ifdef OMFOBJSUPPORT}
|
||||
{ in the huge memory model, BSS data is actually written in the regular
|
||||
FAR_DATA segment of the module }
|
||||
|
Loading…
Reference in New Issue
Block a user