mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-16 22:50:01 +00:00

This creates a new library called BinaryFormat that has all of the headers from llvm/Support containing structure and layout definitions for various types of binary formats like dwarf, coff, elf, etc as well as the code for identifying a file from its magic. Differential Revision: https://reviews.llvm.org/D33843 llvm-svn: 304864
9 lines
188 B
Modula-2
9 lines
188 B
Modula-2
|
|
#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)
|