Home
last modified time | relevance | path

Searched refs:Elf_Word (Results 1 – 21 of 21) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DELFTypes.h111 using Elf_Word = typename ELFT::Word; \
155 Elf_Word sh_name; // Section name (index into string table)
156 Elf_Word sh_type; // Section type (SHT_*)
157 Elf_Word sh_flags; // Section flags (SHF_*)
160 Elf_Word sh_size; // Size of section, in bytes
161 Elf_Word sh_link; // Section type-specific header table index link
162 Elf_Word sh_info; // Section type-specific extra information
163 Elf_Word sh_addralign; // Section address alignment
164 Elf_Word sh_entsize; // Size of records contained within the section
170 Elf_Word sh_name; // Section name (index into string table)
[all …]
H A DELF.h311 Expected<ArrayRef<Elf_Word>> getSHNDXTable(const Elf_Shdr &Section) const;
312 Expected<ArrayRef<Elf_Word>> getSHNDXTable(const Elf_Shdr &Section,
488 DataRegion<Elf_Word> ShndxTable) const;
491 DataRegion<Elf_Word> ShndxTable) const;
494 DataRegion<Elf_Word> ShndxTable) const;
566 DataRegion<Elf_Word> ShndxTable) const { in getSectionIndex()
583 DataRegion<Elf_Word> ShndxTable) const { in getSection()
593 DataRegion<Elf_Word> ShndxTable) const { in getSection()
804 using Elf_Word = typename ELFT::Word; in getDynSymtabSizeFromGnuHash() local
809 for (Elf_Word Val : Table.buckets()) in getDynSymtabSizeFromGnuHash()
[all …]
H A DELFObjectFile.h648 ArrayRef<Elf_Word> ShndxTable; in getSymbolAddress()
651 if (Expected<ArrayRef<Elf_Word>> ShndxTableOrErr = in getSymbolAddress()
859 ArrayRef<Elf_Word> ShndxTable; in getSymbolSection()
862 Expected<ArrayRef<Elf_Word>> ShndxTableOrErr = in getSymbolSection()
/freebsd/libexec/rtld-elf/
H A Drtld.h108 Elf_Word hash;
157 Elf_Word stack_flags;
185 Elf_Word verneednum; /* Number of entries in verneed table */
187 Elf_Word verdefnum; /* Number of entries in verdef table */
H A Dmap_object.c92 Elf_Word stack_flags; in map_object()
/freebsd/libexec/rtld-elf/powerpc/
H A Dreloc.c372 Elf_Word *where = (Elf_Word *)(obj->relocbase + rela->r_offset); in reloc_plt_object()
539 assert(wherep >= (Elf_Word *)obj->pltgot); in reloc_jmpslot()
541 (Elf_Word *)obj->pltgot + obj->pltrelasize); in reloc_jmpslot()
699 Elf_Word *pltcall, *pltresolve, *pltlongresolve; in init_pltgot()
700 Elf_Word *jmptab; in init_pltgot()
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DELFDumper.cpp306 DataRegion<Elf_Word> ShndxTable,
394 DenseMap<const Elf_Shdr *, ArrayRef<Elf_Word>> ShndxTables;
403 DataRegion<Elf_Word> ShndxTable,
408 DataRegion<Elf_Word> ShndxTable) const;
421 ArrayRef<Elf_Word> getShndxTable(const Elf_Shdr *Symtab) const;
562 DataRegion<Elf_Word> ShndxTable = in printSymbolsHelper()
563 IsDynamic ? DataRegion<Elf_Word>( in printSymbolsHelper()
564 (const Elf_Word *)this->DynSymTabShndxRegion.Addr, in printSymbolsHelper()
566 : DataRegion<Elf_Word>(this->getShndxTable(SymtabSec)); in printSymbolsHelper()
669 DataRegion<Elf_Word> ShndxTable, StringRef StrTable,
[all …]
H A DARMEHABIPrinter.h327 typedef typename ET::Word Elf_Word; typedef
333 ArrayRef<Elf_Word> ShndxTable;
/freebsd/stand/common/
H A Dself_reloc.c68 Elf_Word relsz, relent; in self_reloc()
/freebsd/sys/sys/
H A Dimgact_elf.h68 Elf_Word hdr_eflags; /* e_flags field from ehdr */
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/
H A DELFObject.cpp104 Sec.Align = ELFT::Is64Bits ? sizeof(Elf_Xword) : sizeof(Elf_Word); in visit()
129 Sec.Align = ELFT::Is64Bits ? sizeof(Elf_Xword) : sizeof(Elf_Word); in visit()
140 Sec.Size = sizeof(Elf_Word) + Sec.GroupMembers.size() * sizeof(Elf_Word); in visit()
617 llvm::copy(Sec.Indexes, reinterpret_cast<Elf_Word *>(Buf)); in visit()
1182 Elf_Word *CRC = in visit()
1183 reinterpret_cast<Elf_Word *>(Buf + Sec.Size - sizeof(Elf_Word)); in visit()
1573 ArrayRef<Elf_Word> ShndxData; in initSymbolTable()
1599 Expected<ArrayRef<Elf_Word>> Data = in initSymbolTable()
1600 ElfFile.template getSectionContentsAsArray<Elf_Word>(**ShndxSec); in initSymbolTable()
1611 Elf_Word Index = ShndxData[&Sym - Symbols->begin()]; in initSymbolTable()
H A DELFObject.h131 using Elf_Word = typename ELFT::Word;
154 using Elf_Word = typename ELFT::Word; variable
1092 using Elf_Word = typename ELFT::Word; variable
/freebsd/contrib/llvm-project/lld/ELF/
H A DInputFiles.cpp562 ArrayRef<Elf_Word> entries = in parse()
563 CHECK2(obj.template getSectionContentsAsArray<Elf_Word>(sec), this); in parse()
567 Elf_Word flag = entries[0]; in parse()
747 SmallVector<ArrayRef<Elf_Word>, 0> selectedGroups; in initializeSections()
785 ArrayRef<Elf_Word> entries = in initializeSections()
786 cantFail(obj.template getSectionContentsAsArray<Elf_Word>(sec)); in initializeSections()
916 for (ArrayRef<Elf_Word> entries : selectedGroups) in initializeSections()
H A DInputFiles.h321 ArrayRef<Elf_Word> shndxTable;
/freebsd/sys/i386/i386/
H A Delf_machdep.c179 Elf_Word rtype, symidx; in elf_reloc_internal()
/freebsd/sys/arm/arm/
H A Delf_machdep.c192 Elf_Word rtype, symidx; in elf_reloc_internal()
/freebsd/sys/arm64/arm64/
H A Delf_machdep.c202 Elf_Word rtype, symidx; in elf_reloc_internal()
/freebsd/sys/powerpc/powerpc/
H A Delf32_machdep.c243 Elf_Word rtype, symidx; in elf_reloc_internal()
H A Delf64_machdep.c332 Elf_Word rtype, symidx; in elf_reloc_internal()
/freebsd/sys/kern/
H A Dimgact_elf.c109 static vm_prot_t __elfN(trans_prot)(Elf_Word);
110 static Elf_Word __elfN(untrans_prot)(vm_prot_t);
2995 __elfN(trans_prot)(Elf_Word flags)
3013 static Elf_Word
3016 Elf_Word flags; in __elfN()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DELFLinkGraphBuilder.h187 ArrayRef<typename ELFFile::Elf_Word>>