Searched refs:rel_hdr (Results 1 - 20 of 20) sorted by relevance

/freebsd-11-stable/contrib/binutils/bfd/
H A Delf64-sparc.c55 Elf_Internal_Shdr *rel_hdr,
66 allocated = (PTR) bfd_malloc (rel_hdr->sh_size);
70 if (bfd_seek (abfd, rel_hdr->sh_offset, SEEK_SET) != 0
71 || bfd_bread (allocated, rel_hdr->sh_size, abfd) != rel_hdr->sh_size)
78 entsize = rel_hdr->sh_entsize;
81 count = rel_hdr->sh_size / entsize;
152 Elf_Internal_Shdr *rel_hdr; local
165 rel_hdr = &d->rel_hdr;
54 elf64_sparc_slurp_one_reloc_table(bfd *abfd, asection *asect, Elf_Internal_Shdr *rel_hdr, asymbol **symbols, bfd_boolean dynamic) argument
[all...]
H A Delf64-mips.c2417 Elf_Internal_Shdr *rel_hdr,
2429 allocated = bfd_malloc (rel_hdr->sh_size);
2433 if (bfd_seek (abfd, rel_hdr->sh_offset, SEEK_SET) != 0
2434 || (bfd_bread (allocated, rel_hdr->sh_size, abfd)
2435 != rel_hdr->sh_size))
2440 entsize = rel_hdr->sh_entsize;
2590 Elf_Internal_Shdr *rel_hdr;
2606 rel_hdr = &d->rel_hdr;
2607 reloc_count = NUM_SHDR_ENTRIES (rel_hdr);
2411 mips_elf64_slurp_one_reloc_table(bfd *abfd, asection *asect, Elf_Internal_Shdr *rel_hdr, bfd_size_type reloc_count, arelent *relents, asymbol **symbols, bfd_boolean dynamic) argument
2585 Elf_Internal_Shdr *rel_hdr; local
2660 Elf_Internal_Shdr *rel_hdr; local
2719 mips_elf64_write_rel(bfd *abfd, asection *sec, Elf_Internal_Shdr *rel_hdr, int *count, void *data) argument
[all...]
H A Delfcode.h953 rela_hdr = &elf_section_data (sec)->rel_hdr;
1353 Elf_Internal_Shdr *rel_hdr,
1367 allocated = bfd_malloc (rel_hdr->sh_size);
1371 if (bfd_seek (abfd, rel_hdr->sh_offset, SEEK_SET) != 0
1372 || (bfd_bread (allocated, rel_hdr->sh_size, abfd)
1373 != rel_hdr->sh_size))
1378 entsize = rel_hdr->sh_entsize;
1455 Elf_Internal_Shdr *rel_hdr;
1471 rel_hdr = &d->rel_hdr;
1348 elf_slurp_reloc_table_from_section(bfd *abfd, asection *asect, Elf_Internal_Shdr *rel_hdr, bfd_size_type reloc_count, arelent *relents, asymbol **symbols, bfd_boolean dynamic) argument
1452 Elf_Internal_Shdr *rel_hdr; local
[all...]
H A Delflink.c2152 Elf_Internal_Shdr *rel_hdr;
2163 rel_hdr = &elf_section_data (o)->rel_hdr;
2181 bfd_size_type size = rel_hdr->sh_size;
2191 if (!elf_link_read_relocs_from_section (abfd, o, rel_hdr,
2199 ((bfd_byte *) external_relocs) + rel_hdr->sh_size,
2200 internal_relocs + (NUM_SHDR_ENTRIES (rel_hdr)
2229 Elf_Internal_Shdr *rel_hdr,
2236 if (rel_hdr == &elf_section_data (o)->rel_hdr)
2146 Elf_Internal_Shdr *rel_hdr; local
2222 _bfd_elf_link_size_reloc_section(bfd *abfd, Elf_Internal_Shdr *rel_hdr, asection *o) argument
7227 elf_link_adjust_relocs(bfd *abfd, Elf_Internal_Shdr *rel_hdr, unsigned int count, struct elf_link_hash_entry **rel_hash) argument
9024 Elf_Internal_Shdr *rel_hdr; local
[all...]
H A Delf.c2129 hdr2 = &elf_section_data (target_sect)->rel_hdr;
2732 Elf_Internal_Shdr *rel_hdr,
2744 rel_hdr->sh_name =
2747 if (rel_hdr->sh_name == (unsigned int) -1)
2749 rel_hdr->sh_type = use_rela_p ? SHT_RELA : SHT_REL;
2750 rel_hdr->sh_entsize = (use_rela_p
2753 rel_hdr->sh_addralign = 1 << bed->s->log_file_align;
2754 rel_hdr->sh_flags = 0;
2755 rel_hdr->sh_addr = 0;
2756 rel_hdr
2726 _bfd_elf_init_reloc_shdr(bfd *abfd, Elf_Internal_Shdr *rel_hdr, asection *asect, bfd_boolean use_rela_p) argument
[all...]
H A Delf32-spu.c2844 Elf_Internal_Shdr *rel_hdr; local
2858 rel_hdr = &elf_section_data (input_section)->rel_hdr;
2859 rel_hdr->sh_size = input_section->reloc_count * rel_hdr->sh_entsize;
H A Delf64-ppc.c4955 elf_section_data (sec)->rel_hdr.sh_name));
6781 elf_section_data (sec)->rel_hdr.sh_size
6782 = sec->reloc_count * elf_section_data (sec)->rel_hdr.sh_entsize;
7620 sz = elf_section_data (toc)->rel_hdr.sh_entsize;
7621 elf_section_data (toc)->rel_hdr.sh_size = toc->reloc_count * sz;
8469 elfsec_data->rel_hdr.sh_size = relsize;
8470 elfsec_data->rel_hdr.sh_entsize = 24;
8567 elfsec_data->rel_hdr.sh_size = relsize;
8568 elfsec_data->rel_hdr.sh_entsize = 24;
11803 &elf_section_data (htab->brlt)->rel_hdr,
[all...]
H A Delfxx-mips.c605 ((NUM_SHDR_ENTRIES (&elf_section_data (sec)->rel_hdr) \
608 == (elf_section_data (sec)->rel_hdr.sh_entsize \
7834 Elf_Internal_Shdr *rel_hdr;
7842 rel_hdr = &elf_section_data (input_section)->rel_hdr;
7844 >= (NUM_SHDR_ENTRIES (rel_hdr) * bed->s->int_rels_per_ext_rel))
7845 rel_hdr = elf_section_data (input_section)->rel_hdr2;
7846 if (rel_hdr->sh_entsize == MIPS_ELF_REL_SIZE (input_bfd))
7802 Elf_Internal_Shdr *rel_hdr; local
H A Delf-bfd.h1167 Elf_Internal_Shdr rel_hdr;
1165 Elf_Internal_Shdr rel_hdr; member in struct:bfd_elf_section_data
H A Delfxx-sparc.c1100 num_relocs = NUM_SHDR_ENTRIES (& elf_section_data (sec)->rel_hdr);
1437 elf_section_data (sec)->rel_hdr.sh_name));
2499 num_relocs = NUM_SHDR_ENTRIES (& elf_section_data (input_section)->rel_hdr);
H A Delf64-alpha.c1929 elf_section_data(sec)->rel_hdr.sh_name));
4057 elf_section_data(input_section)->rel_hdr.sh_name));
H A Delf32-ppc.c3606 elf_section_data (sec)->rel_hdr.sh_name));
6587 elf_section_data (input_section)->rel_hdr.sh_name));
H A Delf32-arm.c4645 elf_section_data (input_section)->rel_hdr.sh_name));
7775 elf_section_data (sec)->rel_hdr.sh_name));
H A Delf32-i386.c1190 unsigned int shnam = elf_section_data (sec)->rel_hdr.sh_name;
H A Delf32-s390.c1285 elf_section_data (sec)->rel_hdr.sh_name));
H A Delf64-s390.c1252 elf_section_data (sec)->rel_hdr.sh_name));
H A Delf64-x86-64.c1043 elf_section_data (sec)->rel_hdr.sh_name));
H A Delfxx-ia64.c2707 elf_section_data(sec)->rel_hdr.sh_name));
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DObjectFileELF.h307 unsigned RelocateDebugSections(const elf::ELFSectionHeader *rel_hdr,
313 const elf::ELFSectionHeader *rel_hdr,
H A DObjectFileELF.cpp2381 GetPltEntrySizeAndOffset(const ELFSectionHeader *rel_hdr, argument
2383 const elf_xword num_relocations = rel_hdr->sh_size / rel_hdr->sh_entsize;
2416 const ELFHeader *hdr, const ELFSectionHeader *rel_hdr,
2426 GetPltEntrySizeAndOffset(rel_hdr, plt_hdr);
2427 const elf_xword num_relocations = rel_hdr->sh_size / rel_hdr->sh_entsize;
2480 const ELFSectionHeaderInfo *rel_hdr,
2482 assert(rel_hdr->sh_type == SHT_RELA || rel_hdr
2414 ParsePLTRelocations( Symtab *symbol_table, user_id_t start_id, unsigned rel_type, const ELFHeader *hdr, const ELFSectionHeader *rel_hdr, const ELFSectionHeader *plt_hdr, const ELFSectionHeader *sym_hdr, const lldb::SectionSP &plt_section_sp, DataExtractor &rel_data, DataExtractor &symtab_data, DataExtractor &strtab_data) argument
2479 ParseTrampolineSymbols(Symtab *symbol_table, user_id_t start_id, const ELFSectionHeaderInfo *rel_hdr, user_id_t rel_id) argument
2549 ApplyRelocations( Symtab *symtab, const ELFHeader *hdr, const ELFSectionHeader *rel_hdr, const ELFSectionHeader *symtab_hdr, const ELFSectionHeader *debug_hdr, DataExtractor &rel_data, DataExtractor &symtab_data, DataExtractor &debug_data, Section *rel_section) argument
2642 RelocateDebugSections(const ELFSectionHeader *rel_hdr, user_id_t rel_id, lldb_private::Symtab *thetab) argument
[all...]

Completed in 674 milliseconds