Lines Matching refs:ELF
1 //===-- MipsELFObjectWriter.cpp - Mips ELF Writer -------------------------===//
56 : MCELFObjectTargetWriter(_is64Bit, OSABI, ELF::EM_MIPS,
65 unsigned Flag = ELF::EF_MIPS_NOREORDER;
68 Flag |= ELF::EF_MIPS_ARCH_64R2;
70 Flag |= ELF::EF_MIPS_ARCH_32R2;
95 unsigned Type = (unsigned)ELF::R_MIPS_NONE;
102 Type = ELF::R_MIPS_32;
105 Type = ELF::R_MIPS_GPREL32;
108 Type = ELF::R_MIPS_GPREL16;
111 Type = ELF::R_MIPS_26;
114 Type = ELF::R_MIPS_CALL16;
118 Type = ELF::R_MIPS_GOT16;
121 Type = ELF::R_MIPS_HI16;
124 Type = ELF::R_MIPS_LO16;
127 Type = ELF::R_MIPS_TLS_GD;
130 Type = ELF::R_MIPS_TLS_GOTTPREL;
133 Type = ELF::R_MIPS_TLS_TPREL_HI16;
136 Type = ELF::R_MIPS_TLS_TPREL_LO16;
139 Type = ELF::R_MIPS_TLS_LDM;
142 Type = ELF::R_MIPS_TLS_DTPREL_HI16;
145 Type = ELF::R_MIPS_TLS_DTPREL_LO16;
149 Type = ELF::R_MIPS_PC16;
163 return ((R.Reloc.Type == ELF::R_MIPS_GOT16) && !SD.isExternal()) ||
164 (R.Reloc.Type == ELF::R_MIPS_HI16);
173 return (I->Reloc.Type == ELF::R_MIPS_LO16) && (Hi->Sym == I->Sym) &&
216 if ((R->Reloc.Type == ELF::R_MIPS_LO16) && HasSameSymbol(*HiPos, *R) &&