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

12

/haiku-buildtools/legacy/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.c2374 Elf_Internal_Shdr *rel_hdr,
2386 allocated = bfd_malloc (rel_hdr->sh_size);
2390 if (bfd_seek (abfd, rel_hdr->sh_offset, SEEK_SET) != 0
2391 || (bfd_bread (allocated, rel_hdr->sh_size, abfd)
2392 != rel_hdr->sh_size))
2397 entsize = rel_hdr->sh_entsize;
2547 Elf_Internal_Shdr *rel_hdr;
2563 rel_hdr = &d->rel_hdr;
2564 reloc_count = NUM_SHDR_ENTRIES (rel_hdr);
2368 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
2542 Elf_Internal_Shdr *rel_hdr; local
2617 Elf_Internal_Shdr *rel_hdr; local
2676 mips_elf64_write_rel(bfd *abfd, asection *sec, Elf_Internal_Shdr *rel_hdr, int *count, void *data) argument
[all...]
H A Delfcode.h909 rela_hdr = &elf_section_data (sec)->rel_hdr;
1303 Elf_Internal_Shdr *rel_hdr,
1317 allocated = bfd_malloc (rel_hdr->sh_size);
1321 if (bfd_seek (abfd, rel_hdr->sh_offset, SEEK_SET) != 0
1322 || (bfd_bread (allocated, rel_hdr->sh_size, abfd)
1323 != rel_hdr->sh_size))
1328 entsize = rel_hdr->sh_entsize;
1405 Elf_Internal_Shdr *rel_hdr;
1421 rel_hdr = &d->rel_hdr;
1298 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
1402 Elf_Internal_Shdr *rel_hdr; local
[all...]
H A Delflink.c2028 Elf_Internal_Shdr *rel_hdr;
2039 rel_hdr = &elf_section_data (o)->rel_hdr;
2057 bfd_size_type size = rel_hdr->sh_size;
2067 if (!elf_link_read_relocs_from_section (abfd, o, rel_hdr,
2075 ((bfd_byte *) external_relocs) + rel_hdr->sh_size,
2076 internal_relocs + (NUM_SHDR_ENTRIES (rel_hdr)
2105 Elf_Internal_Shdr *rel_hdr,
2112 if (rel_hdr == &elf_section_data (o)->rel_hdr)
2022 Elf_Internal_Shdr *rel_hdr; local
2098 _bfd_elf_link_size_reloc_section(bfd *abfd, Elf_Internal_Shdr *rel_hdr, asection *o) argument
5859 elf_link_adjust_relocs(bfd *abfd, Elf_Internal_Shdr *rel_hdr, unsigned int count, struct elf_link_hash_entry **rel_hash) argument
7490 Elf_Internal_Shdr *rel_hdr; local
[all...]
H A Delf.c2085 hdr2 = &elf_section_data (target_sect)->rel_hdr;
2627 Elf_Internal_Shdr *rel_hdr,
2639 rel_hdr->sh_name =
2642 if (rel_hdr->sh_name == (unsigned int) -1)
2644 rel_hdr->sh_type = use_rela_p ? SHT_RELA : SHT_REL;
2645 rel_hdr->sh_entsize = (use_rela_p
2648 rel_hdr->sh_addralign = 1 << bed->s->log_file_align;
2649 rel_hdr->sh_flags = 0;
2650 rel_hdr->sh_addr = 0;
2651 rel_hdr
2621 _bfd_elf_init_reloc_shdr(bfd *abfd, Elf_Internal_Shdr *rel_hdr, asection *asect, bfd_boolean use_rela_p) argument
[all...]
H A Delf32-i370.c873 elf_section_data (sec)->rel_hdr.sh_name));
1244 elf_section_data (input_section)->rel_hdr.sh_name));
H A Delf32-vax.c738 elf_section_data (sec)->rel_hdr.sh_name));
1646 elf_section_data (input_section)->rel_hdr.sh_name));
H A Delf32-cris.c1393 elf_section_data (input_section)->rel_hdr.sh_name));
2807 elf_section_data (sec)->rel_hdr.sh_name));
H A Delf64-sh64.c1708 elf_section_data (input_section)->rel_hdr.sh_name));
2730 elf_section_data (sec)->rel_hdr.sh_name));
H A Delfxx-mips.c601 ((NUM_SHDR_ENTRIES (&elf_section_data (sec)->rel_hdr) \
604 == (elf_section_data (sec)->rel_hdr.sh_entsize \
7728 Elf_Internal_Shdr *rel_hdr;
7736 rel_hdr = &elf_section_data (input_section)->rel_hdr;
7738 >= (NUM_SHDR_ENTRIES (rel_hdr) * bed->s->int_rels_per_ext_rel))
7739 rel_hdr = elf_section_data (input_section)->rel_hdr2;
7740 if (rel_hdr->sh_entsize == MIPS_ELF_REL_SIZE (input_bfd))
7696 Elf_Internal_Shdr *rel_hdr; local
H A Delf-bfd.h1104 Elf_Internal_Shdr rel_hdr;
1102 Elf_Internal_Shdr rel_hdr; member in struct:bfd_elf_section_data
H A Delfxx-sparc.c1091 num_relocs = NUM_SHDR_ENTRIES (& elf_section_data (sec)->rel_hdr);
1428 elf_section_data (sec)->rel_hdr.sh_name));
2526 num_relocs = NUM_SHDR_ENTRIES (& elf_section_data (input_section)->rel_hdr);
/haiku-buildtools/binutils/bfd/
H A Delf64-sparc.c55 Elf_Internal_Shdr *rel_hdr,
66 allocated = 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;
154 Elf_Internal_Shdr *rel_hdr; local
167 rel_hdr = d->rel.hdr;
170 BFD_ASSERT ((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.c3745 Elf_Internal_Shdr *rel_hdr,
3757 allocated = bfd_malloc (rel_hdr->sh_size);
3761 if (bfd_seek (abfd, rel_hdr->sh_offset, SEEK_SET) != 0
3762 || (bfd_bread (allocated, rel_hdr->sh_size, abfd)
3763 != rel_hdr->sh_size))
3768 entsize = rel_hdr->sh_entsize;
3918 Elf_Internal_Shdr *rel_hdr;
3934 rel_hdr = d->rel.hdr;
3935 reloc_count = rel_hdr ? NUM_SHDR_ENTRIES (rel_hdr)
3738 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
3912 Elf_Internal_Shdr *rel_hdr; local
3986 Elf_Internal_Shdr *rel_hdr; local
4045 mips_elf64_write_rel(bfd *abfd, asection *sec, Elf_Internal_Shdr *rel_hdr, int *count, void *data) argument
[all...]
H A Delfcode.h1390 Elf_Internal_Shdr *rel_hdr,
1404 allocated = bfd_malloc (rel_hdr->sh_size);
1408 if (bfd_seek (abfd, rel_hdr->sh_offset, SEEK_SET) != 0
1409 || (bfd_bread (allocated, rel_hdr->sh_size, abfd)
1410 != rel_hdr->sh_size))
1415 entsize = rel_hdr->sh_entsize;
1493 Elf_Internal_Shdr *rel_hdr;
1509 rel_hdr = d->rel.hdr;
1510 reloc_count = rel_hdr ? NUM_SHDR_ENTRIES (rel_hdr)
1385 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
1490 Elf_Internal_Shdr *rel_hdr; local
[all...]
H A Delf-bfd.h2686 Elf_Internal_Shdr *rel_hdr; \
2688 rel_hdr = _bfd_elf_single_rel_hdr (input_section->output_section); \
2691 if (rel_hdr->sh_size > rel_hdr->sh_entsize) \
2693 rel_hdr->sh_size -= rel_hdr->sh_entsize; \
2694 rel_hdr = _bfd_elf_single_rel_hdr (input_section); \
2695 rel_hdr->sh_size -= rel_hdr->sh_entsize; \
H A Delf32-metag.c1418 Elf_Internal_Shdr *rel_hdr; \
1420 rel_hdr = _bfd_elf_single_rel_hdr (input_section->output_section); \
1423 if (rel_hdr->sh_size > rel_hdr->sh_entsize) \
1425 rel_hdr->sh_size -= rel_hdr->sh_entsize; \
1426 rel_hdr = _bfd_elf_single_rel_hdr (input_section); \
1427 rel_hdr->sh_size -= rel_hdr->sh_entsize; \
H A Delf32-i386.c5278 Elf_Internal_Shdr *rel_hdr;
5281 rel_hdr = _bfd_elf_single_rel_hdr (input_section->output_section);
5282 rel_hdr->sh_size -= rel_hdr->sh_entsize * deleted;
5283 if (rel_hdr->sh_size == 0)
5288 rel_hdr->sh_size = rel_hdr->sh_entsize;
5291 rel_hdr = _bfd_elf_single_rel_hdr (input_section);
5292 rel_hdr->sh_size -= rel_hdr
5275 Elf_Internal_Shdr *rel_hdr; local
[all...]
H A Delf64-x86-64.c5753 Elf_Internal_Shdr *rel_hdr;
5756 rel_hdr = _bfd_elf_single_rel_hdr (input_section->output_section);
5757 rel_hdr->sh_size -= rel_hdr->sh_entsize * deleted;
5758 if (rel_hdr->sh_size == 0)
5763 rel_hdr->sh_size = rel_hdr->sh_entsize;
5766 rel_hdr = _bfd_elf_single_rel_hdr (input_section);
5767 rel_hdr->sh_size -= rel_hdr
5751 Elf_Internal_Shdr *rel_hdr; local
[all...]
H A Delf.c3038 Elf_Internal_Shdr *rel_hdr,
3048 rel_hdr->sh_name =
3051 if (rel_hdr->sh_name == (unsigned int) -1)
3069 Elf_Internal_Shdr *rel_hdr;
3073 rel_hdr = bfd_zalloc (abfd, sizeof (*rel_hdr));
3074 reldata->hdr = rel_hdr;
3077 rel_hdr->sh_name = (unsigned int) -1;
3078 else if (!_bfd_elf_set_reloc_sh_name (abfd, rel_hdr, sec_name,
3081 rel_hdr
3035 _bfd_elf_set_reloc_sh_name(bfd *abfd, Elf_Internal_Shdr *rel_hdr, const char *sec_name, bfd_boolean use_rela_p) argument
3067 Elf_Internal_Shdr *rel_hdr; local
[all...]
H A Delf32-ppc.c7499 Elf_Internal_Shdr *rel_hdr;
7518 rel_hdr = _bfd_elf_single_rel_hdr (isec);
7519 rel_hdr->sh_size += changes * rel_hdr->sh_entsize;
9749 Elf_Internal_Shdr *rel_hdr;
9752 rel_hdr = _bfd_elf_single_rel_hdr (input_section->output_section);
9753 rel_hdr->sh_size -= rel_hdr->sh_entsize * deleted;
9754 if (rel_hdr->sh_size == 0)
9759 rel_hdr
7485 Elf_Internal_Shdr *rel_hdr; local
9733 Elf_Internal_Shdr *rel_hdr; local
[all...]
H A Delf64-ppc.c8040 Elf_Internal_Shdr *rel_hdr;
8227 rel_hdr = _bfd_elf_single_rel_hdr (sec);
8228 rel_hdr->sh_size = sec->reloc_count * rel_hdr->sh_entsize;
9554 Elf_Internal_Shdr *rel_hdr;
9581 rel_hdr = _bfd_elf_single_rel_hdr (toc);
9582 sz = rel_hdr->sh_entsize;
9583 rel_hdr->sh_size = toc->reloc_count * sz;
15303 Elf_Internal_Shdr *rel_hdr;
15306 rel_hdr
8036 Elf_Internal_Shdr *rel_hdr; local
9550 Elf_Internal_Shdr *rel_hdr; local
15299 Elf_Internal_Shdr *rel_hdr; local
[all...]
H A Delf32-tic6x.c2206 Elf_Internal_Shdr *rel_hdr; local
2211 rel_hdr = elf_section_data (sec)->rel.hdr;
2212 if (rel_hdr == NULL)
2216 < NUM_SHDR_ENTRIES (rel_hdr) * bed->s->int_rels_per_ext_rel);
H A Delf32-arm.c14881 Elf_Internal_Shdr *rel_hdr; local
14892 rel_hdr = reldata->hdr;
14894 if (rel_hdr->sh_entsize == bed->s->sizeof_rel)
14899 else if (rel_hdr->sh_entsize == bed->s->sizeof_rela)
14907 erela_head = rel_hdr->contents;
14909 ((NUM_SHDR_ENTRIES (rel_hdr) + 1) * sizeof (*irela_head));
14921 erela += rel_hdr->sh_entsize;
14942 eadi->elf.rel.hdr->sh_entsize == rel_hdr->sh_entsize)
14945 eadi->elf.rela.hdr->sh_entsize == rel_hdr->sh_entsize)
14979 erela += rel_hdr
[all...]
H A Delf32-spu.c5105 Elf_Internal_Shdr *rel_hdr; local
5119 rel_hdr = _bfd_elf_single_rel_hdr (input_section);
5120 rel_hdr->sh_size = input_section->reloc_count * rel_hdr->sh_entsize;

Completed in 793 milliseconds

12