wabt
wabt copied to clipboard
Missing support for the (somewhat) recently added relocation types
See https://github.com/llvm/llvm-project/blob/e56ad22b4a41e65984d6997b2c2496a20f906d1d/llvm/include/llvm/BinaryFormat/WasmRelocs.def#L27-L31 and https://github.com/WebAssembly/wabt/blob/1edeaf2948b4afd711e50ba2007ee44503cd80fe/src/common.cc#L46-L59
I hit it specifically with R_WASM_FUNCTION_INDEX_I32
. This affects e. g. wasm-objdump -x -j linking
.