Home | History | Annotate | Download | only in MCTargetDesc

Lines Matching refs:ELF

1 //===-- MipsELFObjectWriter.cpp - Mips ELF Writer -------------------------===//
57 : MCELFObjectTargetWriter(_is64Bit, OSABI, ELF::EM_MIPS,
84 unsigned Type = (unsigned)ELF::R_MIPS_NONE;
91 Type = ELF::R_MIPS_32;
94 Type = ELF::R_MIPS_64;
98 Type = setRType((unsigned)ELF::R_MIPS_GPREL32, Type);
99 Type = setRType2((unsigned)ELF::R_MIPS_64, Type);
100 Type = setRType3((unsigned)ELF::R_MIPS_NONE, Type);
103 Type = ELF::R_MIPS_GPREL32;
106 Type = ELF::R_MIPS_GPREL16;
109 Type = ELF::R_MIPS_26;
112 Type = ELF::R_MIPS_CALL16;
116 Type = ELF::R_MIPS_GOT16;
119 Type = ELF::R_MIPS_HI16;
122 Type = ELF::R_MIPS_LO16;
125 Type = ELF::R_MIPS_TLS_GD;
128 Type = ELF::R_MIPS_TLS_GOTTPREL;
131 Type = ELF::R_MIPS_TLS_TPREL_HI16;
134 Type = ELF::R_MIPS_TLS_TPREL_LO16;
137 Type = ELF::R_MIPS_TLS_LDM;
140 Type = ELF::R_MIPS_TLS_DTPREL_HI16;
143 Type = ELF::R_MIPS_TLS_DTPREL_LO16;
147 Type = ELF::R_MIPS_PC16;
150 Type = ELF::R_MIPS_GOT_PAGE;
153 Type = ELF::R_MIPS_GOT_OFST;
156 Type = ELF::R_MIPS_GOT_DISP;
159 Type = setRType((unsigned)ELF::R_MIPS_GPREL16, Type);
160 Type = setRType2((unsigned)ELF::R_MIPS_SUB, Type);
161 Type = setRType3((unsigned)ELF::R_MIPS_HI16, Type);
164 Type = setRType((unsigned)ELF::R_MIPS_GPREL16, Type);
165 Type = setRType2((unsigned)ELF::R_MIPS_SUB, Type);
166 Type = setRType3((unsigned)ELF::R_MIPS_LO16, Type);
169 Type = ELF::R_MIPS_HIGHER;
172 Type = ELF::R_MIPS_HIGHEST;
175 Type = ELF::R_MIPS_GOT_HI16;
178 Type = ELF::R_MIPS_GOT_LO16;
181 Type = ELF::R_MIPS_CALL_HI16;
184 Type = ELF::R_MIPS_CALL_LO16;
197 return ((R.Reloc.Type == ELF::R_MIPS_GOT16) && !SD.isExternal()) ||
198 (R.Reloc.Type == ELF::R_MIPS_HI16);
207 return (I->Reloc.Type == ELF::R_MIPS_LO16) && (Hi->Sym == I->Sym) &&
250 if ((R->Reloc.Type == ELF::R_MIPS_LO16) && HasSameSymbol(*HiPos, *R) &&