mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +00:00
This should allow the list of relocations for a particular architecture to be kept in a single header rather than duplicated whenever we need to enumerate all the relocations. Patch by Will Newton. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222565 91177308-0d34-0410-b5e6-96231b3b80d8
45 lines
1.4 KiB
Modula-2
45 lines
1.4 KiB
Modula-2
|
|
#ifndef ELF_RELOC
|
|
#error "ELF_RELOC must be defined"
|
|
#endif
|
|
|
|
ELF_RELOC(R_X86_64_NONE, 0)
|
|
ELF_RELOC(R_X86_64_64, 1)
|
|
ELF_RELOC(R_X86_64_PC32, 2)
|
|
ELF_RELOC(R_X86_64_GOT32, 3)
|
|
ELF_RELOC(R_X86_64_PLT32, 4)
|
|
ELF_RELOC(R_X86_64_COPY, 5)
|
|
ELF_RELOC(R_X86_64_GLOB_DAT, 6)
|
|
ELF_RELOC(R_X86_64_JUMP_SLOT, 7)
|
|
ELF_RELOC(R_X86_64_RELATIVE, 8)
|
|
ELF_RELOC(R_X86_64_GOTPCREL, 9)
|
|
ELF_RELOC(R_X86_64_32, 10)
|
|
ELF_RELOC(R_X86_64_32S, 11)
|
|
ELF_RELOC(R_X86_64_16, 12)
|
|
ELF_RELOC(R_X86_64_PC16, 13)
|
|
ELF_RELOC(R_X86_64_8, 14)
|
|
ELF_RELOC(R_X86_64_PC8, 15)
|
|
ELF_RELOC(R_X86_64_DTPMOD64, 16)
|
|
ELF_RELOC(R_X86_64_DTPOFF64, 17)
|
|
ELF_RELOC(R_X86_64_TPOFF64, 18)
|
|
ELF_RELOC(R_X86_64_TLSGD, 19)
|
|
ELF_RELOC(R_X86_64_TLSLD, 20)
|
|
ELF_RELOC(R_X86_64_DTPOFF32, 21)
|
|
ELF_RELOC(R_X86_64_GOTTPOFF, 22)
|
|
ELF_RELOC(R_X86_64_TPOFF32, 23)
|
|
ELF_RELOC(R_X86_64_PC64, 24)
|
|
ELF_RELOC(R_X86_64_GOTOFF64, 25)
|
|
ELF_RELOC(R_X86_64_GOTPC32, 26)
|
|
ELF_RELOC(R_X86_64_GOT64, 27)
|
|
ELF_RELOC(R_X86_64_GOTPCREL64, 28)
|
|
ELF_RELOC(R_X86_64_GOTPC64, 29)
|
|
ELF_RELOC(R_X86_64_GOTPLT64, 30)
|
|
ELF_RELOC(R_X86_64_PLTOFF64, 31)
|
|
ELF_RELOC(R_X86_64_SIZE32, 32)
|
|
ELF_RELOC(R_X86_64_SIZE64, 33)
|
|
ELF_RELOC(R_X86_64_GOTPC32_TLSDESC, 34)
|
|
ELF_RELOC(R_X86_64_TLSDESC_CALL, 35)
|
|
ELF_RELOC(R_X86_64_TLSDESC, 36)
|
|
ELF_RELOC(R_X86_64_IRELATIVE, 37)
|
|
|