mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 22:09:32 +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;
|
||||||
end;
|
end;
|
||||||
result:=secoptions[atype];
|
result:=secoptions[atype];
|
||||||
|
if (target_info.system in systems_wasm) and (atype=sec_bss) then
|
||||||
|
Result:=Result+[oso_data,oso_sparse_data];
|
||||||
{$ifdef OMFOBJSUPPORT}
|
{$ifdef OMFOBJSUPPORT}
|
||||||
{ in the huge memory model, BSS data is actually written in the regular
|
{ in the huge memory model, BSS data is actually written in the regular
|
||||||
FAR_DATA segment of the module }
|
FAR_DATA segment of the module }
|
||||||
|
Loading…
Reference in New Issue
Block a user