• Home
  • Raw
  • Download

Lines Matching full:elf

1 //===-- MipsELFObjectWriter.cpp - Mips ELF Writer -------------------------===//
39 : MCELFObjectTargetWriter(_is64Bit, OSABI, ELF::EM_MIPS, in MipsELFObjectWriter()
49 unsigned Type = (unsigned)ELF::R_MIPS_NONE; in GetRelocType()
56 Type = ELF::R_MIPS_32; in GetRelocType()
59 Type = ELF::R_MIPS_64; in GetRelocType()
63 Type = setRType((unsigned)ELF::R_MIPS_GPREL32, Type); in GetRelocType()
64 Type = setRType2((unsigned)ELF::R_MIPS_64, Type); in GetRelocType()
65 Type = setRType3((unsigned)ELF::R_MIPS_NONE, Type); in GetRelocType()
68 Type = ELF::R_MIPS_GPREL32; in GetRelocType()
71 Type = ELF::R_MIPS_GPREL16; in GetRelocType()
74 Type = ELF::R_MIPS_26; in GetRelocType()
77 Type = ELF::R_MIPS_CALL16; in GetRelocType()
81 Type = ELF::R_MIPS_GOT16; in GetRelocType()
84 Type = ELF::R_MIPS_HI16; in GetRelocType()
87 Type = ELF::R_MIPS_LO16; in GetRelocType()
90 Type = ELF::R_MIPS_TLS_GD; in GetRelocType()
93 Type = ELF::R_MIPS_TLS_GOTTPREL; in GetRelocType()
96 Type = ELF::R_MIPS_TLS_TPREL_HI16; in GetRelocType()
99 Type = ELF::R_MIPS_TLS_TPREL_LO16; in GetRelocType()
102 Type = ELF::R_MIPS_TLS_LDM; in GetRelocType()
105 Type = ELF::R_MIPS_TLS_DTPREL_HI16; in GetRelocType()
108 Type = ELF::R_MIPS_TLS_DTPREL_LO16; in GetRelocType()
112 Type = ELF::R_MIPS_PC16; in GetRelocType()
115 Type = ELF::R_MIPS_GOT_PAGE; in GetRelocType()
118 Type = ELF::R_MIPS_GOT_OFST; in GetRelocType()
121 Type = ELF::R_MIPS_GOT_DISP; in GetRelocType()
124 Type = setRType((unsigned)ELF::R_MIPS_GPREL16, Type); in GetRelocType()
125 Type = setRType2((unsigned)ELF::R_MIPS_SUB, Type); in GetRelocType()
126 Type = setRType3((unsigned)ELF::R_MIPS_HI16, Type); in GetRelocType()
129 Type = setRType((unsigned)ELF::R_MIPS_GPREL16, Type); in GetRelocType()
130 Type = setRType2((unsigned)ELF::R_MIPS_SUB, Type); in GetRelocType()
131 Type = setRType3((unsigned)ELF::R_MIPS_LO16, Type); in GetRelocType()
134 Type = ELF::R_MIPS_HIGHER; in GetRelocType()
137 Type = ELF::R_MIPS_HIGHEST; in GetRelocType()
140 Type = ELF::R_MIPS_GOT_HI16; in GetRelocType()
143 Type = ELF::R_MIPS_GOT_LO16; in GetRelocType()
146 Type = ELF::R_MIPS_CALL_HI16; in GetRelocType()
149 Type = ELF::R_MIPS_CALL_LO16; in GetRelocType()
152 Type = ELF::R_MICROMIPS_26_S1; in GetRelocType()
155 Type = ELF::R_MICROMIPS_HI16; in GetRelocType()
158 Type = ELF::R_MICROMIPS_LO16; in GetRelocType()
161 Type = ELF::R_MICROMIPS_GOT16; in GetRelocType()
164 Type = ELF::R_MICROMIPS_PC16_S1; in GetRelocType()
167 Type = ELF::R_MICROMIPS_CALL16; in GetRelocType()
170 Type = ELF::R_MICROMIPS_GOT_DISP; in GetRelocType()
173 Type = ELF::R_MICROMIPS_GOT_PAGE; in GetRelocType()
176 Type = ELF::R_MICROMIPS_GOT_OFST; in GetRelocType()
179 Type = ELF::R_MICROMIPS_TLS_GD; in GetRelocType()
182 Type = ELF::R_MICROMIPS_TLS_LDM; in GetRelocType()
185 Type = ELF::R_MICROMIPS_TLS_DTPREL_HI16; in GetRelocType()
188 Type = ELF::R_MICROMIPS_TLS_DTPREL_LO16; in GetRelocType()
191 Type = ELF::R_MICROMIPS_TLS_TPREL_HI16; in GetRelocType()
194 Type = ELF::R_MICROMIPS_TLS_TPREL_LO16; in GetRelocType()
197 Type = ELF::R_MIPS_PC19_S2; in GetRelocType()
200 Type = ELF::R_MIPS_PC18_S3; in GetRelocType()
203 Type = ELF::R_MIPS_PC21_S2; in GetRelocType()
206 Type = ELF::R_MIPS_PC26_S2; in GetRelocType()
209 Type = ELF::R_MIPS_PCHI16; in GetRelocType()
212 Type = ELF::R_MIPS_PCLO16; in GetRelocType()
227 case ELF::R_MIPS_GOT16: in needsRelocateWithSymbol()
228 case ELF::R_MIPS16_GOT16: in needsRelocateWithSymbol()
229 case ELF::R_MICROMIPS_GOT16: in needsRelocateWithSymbol()
237 case ELF::R_MIPS_HI16: in needsRelocateWithSymbol()
238 case ELF::R_MIPS16_HI16: in needsRelocateWithSymbol()
239 case ELF::R_MICROMIPS_HI16: in needsRelocateWithSymbol()
240 case ELF::R_MIPS_LO16: in needsRelocateWithSymbol()
241 case ELF::R_MIPS16_LO16: in needsRelocateWithSymbol()
242 case ELF::R_MICROMIPS_LO16: in needsRelocateWithSymbol()
245 case ELF::R_MIPS_26: in needsRelocateWithSymbol()
246 case ELF::R_MIPS_32: in needsRelocateWithSymbol()
247 case ELF::R_MIPS_64: in needsRelocateWithSymbol()
248 case ELF::R_MIPS_GPREL16: in needsRelocateWithSymbol()