Home
last modified time | relevance | path

Searched refs:Rela (Results 1 – 25 of 27) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DELF_riscv.cpp219 for (const auto &Rela : *Relocations) { in addRelocations()
220 auto Type = Rela.getType(false); in addRelocations()
227 auto SymbolIndex = Rela.getSymbol(false); in addRelocations()
228 auto Symbol = Base::Obj.getRelocationSymbol(Rela, Base::SymTabSec); in addRelocations()
244 int64_t Addend = Rela.r_addend; in addRelocations()
246 (*UpdateSection)->sh_addr + Rela.r_offset; in addRelocations()
H A DELF_x86_64.cpp310 for (const auto &Rela : *Relocations) { in addRelocations()
311 auto Type = Rela.getType(false); in addRelocations()
317 auto SymbolIndex = Rela.getSymbol(false); in addRelocations()
318 auto Symbol = Obj.getRelocationSymbol(Rela, SymTabSec); in addRelocations()
334 uint64_t Addend = Rela.r_addend; in addRelocations()
336 (*UpdateSection)->sh_addr + Rela.r_offset; in addRelocations()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_dynamic_shadow.cpp86 extern __attribute((weak, visibility("hidden"))) ElfW(Rela) __rela_iplt_start[],
98 for (ElfW(Rela) *r = __rela_iplt_start; r != __rela_iplt_end; ++r) { in InitShadowGOT()
/freebsd-13.1/sys/sys/
H A Delf_generic.h73 __ElfType(Rela);
/freebsd-13.1/contrib/llvm-project/lld/ELF/
H A DMarkLive.cpp85 const typename ELFT::Rela &rel) { in getAddend()
292 for (const typename ELFT::Rela &rel : sec.template relas<ELFT>()) in mark()
H A DInputSection.h180 template <class ELFT> ArrayRef<typename ELFT::Rela> relas() const { in relas()
183 static_cast<const typename ELFT::Rela *>(firstRelocation), in relas()
H A DRelocations.h196 static inline int64_t getAddend(const typename ELFT::Rela &rel) { in getAddend()
H A DSyntheticSections.h562 using Elf_Rela = typename ELFT::Rela;
575 using Elf_Rela = typename ELFT::Rela;
H A DInputSection.cpp418 auto *p = reinterpret_cast<typename ELFT::Rela *>(buf); in copyRelocations()
1248 copyRelocations<ELFT>(buf + outSecOff, getDataAs<typename ELFT::Rela>()); in writeTo()
H A DDriver.cpp881 ArrayRef<typename ELFT::Rela> relas = in processCallGraphRelocations()
883 for (const typename ELFT::Rela &rel : relas) in processCallGraphRelocations()
/freebsd-13.1/contrib/elftoolchain/libelf/
H A Dlibelf_align.c75 [ELF_T_RELA] = MALIGN(Rela),
H A Delf_types.m452 `RELA, Rela',
/freebsd-13.1/sys/cddl/compat/opensolaris/sys/
H A Delf.h42 __sElfN(Rela);
/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/
H A DELFObjectWriter.cpp789 bool Rela = usesRela(Sec); in createRelocationSection() local
790 std::string RelaSectionName = Rela ? ".rela" : ".rel"; in createRelocationSection()
794 if (Rela) in createRelocationSection()
804 RelaSectionName, Rela ? ELF::SHT_RELA : ELF::SHT_REL, Flags, EntrySize, in createRelocationSection()
930 const bool Rela = usesRela(Sec); in writeRelocations() local
949 if (Rela) in writeRelocations()
958 if (Rela) in writeRelocations()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DDynamicTags.def46 DYNAMIC_TAG(RELA, 7) // Address of relocation table (Rela entries).
47 DYNAMIC_TAG(RELASZ, 8) // Size of Rela relocation table.
48 DYNAMIC_TAG(RELAENT, 9) // Size of a Rela relocation entry.
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Object/
H A DELFTypes.h65 using Rela = Elf_Rel_Impl<ELFType<E, Is64>, true>; member
84 using RelaRange = ArrayRef<Rela>;
121 using Elf_Rela = typename ELFT::Rela; \
H A DELFObjectFile.h400 const Elf_Rela *getRela(DataRefImpl Rela) const;
1064 ELFObjectFile<ELFT>::getRela(DataRefImpl Rela) const { in getRela() argument
1065 assert(getRelSection(Rela)->sh_type == ELF::SHT_RELA); in getRela()
1066 auto Ret = EF.template getEntry<Elf_Rela>(Rela.d.a, Rela.d.b); in getRela()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DELFDump.cpp74 const typename ELFT::Rela *ERela = Obj->getRela(Rel); in getRelocationValueString()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Object/
H A DELF.cpp376 Expected<std::vector<typename ELFT::Rela>>
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/ELF/
H A DObject.h133 using Elf_Rela = typename ELFT::Rela;
152 using Elf_Rela = typename ELFT::Rela;
H A DObject.cpp965 static void setAddend(Elf_Rel_Impl<ELFT, true> &Rela, uint64_t Addend) { in setAddend() argument
966 Rela.r_addend = Addend; in setAddend()
1623 static void getAddend(uint64_t &ToSet, const Elf_Rel_Impl<ELFT, true> &Rela) { in getAddend() argument
1624 ToSet = Rela.r_addend; in getAddend()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DARMEHABIPrinter.h419 typename ET::Rela RelA; in FindExceptionTable()
H A DELFDumper.cpp190 Relocation(const typename ELFT::Rela &R, bool IsMips64EL) in Relocation()
3505 Expected<std::vector<typename ELFT::Rela>> RelasOrErr = in printRelocations()
4390 for (const Elf_Rela &Rela : in printDynamicRelocationsHelper()
4392 printDynamicReloc(Relocation<ELFT>(Rela, IsMips64EL)); in printDynamicRelocationsHelper()
4413 for (const Elf_Rela &Rela : in printDynamicRelocationsHelper()
4415 printDynamicReloc(Relocation<ELFT>(Rela, IsMips64EL)); in printDynamicRelocationsHelper()
6759 for (const typename ELFT::Rela &Rela : CGProfileRela) in getSymbolIndices() local
6760 SymbolIndices.push_back(Rela.getSymbol(Obj.isMips64EL())); in getSymbolIndices()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DELFYAML.h90 return sizeof(typename ELFT::Rela); in LLVM_YAML_STRONG_TYPEDEF()
/freebsd-13.1/contrib/llvm-project/lld/ELF/Arch/
H A DPPC64.cpp294 ArrayRef<typename ELFT::Rela> relas = tocSec->template relas<ELFT>(); in getRelaTocSymAndAddend()

12