mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-02 11:42:35 +02:00
+ wasm internal linker: implemented RELOC_TAG_INDEX_LEB relocations
This commit is contained in:
parent
4084da63ab
commit
cd72a8910e
@ -4956,6 +4956,13 @@ implementation
|
||||
objsec.Data.seek(objreloc.DataOffset);
|
||||
WriteUleb5(objsec.Data,UInt32(objsym.offset+objsym.objsection.MemPos));
|
||||
end;
|
||||
RELOC_TAG_INDEX_LEB:
|
||||
begin
|
||||
if objsym.typ<>AT_WASM_EXCEPTION_TAG then
|
||||
internalerror(2024010708);
|
||||
objsec.Data.seek(objreloc.DataOffset);
|
||||
WriteUleb5(objsec.Data,UInt32(objsym.offset+objsym.objsection.MemPos));
|
||||
end;
|
||||
else
|
||||
Writeln('Symbol relocation not yet implemented! ', objreloc.typ);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user