Searched refs:rels (Results 1 - 22 of 22) sorted by path

/freebsd-11-stable/contrib/binutils/bfd/
H A Delf-bfd.h503 Elf_Internal_Rela *rels, *rel, *relend;
501 Elf_Internal_Rela *rels, *rel, *relend; member in struct:elf_reloc_cookie
H A Delf32-score.c3563 cookie->rels = _bfd_elf_link_read_relocs (abfd, o, NULL, NULL, info->keep_memory);
3564 if (!cookie->rels)
3570 cookie->rel = cookie->rels;
3571 cookie->relend = cookie->rels + o->reloc_count;
3592 free (cookie->rels);
H A Delflink.c11206 rcookie->rel = rcookie->rels;
11349 cookie.rels = NULL;
11352 cookie.rels = _bfd_elf_link_read_relocs (abfd, stab, NULL, NULL,
11354 if (cookie.rels != NULL)
11356 cookie.rel = cookie.rels;
11357 cookie.relend = cookie.rels;
11364 if (elf_section_data (stab)->relocs != cookie.rels)
11365 free (cookie.rels);
11371 cookie.rels = NULL;
11374 cookie.rels
[all...]
H A Delfxx-mips.c9793 cookie->rels = _bfd_elf_link_read_relocs (abfd, o, NULL, NULL,
9795 if (!cookie->rels)
9801 cookie->rel = cookie->rels;
9802 cookie->relend = cookie->rels + o->reloc_count;
9823 free (cookie->rels);
/freebsd-11-stable/contrib/binutils/binutils/
H A Dreadelf.c770 Elf_Internal_Rela *rels;
784 rels = cmalloc (nrels, sizeof (Elf_Internal_Rela));
786 if (rels == NULL)
795 rels[i].r_offset = BYTE_GET (erels[i].r_offset);
796 rels[i].r_info = BYTE_GET (erels[i].r_info);
797 rels[i].r_addend = 0;
812 rels = cmalloc (nrels, sizeof (Elf_Internal_Rela));
814 if (rels == NULL)
823 rels[i].r_offset = BYTE_GET (erels[i].r_offset);
824 rels[
767 Elf_Internal_Rela *rels; local
846 Elf_Internal_Rela *rels; local
[all...]
/freebsd-11-stable/contrib/llvm-project/lld/COFF/
H A DWriter.cpp1693 std::vector<RuntimePseudoReloc> rels; local
1699 sc->getRuntimePseudoRelocs(rels);
1702 if (!rels.empty())
1703 log("Writing " + Twine(rels.size()) + " runtime pseudo relocations");
1704 PseudoRelocTableChunk *table = make<PseudoRelocTableChunk>(rels);
/freebsd-11-stable/contrib/llvm-project/lld/ELF/
H A DDWARF.cpp84 ArrayRef<RelTy> rels) const {
86 partition_point(rels, [=](const RelTy &a) { return a.r_offset < pos; });
87 if (it == rels.end() || it->r_offset != pos)
124 return findAux(*sec.sec, pos, sec.sec->template rels<ELFT>());
H A DDWARF.h79 ArrayRef<RelTy> rels) const;
H A DDriver.cpp1551 sym = &s->getFile<ELFT>()->getRelocTargetSym(s->template rels<ELFT>()[0]);
H A DICF.cpp323 return constantEq(a, a->template rels<ELFT>(), b, b->template rels<ELFT>());
371 return variableEq(a, a->template rels<ELFT>(), b, b->template rels<ELFT>());
436 ArrayRef<RelTy> rels) {
438 for (RelTy rel : rels) {
478 combineRelocHashes<ELFT>(cnt, s, s->template rels<ELFT>());
435 combineRelocHashes(unsigned cnt, InputSection *isec, ArrayRef<RelTy> rels) argument
H A DInputFiles.cpp916 ArrayRef<Elf_Rela> rels = CHECK(getObj().relas(&sec), this); local
917 target->firstRelocation = rels.begin();
918 target->numRelocations = rels.size();
921 ArrayRef<Elf_Rel> rels = CHECK(getObj().rels(&sec), this); local
922 target->firstRelocation = rels.begin();
923 target->numRelocations = rels.size();
H A DInputSection.cpp409 void InputSection::copyRelocations(uint8_t *buf, ArrayRef<RelTy> rels) { argument
412 for (const RelTy &rel : rels) {
841 void InputSection::relocateNonAlloc(uint8_t *buf, ArrayRef<RelTy> rels) { argument
844 for (const RelTy &rel : rels) {
927 sec->relocateNonAlloc<ELFT>(buf, sec->template rels<ELFT>());
1187 static unsigned getReloc(IntTy begin, IntTy size, const ArrayRef<RelTy> &rels, argument
1191 for (unsigned n = rels.size(); relocI < n; ++relocI) {
1192 const RelTy &rel = rels[relocI];
1209 split<ELFT>(rels<ELFT>());
1213 void EhInputSection::split(ArrayRef<RelTy> rels) { argument
[all...]
H A DInputSection.h149 template <class ELFT> ArrayRef<typename ELFT::Rel> rels() const { function in class:lld::elf::InputSectionBase
303 template <class ELFT, class RelTy> void split(ArrayRef<RelTy> rels);
343 void relocateNonAlloc(uint8_t *buf, llvm::ArrayRef<RelTy> rels);
355 void copyRelocations(uint8_t *buf, llvm::ArrayRef<RelTy> rels);
H A DMarkLive.cpp62 void scanEhFrameSection(EhInputSection &eh, ArrayRef<RelTy> rels);
137 ArrayRef<RelTy> rels) {
147 resolveReloc(eh, rels[firstRelI], false);
155 for (size_t j = firstRelI, end2 = rels.size(); j < end2; ++j)
156 if (rels[j].r_offset < pieceEnd)
157 resolveReloc(eh, rels[j], true);
255 scanEhFrameSection(*eh, eh->template rels<ELFT>());
281 for (const typename ELFT::Rel &rel : sec.template rels<ELFT>())
136 scanEhFrameSection(EhInputSection &eh, ArrayRef<RelTy> rels) argument
H A DRelocations.cpp1463 static void scanRelocs(InputSectionBase &sec, ArrayRef<RelTy> rels) { argument
1467 sec.relocations.reserve(rels.size());
1469 for (auto i = rels.begin(), end = rels.end(); i != end;)
1486 scanRelocs<ELFT>(s, s.rels<ELFT>());
H A DSyntheticSections.cpp352 CieRecord *EhFrameSection::addCie(EhSectionPiece &cie, ArrayRef<RelTy> rels) { argument
357 &cie.sec->template getFile<ELFT>()->getRelocTargetSym(rels[firstRelI]);
374 bool EhFrameSection::isFdeLive(EhSectionPiece &fde, ArrayRef<RelTy> rels) { argument
386 const RelTy &rel = rels[firstRelI];
402 void EhFrameSection::addRecords(EhInputSection *sec, ArrayRef<RelTy> rels) { argument
412 offsetToCie[offset] = addCie<ELFT>(piece, rels);
421 if (!isFdeLive<ELFT>(piece, rels))
435 addRecords<ELFT>(sec, sec->template rels<ELFT>());
H A DSyntheticSections.h100 void addRecords(EhInputSection *s, llvm::ArrayRef<RelTy> rels);
105 CieRecord *addCie(EhSectionPiece &piece, ArrayRef<RelTy> rels);
108 bool isFdeLive(EhSectionPiece &piece, ArrayRef<RelTy> rels);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Object/
H A DELF.h180 Expected<Elf_Rel_Range> rels(const Elf_Shdr *Sec) const { function in class:llvm::object::ELFFile
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/ELF/
H A DObject.cpp1604 unwrapOrError(ElfFile.rels(Shdr)));
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DARMEHABIPrinter.h411 for (const Elf_Rel &R : unwrapOrError(FileName, ELF->rels(&Sec))) {
H A DELFDumper.cpp2833 Elf_Rel_Range Rels = unwrapOrError(FileName, Obj->rels(PltRelSec));
3322 for (const auto &R : unwrapOrError(this->FileName, Obj->rels(&Sec))) {
5564 for (const Elf_Rel &R : unwrapOrError(this->FileName, Obj->rels(Sec))) {
/freebsd-11-stable/sys/dev/cxgbe/
H A Dt4_sge.c543 uint64_t refs, rels; local
545 rels = counter_u64_fetch(extfree_rels);
548 return (refs - rels);

Completed in 304 milliseconds