Back to home page

EIC code displayed by LXR

 
 

    


Warning, /include/llvm/BinaryFormat/ELFRelocs/PowerPC.def is written in an unsupported language. File is not indexed.

0001 
0002 #ifndef ELF_RELOC
0003 #error "ELF_RELOC must be defined"
0004 #endif
0005 
0006 // glibc's PowerPC asm/sigcontext.h, when compiling for PPC64, has the
0007 // unfortunate behavior of including asm/elf.h, which defines R_PPC_NONE, etc.
0008 // to their corresponding integer values. As a result, we need to undef them
0009 // here before continuing.
0010 
0011 #undef R_PPC_NONE
0012 #undef R_PPC_ADDR32
0013 #undef R_PPC_ADDR24
0014 #undef R_PPC_ADDR16
0015 #undef R_PPC_ADDR16_LO
0016 #undef R_PPC_ADDR16_HI
0017 #undef R_PPC_ADDR16_HA
0018 #undef R_PPC_ADDR14
0019 #undef R_PPC_ADDR14_BRTAKEN
0020 #undef R_PPC_ADDR14_BRNTAKEN
0021 #undef R_PPC_REL24
0022 #undef R_PPC_REL14
0023 #undef R_PPC_REL14_BRTAKEN
0024 #undef R_PPC_REL14_BRNTAKEN
0025 #undef R_PPC_GOT16
0026 #undef R_PPC_GOT16_LO
0027 #undef R_PPC_GOT16_HI
0028 #undef R_PPC_GOT16_HA
0029 #undef R_PPC_PLTREL24
0030 #undef R_PPC_COPY
0031 #undef R_PPC_GLOB_DAT
0032 #undef R_PPC_JMP_SLOT
0033 #undef R_PPC_RELATIVE
0034 #undef R_PPC_LOCAL24PC
0035 #undef R_PPC_UADDR32
0036 #undef R_PPC_UADDR16
0037 #undef R_PPC_REL32
0038 #undef R_PPC_PLT32
0039 #undef R_PPC_PLTREL32
0040 #undef R_PPC_PLT16_LO
0041 #undef R_PPC_PLT16_HI
0042 #undef R_PPC_PLT16_HA
0043 #undef R_PPC_SDAREL16
0044 #undef R_PPC_SECTOFF
0045 #undef R_PPC_SECTOFF_LO
0046 #undef R_PPC_SECTOFF_HI
0047 #undef R_PPC_SECTOFF_HA
0048 #undef R_PPC_ADDR30
0049 #undef R_PPC_TLS
0050 #undef R_PPC_DTPMOD32
0051 #undef R_PPC_TPREL16
0052 #undef R_PPC_TPREL16_LO
0053 #undef R_PPC_TPREL16_HI
0054 #undef R_PPC_TPREL16_HA
0055 #undef R_PPC_TPREL32
0056 #undef R_PPC_DTPREL16
0057 #undef R_PPC_DTPREL16_LO
0058 #undef R_PPC_DTPREL16_HI
0059 #undef R_PPC_DTPREL16_HA
0060 #undef R_PPC_DTPREL32
0061 #undef R_PPC_GOT_TLSGD16
0062 #undef R_PPC_GOT_TLSGD16_LO
0063 #undef R_PPC_GOT_TLSGD16_HI
0064 #undef R_PPC_GOT_TLSGD16_HA
0065 #undef R_PPC_GOT_TLSLD16
0066 #undef R_PPC_GOT_TLSLD16_LO
0067 #undef R_PPC_GOT_TLSLD16_HI
0068 #undef R_PPC_GOT_TLSLD16_HA
0069 #undef R_PPC_GOT_TPREL16
0070 #undef R_PPC_GOT_TPREL16_LO
0071 #undef R_PPC_GOT_TPREL16_HI
0072 #undef R_PPC_GOT_TPREL16_HA
0073 #undef R_PPC_GOT_DTPREL16
0074 #undef R_PPC_GOT_DTPREL16_LO
0075 #undef R_PPC_GOT_DTPREL16_HI
0076 #undef R_PPC_GOT_DTPREL16_HA
0077 #undef R_PPC_TLSGD
0078 #undef R_PPC_TLSLD
0079 #undef R_PPC_REL16
0080 #undef R_PPC_REL16_LO
0081 #undef R_PPC_REL16_HI
0082 #undef R_PPC_REL16_HA
0083 
0084 ELF_RELOC(R_PPC_NONE,                   0)      /* No relocation. */
0085 ELF_RELOC(R_PPC_ADDR32,                 1)
0086 ELF_RELOC(R_PPC_ADDR24,                 2)
0087 ELF_RELOC(R_PPC_ADDR16,                 3)
0088 ELF_RELOC(R_PPC_ADDR16_LO,              4)
0089 ELF_RELOC(R_PPC_ADDR16_HI,              5)
0090 ELF_RELOC(R_PPC_ADDR16_HA,              6)
0091 ELF_RELOC(R_PPC_ADDR14,                 7)
0092 ELF_RELOC(R_PPC_ADDR14_BRTAKEN,         8)
0093 ELF_RELOC(R_PPC_ADDR14_BRNTAKEN,        9)
0094 ELF_RELOC(R_PPC_REL24,                  10)
0095 ELF_RELOC(R_PPC_REL14,                  11)
0096 ELF_RELOC(R_PPC_REL14_BRTAKEN,          12)
0097 ELF_RELOC(R_PPC_REL14_BRNTAKEN,         13)
0098 ELF_RELOC(R_PPC_GOT16,                  14)
0099 ELF_RELOC(R_PPC_GOT16_LO,               15)
0100 ELF_RELOC(R_PPC_GOT16_HI,               16)
0101 ELF_RELOC(R_PPC_GOT16_HA,               17)
0102 ELF_RELOC(R_PPC_PLTREL24,               18)
0103 ELF_RELOC(R_PPC_COPY,                   19)
0104 ELF_RELOC(R_PPC_GLOB_DAT,               20)
0105 ELF_RELOC(R_PPC_JMP_SLOT,               21)
0106 ELF_RELOC(R_PPC_RELATIVE,               22)
0107 ELF_RELOC(R_PPC_LOCAL24PC,              23)
0108 ELF_RELOC(R_PPC_UADDR32,                24)
0109 ELF_RELOC(R_PPC_UADDR16,                25)
0110 ELF_RELOC(R_PPC_REL32,                  26)
0111 ELF_RELOC(R_PPC_PLT32,                  27)
0112 ELF_RELOC(R_PPC_PLTREL32,               28)
0113 ELF_RELOC(R_PPC_PLT16_LO,               29)
0114 ELF_RELOC(R_PPC_PLT16_HI,               30)
0115 ELF_RELOC(R_PPC_PLT16_HA,               31)
0116 ELF_RELOC(R_PPC_SDAREL16,               32)
0117 ELF_RELOC(R_PPC_SECTOFF,                33)
0118 ELF_RELOC(R_PPC_SECTOFF_LO,             34)
0119 ELF_RELOC(R_PPC_SECTOFF_HI,             35)
0120 ELF_RELOC(R_PPC_SECTOFF_HA,             36)
0121 ELF_RELOC(R_PPC_ADDR30,                 37)
0122 ELF_RELOC(R_PPC_TLS,                    67)
0123 ELF_RELOC(R_PPC_DTPMOD32,               68)
0124 ELF_RELOC(R_PPC_TPREL16,                69)
0125 ELF_RELOC(R_PPC_TPREL16_LO,             70)
0126 ELF_RELOC(R_PPC_TPREL16_HI,             71)
0127 ELF_RELOC(R_PPC_TPREL16_HA,             72)
0128 ELF_RELOC(R_PPC_TPREL32,                73)
0129 ELF_RELOC(R_PPC_DTPREL16,               74)
0130 ELF_RELOC(R_PPC_DTPREL16_LO,            75)
0131 ELF_RELOC(R_PPC_DTPREL16_HI,            76)
0132 ELF_RELOC(R_PPC_DTPREL16_HA,            77)
0133 ELF_RELOC(R_PPC_DTPREL32,               78)
0134 ELF_RELOC(R_PPC_GOT_TLSGD16,            79)
0135 ELF_RELOC(R_PPC_GOT_TLSGD16_LO,         80)
0136 ELF_RELOC(R_PPC_GOT_TLSGD16_HI,         81)
0137 ELF_RELOC(R_PPC_GOT_TLSGD16_HA,         82)
0138 ELF_RELOC(R_PPC_GOT_TLSLD16,            83)
0139 ELF_RELOC(R_PPC_GOT_TLSLD16_LO,         84)
0140 ELF_RELOC(R_PPC_GOT_TLSLD16_HI,         85)
0141 ELF_RELOC(R_PPC_GOT_TLSLD16_HA,         86)
0142 ELF_RELOC(R_PPC_GOT_TPREL16,            87)
0143 ELF_RELOC(R_PPC_GOT_TPREL16_LO,         88)
0144 ELF_RELOC(R_PPC_GOT_TPREL16_HI,         89)
0145 ELF_RELOC(R_PPC_GOT_TPREL16_HA,         90)
0146 ELF_RELOC(R_PPC_GOT_DTPREL16,           91)
0147 ELF_RELOC(R_PPC_GOT_DTPREL16_LO,        92)
0148 ELF_RELOC(R_PPC_GOT_DTPREL16_HI,        93)
0149 ELF_RELOC(R_PPC_GOT_DTPREL16_HA,        94)
0150 ELF_RELOC(R_PPC_TLSGD,                  95)
0151 ELF_RELOC(R_PPC_TLSLD,                  96)
0152 ELF_RELOC(R_PPC_IRELATIVE,              248)
0153 ELF_RELOC(R_PPC_REL16,                  249)
0154 ELF_RELOC(R_PPC_REL16_LO,               250)
0155 ELF_RELOC(R_PPC_REL16_HI,               251)
0156 ELF_RELOC(R_PPC_REL16_HA,               252)