Lines Matching full:elf
1 //===-- RISCVELFObjectWriter.cpp - RISC-V ELF Writer ----------------------===//
44 : MCELFObjectTargetWriter(Is64Bit, OSABI, ELF::EM_RISCV, in RISCVELFObjectWriter()
62 return ELF::R_RISCV_NONE; in getRelocType()
66 ? ELF::R_RISCV_PLT32 in getRelocType()
67 : ELF::R_RISCV_32_PCREL; in getRelocType()
69 return ELF::R_RISCV_PCREL_HI20; in getRelocType()
71 return ELF::R_RISCV_PCREL_LO12_I; in getRelocType()
73 return ELF::R_RISCV_PCREL_LO12_S; in getRelocType()
75 return ELF::R_RISCV_GOT_HI20; in getRelocType()
77 return ELF::R_RISCV_TLS_GOT_HI20; in getRelocType()
79 return ELF::R_RISCV_TLS_GD_HI20; in getRelocType()
81 return ELF::R_RISCV_TLSDESC_HI20; in getRelocType()
83 return ELF::R_RISCV_TLSDESC_LOAD_LO12; in getRelocType()
85 return ELF::R_RISCV_TLSDESC_ADD_LO12; in getRelocType()
87 return ELF::R_RISCV_TLSDESC_CALL; in getRelocType()
89 return ELF::R_RISCV_JAL; in getRelocType()
91 return ELF::R_RISCV_BRANCH; in getRelocType()
93 return ELF::R_RISCV_RVC_JUMP; in getRelocType()
95 return ELF::R_RISCV_RVC_BRANCH; in getRelocType()
97 return ELF::R_RISCV_CALL_PLT; in getRelocType()
99 return ELF::R_RISCV_CALL_PLT; in getRelocType()
106 return ELF::R_RISCV_NONE; in getRelocType()
108 return ELF::R_RISCV_TLSDESC_LOAD_LO12; in getRelocType()
110 return ELF::R_RISCV_TLSDESC_ADD_LO12; in getRelocType()
112 return ELF::R_RISCV_TLSDESC_CALL; in getRelocType()
116 return ELF::R_RISCV_NONE; in getRelocType()
119 return ELF::R_RISCV_NONE; in getRelocType()
123 return ELF::R_RISCV_32_PCREL; in getRelocType()
125 return ELF::R_RISCV_GOT32_PCREL; in getRelocType()
126 return ELF::R_RISCV_32; in getRelocType()
128 return ELF::R_RISCV_64; in getRelocType()
130 return ELF::R_RISCV_HI20; in getRelocType()
132 return ELF::R_RISCV_LO12_I; in getRelocType()
134 return ELF::R_RISCV_LO12_S; in getRelocType()
136 return ELF::R_RISCV_TPREL_HI20; in getRelocType()
138 return ELF::R_RISCV_TPREL_LO12_I; in getRelocType()
140 return ELF::R_RISCV_TPREL_LO12_S; in getRelocType()
142 return ELF::R_RISCV_TPREL_ADD; in getRelocType()
144 return ELF::R_RISCV_RELAX; in getRelocType()
146 return ELF::R_RISCV_ALIGN; in getRelocType()