diff options
Diffstat (limited to 'include/llvm/BinaryFormat/ELFRelocs/WebAssembly.def')
-rw-r--r-- | include/llvm/BinaryFormat/ELFRelocs/WebAssembly.def | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/BinaryFormat/ELFRelocs/WebAssembly.def b/include/llvm/BinaryFormat/ELFRelocs/WebAssembly.def new file mode 100644 index 000000000000..9a34349efb96 --- /dev/null +++ b/include/llvm/BinaryFormat/ELFRelocs/WebAssembly.def @@ -0,0 +1,8 @@ + +#ifndef ELF_RELOC +#error "ELF_RELOC must be defined" +#endif + +ELF_RELOC(R_WEBASSEMBLY_NONE, 0) +ELF_RELOC(R_WEBASSEMBLY_DATA, 1) +ELF_RELOC(R_WEBASSEMBLY_FUNCTION, 2) |