ソースを参照

+ support writing RELOC_FUNCTION_INDEX_LEB relocations to non-external functions

Nikolay Nikolov 3 年 前
コミット
238d09d875
1 ファイル変更0 行追加2 行削除
  1. 0 2
      compiler/ogwasm.pas

+ 0 - 2
compiler/ogwasm.pas

@@ -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);