mirror of
https://github.com/RPCS3/llvm.git
synced 2026-01-31 01:25:19 +01:00
Summary: See https://github.com/WebAssembly/tool-conventions/blob/master/Linking.md Differential Revision: https://reviews.llvm.org/D37385 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312342 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
464 B
Modula-2
14 lines
464 B
Modula-2
|
|
#ifndef WASM_RELOC
|
|
#error "WASM_RELOC must be defined"
|
|
#endif
|
|
|
|
WASM_RELOC(R_WEBASSEMBLY_FUNCTION_INDEX_LEB, 0)
|
|
WASM_RELOC(R_WEBASSEMBLY_TABLE_INDEX_SLEB, 1)
|
|
WASM_RELOC(R_WEBASSEMBLY_TABLE_INDEX_I32, 2)
|
|
WASM_RELOC(R_WEBASSEMBLY_MEMORY_ADDR_LEB, 3)
|
|
WASM_RELOC(R_WEBASSEMBLY_MEMORY_ADDR_SLEB, 4)
|
|
WASM_RELOC(R_WEBASSEMBLY_MEMORY_ADDR_I32, 5)
|
|
WASM_RELOC(R_WEBASSEMBLY_TYPE_INDEX_LEB, 6)
|
|
WASM_RELOC(R_WEBASSEMBLY_GLOBAL_INDEX_LEB, 7)
|