mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 08:29:29 +02:00
+ support writing RELOC_FUNCTION_INDEX_LEB relocations to non-external functions
This commit is contained in:
parent
bf5048cb5e
commit
238d09d875
@ -524,8 +524,6 @@ implementation
|
||||
internalerror(2021092503);
|
||||
if not assigned(p) then
|
||||
internalerror(2021092504);
|
||||
if p.bind<>AB_EXTERNAL then
|
||||
internalerror(2021092505);
|
||||
objreloc:=TWasmObjRelocation.CreateSymbol(CurrObjSec.Size,p,Reloctype);
|
||||
CurrObjSec.ObjRelocations.Add(objreloc);
|
||||
writebytes(leb_zero,5);
|
||||
|
Loading…
Reference in New Issue
Block a user