mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 13:59:55 +02:00
* wasm internal linker: start the .text section at mempos 0
This commit is contained in:
parent
5eb5fdabad
commit
c49ac16a19
@ -4685,7 +4685,9 @@ implementation
|
||||
(the LLVM leaves the first 1024 bytes in the data segment empty, so we
|
||||
start at 1024). }
|
||||
if aname='.rodata' then
|
||||
CurrMemPos:=1024;
|
||||
CurrMemPos:=1024
|
||||
else if aname='.text' then
|
||||
CurrMemPos:=0;
|
||||
inherited MemPos_ExeSection(aname);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user