1#ifndef WASM_RELOC 2#error "WASM_RELOC must be defined" 3#endif 4 5WASM_RELOC(R_WASM_FUNCTION_INDEX_LEB, 0) 6WASM_RELOC(R_WASM_TABLE_INDEX_SLEB, 1) 7WASM_RELOC(R_WASM_TABLE_INDEX_I32, 2) 8WASM_RELOC(R_WASM_MEMORY_ADDR_LEB, 3) 9WASM_RELOC(R_WASM_MEMORY_ADDR_SLEB, 4) 10WASM_RELOC(R_WASM_MEMORY_ADDR_I32, 5) 11WASM_RELOC(R_WASM_TYPE_INDEX_LEB, 6) 12WASM_RELOC(R_WASM_GLOBAL_INDEX_LEB, 7) 13WASM_RELOC(R_WASM_FUNCTION_OFFSET_I32, 8) 14WASM_RELOC(R_WASM_SECTION_OFFSET_I32, 9) 15WASM_RELOC(R_WASM_EVENT_INDEX_LEB, 10) 16WASM_RELOC(R_WASM_MEMORY_ADDR_REL_SLEB, 11) 17WASM_RELOC(R_WASM_TABLE_INDEX_REL_SLEB, 12) 18WASM_RELOC(R_WASM_GLOBAL_INDEX_I32, 13) 19WASM_RELOC(R_WASM_MEMORY_ADDR_LEB64, 14) 20WASM_RELOC(R_WASM_MEMORY_ADDR_SLEB64, 15) 21WASM_RELOC(R_WASM_MEMORY_ADDR_I64, 16) 22WASM_RELOC(R_WASM_MEMORY_ADDR_REL_SLEB64, 17) 23WASM_RELOC(R_WASM_TABLE_INDEX_SLEB64, 18) 24WASM_RELOC(R_WASM_TABLE_INDEX_I64, 19) 25WASM_RELOC(R_WASM_TABLE_NUMBER_LEB, 20) 26WASM_RELOC(R_WASM_MEMORY_ADDR_TLS_SLEB, 21) 27WASM_RELOC(R_WASM_FUNCTION_OFFSET_I64, 22) 28