Explorar o código

+ more relocation types added to the enum TWasmRelocationType

Nikolay Nikolov hai 1 ano
pai
achega
dbc3e71eda
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      compiler/wasmbase.pas

+ 5 - 1
compiler/wasmbase.pas

@@ -114,7 +114,11 @@ type
     R_WASM_MEMORY_ADDR_I64     = 16,
     R_WASM_TABLE_INDEX_SLEB64  = 18,
     R_WASM_TABLE_INDEX_I64     = 19,
-    R_WASM_TABLE_NUMBER_LEB    = 20);
+    R_WASM_TABLE_NUMBER_LEB    = 20,
+    R_WASM_FUNCTION_OFFSET_I64 = 22,
+    R_WASM_MEMORY_ADDR_LOCREL_I32 = 23,
+    R_WASM_TABLE_INDEX_REL_SLEB64 = 24,
+    R_WASM_FUNCTION_INDEX_I32  = 26);
 
   TWasmLinkingSubsectionType = (
     WASM_SEGMENT_INFO = 5,