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

/freebsd-10.0-release/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
7198 elf_link_adjust_relocs(bfd *abfd, Elf_Internal_Shdr *rel_hdr, unsigned int count, struct elf_link_hash_entry **rel_hash) argument
8995 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.c4858 elf_section_data (sec)->rel_hdr.sh_name));
6678 elf_section_data (sec)->rel_hdr.sh_size
6679 = sec->reloc_count * elf_section_data (sec)->rel_hdr.sh_entsize;
7465 sz = elf_section_data (toc)->rel_hdr.sh_entsize;
7466 elf_section_data (toc)->rel_hdr.sh_size = toc->reloc_count * sz;
8294 elfsec_data->rel_hdr.sh_size = relsize;
8295 elfsec_data->rel_hdr.sh_entsize = 24;
8392 elfsec_data->rel_hdr.sh_size = relsize;
8393 elfsec_data->rel_hdr.sh_entsize = 24;
11468 &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.c3525 elf_section_data (sec)->rel_hdr.sh_name));
6389 elf_section_data (input_section)->rel_hdr.sh_name));
H A Delf32-arm.c4652 elf_section_data (input_section)->rel_hdr.sh_name));
7747 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-10.0-release/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/
H A DObjectFileELF.cpp1296 const ELFSectionHeader *rel_hdr,
1308 const elf_xword num_relocations = rel_hdr->sh_size / rel_hdr->sh_entsize;
1368 const ELFSectionHeaderInfo *rel_hdr,
1371 assert(rel_hdr->sh_type == SHT_RELA || rel_hdr->sh_type == SHT_REL);
1375 user_id_t symtab_id = rel_hdr->sh_link;
1376 user_id_t plt_id = rel_hdr->sh_info;
1434 rel_hdr,
1292 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
1366 ParseTrampolineSymbols(Symtab *symbol_table, user_id_t start_id, const ELFSectionHeaderInfo *rel_hdr, user_id_t rel_id) argument

Completed in 533 milliseconds