Lines Matching full:elf
1 //===-- SparcELFObjectWriter.cpp - Sparc ELF Writer -----------------------===//
26 Is64Bit ? ELF::EM_SPARCV9 : ELF::EM_SPARC, in SparcELFObjectWriter()
48 return ELF::R_SPARC_DISP32; in getRelocType()
55 case FK_Data_1: return ELF::R_SPARC_DISP8; in getRelocType()
56 case FK_Data_2: return ELF::R_SPARC_DISP16; in getRelocType()
57 case FK_Data_4: return ELF::R_SPARC_DISP32; in getRelocType()
58 case FK_Data_8: return ELF::R_SPARC_DISP64; in getRelocType()
59 case Sparc::fixup_sparc_call30: return ELF::R_SPARC_WDISP30; in getRelocType()
60 case Sparc::fixup_sparc_br22: return ELF::R_SPARC_WDISP22; in getRelocType()
61 case Sparc::fixup_sparc_br19: return ELF::R_SPARC_WDISP19; in getRelocType()
62 case Sparc::fixup_sparc_pc22: return ELF::R_SPARC_PC22; in getRelocType()
63 case Sparc::fixup_sparc_pc10: return ELF::R_SPARC_PC10; in getRelocType()
64 case Sparc::fixup_sparc_wplt30: return ELF::R_SPARC_WPLT30; in getRelocType()
71 case FK_Data_1: return ELF::R_SPARC_8; in getRelocType()
73 ? ELF::R_SPARC_UA16 in getRelocType()
74 : ELF::R_SPARC_16); in getRelocType()
76 ? ELF::R_SPARC_UA32 in getRelocType()
77 : ELF::R_SPARC_32); in getRelocType()
79 ? ELF::R_SPARC_UA64 in getRelocType()
80 : ELF::R_SPARC_64); in getRelocType()
81 case Sparc::fixup_sparc_hi22: return ELF::R_SPARC_HI22; in getRelocType()
82 case Sparc::fixup_sparc_lo10: return ELF::R_SPARC_LO10; in getRelocType()
83 case Sparc::fixup_sparc_h44: return ELF::R_SPARC_H44; in getRelocType()
84 case Sparc::fixup_sparc_m44: return ELF::R_SPARC_M44; in getRelocType()
85 case Sparc::fixup_sparc_l44: return ELF::R_SPARC_L44; in getRelocType()
86 case Sparc::fixup_sparc_hh: return ELF::R_SPARC_HH22; in getRelocType()
87 case Sparc::fixup_sparc_hm: return ELF::R_SPARC_HM10; in getRelocType()
88 case Sparc::fixup_sparc_got22: return ELF::R_SPARC_GOT22; in getRelocType()
89 case Sparc::fixup_sparc_got10: return ELF::R_SPARC_GOT10; in getRelocType()
90 case Sparc::fixup_sparc_tls_gd_hi22: return ELF::R_SPARC_TLS_GD_HI22; in getRelocType()
91 case Sparc::fixup_sparc_tls_gd_lo10: return ELF::R_SPARC_TLS_GD_LO10; in getRelocType()
92 case Sparc::fixup_sparc_tls_gd_add: return ELF::R_SPARC_TLS_GD_ADD; in getRelocType()
93 case Sparc::fixup_sparc_tls_gd_call: return ELF::R_SPARC_TLS_GD_CALL; in getRelocType()
94 case Sparc::fixup_sparc_tls_ldm_hi22: return ELF::R_SPARC_TLS_LDM_HI22; in getRelocType()
95 case Sparc::fixup_sparc_tls_ldm_lo10: return ELF::R_SPARC_TLS_LDM_LO10; in getRelocType()
96 case Sparc::fixup_sparc_tls_ldm_add: return ELF::R_SPARC_TLS_LDM_ADD; in getRelocType()
97 case Sparc::fixup_sparc_tls_ldm_call: return ELF::R_SPARC_TLS_LDM_CALL; in getRelocType()
98 case Sparc::fixup_sparc_tls_ldo_hix22: return ELF::R_SPARC_TLS_LDO_HIX22; in getRelocType()
99 case Sparc::fixup_sparc_tls_ldo_lox10: return ELF::R_SPARC_TLS_LDO_LOX10; in getRelocType()
100 case Sparc::fixup_sparc_tls_ldo_add: return ELF::R_SPARC_TLS_LDO_ADD; in getRelocType()
101 case Sparc::fixup_sparc_tls_ie_hi22: return ELF::R_SPARC_TLS_IE_HI22; in getRelocType()
102 case Sparc::fixup_sparc_tls_ie_lo10: return ELF::R_SPARC_TLS_IE_LO10; in getRelocType()
103 case Sparc::fixup_sparc_tls_ie_ld: return ELF::R_SPARC_TLS_IE_LD; in getRelocType()
104 case Sparc::fixup_sparc_tls_ie_ldx: return ELF::R_SPARC_TLS_IE_LDX; in getRelocType()
105 case Sparc::fixup_sparc_tls_ie_add: return ELF::R_SPARC_TLS_IE_ADD; in getRelocType()
106 case Sparc::fixup_sparc_tls_le_hix22: return ELF::R_SPARC_TLS_LE_HIX22; in getRelocType()
107 case Sparc::fixup_sparc_tls_le_lox10: return ELF::R_SPARC_TLS_LE_LOX10; in getRelocType()
110 return ELF::R_SPARC_NONE; in getRelocType()
123 case ELF::R_SPARC_GOT10: in needsRelocateWithSymbol()
124 case ELF::R_SPARC_GOT13: in needsRelocateWithSymbol()
125 case ELF::R_SPARC_GOT22: in needsRelocateWithSymbol()
126 case ELF::R_SPARC_GOTDATA_HIX22: in needsRelocateWithSymbol()
127 case ELF::R_SPARC_GOTDATA_LOX10: in needsRelocateWithSymbol()
128 case ELF::R_SPARC_GOTDATA_OP_HIX22: in needsRelocateWithSymbol()
129 case ELF::R_SPARC_GOTDATA_OP_LOX10: in needsRelocateWithSymbol()