Home
last modified time | relevance | path

Searched refs:elf_section_data (Results 1 – 25 of 33) sorted by relevance

12

/freebsd-12.1/contrib/binutils/bfd/
H A Delf32-cr16.c689 contents = elf_section_data (sec)->this_hdr.contents; in elf32_cr16_relax_delete_bytes()
696 irel = elf_section_data (sec)->relocs; in elf32_cr16_relax_delete_bytes()
1178 elf_section_data (sec)->relocs = internal_relocs; in elf32_cr16_relax_section()
1228 elf_section_data (sec)->relocs = internal_relocs; in elf32_cr16_relax_section()
1267 elf_section_data (sec)->relocs = internal_relocs; in elf32_cr16_relax_section()
1308 elf_section_data (sec)->relocs = internal_relocs; in elf32_cr16_relax_section()
1345 && elf_section_data (sec)->this_hdr.contents != contents) in elf32_cr16_relax_section()
1352 elf_section_data (sec)->this_hdr.contents = contents; in elf32_cr16_relax_section()
1357 && elf_section_data (sec)->relocs != internal_relocs) in elf32_cr16_relax_section()
1367 && elf_section_data (sec)->this_hdr.contents != contents) in elf32_cr16_relax_section()
[all …]
H A Delflink.c789 elf_section_data (p)->dynindx = 0; in _bfd_elf_link_renumber_dynsyms()
2152 return elf_section_data (o)->relocs; in _bfd_elf_link_read_relocs()
2177 if (elf_section_data (o)->rel_hdr2) in _bfd_elf_link_read_relocs()
2189 if (elf_section_data (o)->rel_hdr2 in _bfd_elf_link_read_relocs()
2192 elf_section_data (o)->rel_hdr2, in _bfd_elf_link_read_relocs()
2696 elf_section_data (sec)->sec_info, in _bfd_elf_link_sec_merge_syms()
4749 secdata = elf_section_data (stab); in elf_link_add_object_symbols()
9461 esdi = elf_section_data (sec); in bfd_elf_final_link()
9620 if (elf_section_data (o)->rel_hdr2 in bfd_elf_final_link()
10075 elf_section_data (o)->rel_count2, in bfd_elf_final_link()
[all …]
H A Delfxx-sparc.h30 ((struct _bfd_sparc_elf_section_data *) elf_section_data (sec))->do_relax
32 ((struct _bfd_sparc_elf_section_data *) elf_section_data (sec))->reloc_count
H A Delf64-sparc.c151 struct bfd_elf_section_data * const d = elf_section_data (asect); in elf64_sparc_slurp_reloc_table()
255 if (elf_section_data (s)->this_hdr.sh_link == elf_dynsymtab (abfd) in elf64_sparc_canonicalize_dynamic_reloc()
256 && (elf_section_data (s)->this_hdr.sh_type == SHT_RELA)) in elf64_sparc_canonicalize_dynamic_reloc()
327 rela_hdr = &elf_section_data (sec)->rel_hdr; in elf64_sparc_write_relocs()
565 elf_section_data (dynsymsec->output_section)->this_hdr.sh_info in elf64_sparc_output_arch_syms()
725 elf_section_data (sec)->this_hdr.sh_entsize = 12; in elf64_sparc_fake_sections()
H A Delf-vxworks.c222 d = elf_section_data (sec); in elf_vxworks_final_write_processing()
226 d->this_hdr.sh_info = elf_section_data (sec)->this_idx; in elf_vxworks_final_write_processing()
H A Delf.c800 elf_section_data (newsect)->this_hdr = *hdr; in _bfd_elf_make_section_from_shdr()
1077 secdata = elf_section_data (sec); in _bfd_elf_merge_sections()
2941 &elf_section_data (asect)->rel_hdr, in elf_fake_sections()
3017 idx = elf_section_data (s)->this_idx; in bfd_elf_set_group_contents()
3053 d = elf_section_data (sec); in assign_section_numbers()
3075 d = elf_section_data (sec); in assign_section_numbers()
5154 if (elf_section_data (asect) != NULL in _bfd_elf_section_from_bfd_section()
6097 ihdr = &elf_section_data (isec)->this_hdr; in _bfd_elf_init_private_section_data()
6129 ihdr = &elf_section_data (isec)->this_hdr; in _bfd_elf_copy_private_section_data()
8698 elf_section_data (sec)->sec_info, in _bfd_elf_rela_local_sym()
[all …]
H A Delf-bfd.h1233 #define elf_section_data(sec) ((struct bfd_elf_section_data*)(sec)->used_by_bfd) macro
1234 #define elf_linked_to_section(sec) (elf_section_data(sec)->linked_to)
1235 #define elf_section_type(sec) (elf_section_data(sec)->this_hdr.sh_type)
1236 #define elf_section_flags(sec) (elf_section_data(sec)->this_hdr.sh_flags)
1237 #define elf_group_name(sec) (elf_section_data(sec)->group.name)
1238 #define elf_group_id(sec) (elf_section_data(sec)->group.id)
1239 #define elf_next_in_group(sec) (elf_section_data(sec)->next_in_group)
1240 #define elf_sec_group(sec) (elf_section_data(sec)->sec_group)
H A Delf32-spu.h38 ((struct _spu_elf_section_data *) elf_section_data (sec))
H A Delf64-s390.c1252 elf_section_data (sec)->rel_hdr.sh_name));
1285 elf_section_data (sec)->sreloc = sreloc;
1308 vpp = &elf_section_data (s)->local_dynrel;
1393 elf_section_data (sec)->local_dynrel = NULL; in elf_s390_gc_sweep_hook()
2010 srela = elf_section_data (p->sec)->sreloc;
2619 sindx = elf_section_data (osec)->dynindx;
2624 sindx = elf_section_data (osec)->dynindx;
2639 sreloc = elf_section_data (input_section)->sreloc;
2669 sreloc = elf_section_data (input_section)->sreloc;
3359 elf_section_data (htab->splt->output_section)
[all …]
H A Delf32-s390.c1285 elf_section_data (sec)->rel_hdr.sh_name));
1318 elf_section_data (sec)->sreloc = sreloc;
1340 vpp = &elf_section_data (s)->local_dynrel;
1425 elf_section_data (sec)->local_dynrel = NULL; in elf_s390_gc_sweep_hook()
2036 srela = elf_section_data (p->sec)->sreloc;
2636 sindx = elf_section_data (osec)->dynindx;
2640 sindx = elf_section_data (osec)->dynindx;
2655 sreloc = elf_section_data (input_section)->sreloc;
2684 sreloc = elf_section_data (input_section)->sreloc;
3452 elf_section_data (htab->splt->output_section)
[all …]
H A Delf64-x86-64.c1041 elf_section_data (sec)->rel_hdr.sh_name)); in elf64_x86_64_check_relocs()
1075 elf_section_data (sec)->sreloc = sreloc; in elf64_x86_64_check_relocs()
1099 vpp = &(elf_section_data (s)->local_dynrel); in elf64_x86_64_check_relocs()
1181 elf_section_data (sec)->local_dynrel = NULL; in elf64_x86_64_gc_sweep_hook()
1642 asection *sreloc = elf_section_data (p->sec)->sreloc; in allocate_dynrelocs()
1728 (elf_section_data (s)->local_dynrel); in elf64_x86_64_size_dynamic_sections()
1742 srel = elf_section_data (p->sec)->sreloc; in elf64_x86_64_size_dynamic_sections()
2467 sindx = elf_section_data (osec)->dynindx; in elf64_x86_64_relocate_section()
2471 sindx = elf_section_data (oi)->dynindx; in elf64_x86_64_relocate_section()
2481 sreloc = elf_section_data (input_section)->sreloc; in elf64_x86_64_relocate_section()
[all …]
H A Delf32-i386.c1188 unsigned int shnam = elf_section_data (sec)->rel_hdr.sh_name; in elf_i386_check_relocs()
1223 elf_section_data (sec)->sreloc = sreloc; in elf_i386_check_relocs()
1245 vpp = &elf_section_data (s)->local_dynrel; in elf_i386_check_relocs()
1325 elf_section_data (sec)->local_dynrel = NULL; in elf_i386_gc_sweep_hook()
1801 asection *sreloc = elf_section_data (p->sec)->sreloc; in allocate_dynrelocs()
1887 elf_section_data (s)->local_dynrel); in elf_i386_size_dynamic_sections()
1901 srel = elf_section_data (p->sec)->sreloc; in elf_i386_size_dynamic_sections()
2579 sreloc = elf_section_data (input_section)->sreloc; in elf_i386_relocate_section()
2607 sreloc = elf_section_data (input_section)->sreloc; in elf_i386_relocate_section()
3274 sreloc = elf_section_data (input_section)->sreloc; in elf_i386_relocate_section()
[all …]
H A Delf32-ppc.c3600 elf_section_data (sec)->rel_hdr.sh_name)); in ppc_elf_check_relocs()
3626 elf_section_data (sec)->sreloc = sreloc; in ppc_elf_check_relocs()
3649 vpp = &elf_section_data (s)->local_dynrel; in ppc_elf_check_relocs()
3944 elf_section_data (sec)->local_dynrel = NULL; in ppc_elf_gc_sweep_hook()
4314 if (elf_section_data (sec)->relocs != relstart) in ppc_elf_tls_optimize()
4964 elf_section_data (s)->local_dynrel); in ppc_elf_size_dynamic_sections()
4978 elf_section_data (p->sec)->sreloc->size in ppc_elf_size_dynamic_sections()
5448 elf_section_data (tsec)->sec_info, in ppc_elf_relax_section()
5652 elf_section_data (isec)->relocs = internal_relocs; in ppc_elf_relax_section()
6631 indx = elf_section_data (osec)->dynindx; in ppc_elf_relocate_section()
[all …]
H A Delf64-ppc.c4951 elf_section_data (sec)->rel_hdr.sh_name)); in ppc64_elf_check_relocs()
4981 elf_section_data (sec)->sreloc = sreloc; in ppc64_elf_check_relocs()
5004 vpp = &elf_section_data (s)->local_dynrel; in ppc64_elf_check_relocs()
5353 elf_section_data (sec)->local_dynrel = NULL; in ppc64_elf_gc_sweep_hook()
6639 elf_section_data (sec)->relocs = relstart; in ppc64_elf_edit_opd()
6777 elf_section_data (sec)->rel_hdr.sh_size in ppc64_elf_edit_opd()
8039 srel = elf_section_data (p->sec)->sreloc; in ppc64_elf_size_dynamic_sections()
8553 elfsec_data = elf_section_data (htab->brlt); in ppc_build_one_stub()
11289 indx = elf_section_data (osec)->dynindx; in ppc64_elf_relocate_section()
11298 indx = elf_section_data (osec)->dynindx; in ppc64_elf_relocate_section()
[all …]
H A Delfxx-ia64.c945 if (elf_section_data (sec)->this_hdr.contents != NULL)
946 contents = elf_section_data (sec)->this_hdr.contents;
1107 elf_section_data (tsec)->sec_info,
1346 elf_section_data (sec)->this_hdr.contents = contents;
1350 if (elf_section_data (sec)->relocs != internal_relocs)
1355 elf_section_data (sec)->relocs = internal_relocs;
1576 hdr = &elf_section_data (s)->this_hdr;
1706 hdr = &elf_section_data (s)->this_hdr; in elfNN_ia64_modify_segment_map()
2701 elf_section_data(sec)->rel_hdr.sh_name));
4646 elf_section_data(input_section->output_section)
[all …]
H A Delfxx-sparc.c1098 num_relocs = NUM_SHDR_ENTRIES (& elf_section_data (sec)->rel_hdr); in _bfd_sparc_elf_check_relocs()
1435 elf_section_data (sec)->rel_hdr.sh_name)); in _bfd_sparc_elf_check_relocs()
1464 elf_section_data (sec)->sreloc = sreloc; in _bfd_sparc_elf_check_relocs()
1485 vpp = &elf_section_data (s)->local_dynrel; in _bfd_sparc_elf_check_relocs()
1562 elf_section_data (sec)->local_dynrel = NULL; in _bfd_sparc_elf_gc_sweep_hook()
2062 asection *sreloc = elf_section_data (p->sec)->sreloc; in allocate_dynrelocs()
2172 srel = elf_section_data (p->sec)->sreloc; in _bfd_sparc_elf_size_dynamic_sections()
2490 sreloc = elf_section_data (input_section)->sreloc; in _bfd_sparc_elf_relocate_section()
2882 indx = elf_section_data (osec)->dynindx; in _bfd_sparc_elf_relocate_section()
2887 indx = elf_section_data (osec)->dynindx; in _bfd_sparc_elf_relocate_section()
[all …]
H A Delf32-arm.c2072 ((_arm_elf_section_data *) elf_section_data (sec))
3182 contents = elf_section_data (sec)->this_hdr.contents; in bfd_elf32_arm_process_before_allocation()
3684 contents = elf_section_data (sec)->this_hdr.contents; in bfd_elf32_arm_vfp11_erratum_scan()
4704 symbol = elf_section_data (osec)->dynindx; in elf32_arm_final_link_relocate()
4714 symbol = elf_section_data (osec)->dynindx; in elf32_arm_final_link_relocate()
7413 elf_section_data (sec)->local_dynrel = NULL; in elf32_arm_gc_sweep_hook()
7775 elf_section_data (sec)->rel_hdr.sh_name)); in elf32_arm_check_relocs()
7801 elf_section_data (sec)->sreloc = sreloc; in elf32_arm_check_relocs()
7824 vpp = &elf_section_data (s)->local_dynrel; in elf32_arm_check_relocs()
7896 hdr = &elf_section_data (o)->this_hdr; in elf32_arm_gc_mark_extra_sections()
[all …]
H A Delfxx-mips.c215 ((struct _mips_elf_section_data *) elf_section_data (sec))
603 ((NUM_SHDR_ENTRIES (&elf_section_data (sec)->rel_hdr) \
606 == (elf_section_data (sec)->rel_hdr.sh_entsize \
4832 indx = elf_section_data (osec)->dynindx; in mips_elf_create_dynamic_relocation()
5248 && elf_section_data (sec)->relocs != NULL in _bfd_mips_elf_eh_frame_address_size()
6183 if (elf_section_data (o)->relocs != sec_relocs) in _bfd_mips_elf_check_relocs()
6299 if (elf_section_data (o)->relocs != sec_relocs) in _bfd_mips_elf_check_relocs()
7810 rel_hdr = &elf_section_data (input_section)->rel_hdr; in _bfd_mips_elf_relocate_section()
9229 (*hdrpp)->sh_info = elf_section_data (sec)->this_idx; in _bfd_mips_elf_final_write_processing()
9967 if (elf_section_data (section) == NULL) in _bfd_mips_elf_set_section_contents()
[all …]
H A Delf64-mips.c2382 if (elf_section_data (s)->this_hdr.sh_link == elf_dynsymtab (abfd) in mips_elf64_canonicalize_dynamic_reloc()
2383 && (elf_section_data (s)->this_hdr.sh_type == SHT_REL in mips_elf64_canonicalize_dynamic_reloc()
2384 || elf_section_data (s)->this_hdr.sh_type == SHT_RELA)) in mips_elf64_canonicalize_dynamic_reloc()
2391 count = s->size / elf_section_data (s)->this_hdr.sh_entsize * 3; in mips_elf64_canonicalize_dynamic_reloc()
2584 struct bfd_elf_section_data * const d = elf_section_data (asect); in mips_elf64_slurp_reloc_table()
2706 rel_hdr = &elf_section_data (sec)->rel_hdr; in mips_elf64_write_relocs()
H A Delfcode.h877 if ((elf_section_data (s)->this_hdr.sh_type == SHT_REL in elf_object_p()
878 || elf_section_data (s)->this_hdr.sh_type == SHT_RELA) in elf_object_p()
879 && elf_section_data (s)->this_hdr.sh_info > 0) in elf_object_p()
884 targ_index = elf_section_data (s)->this_hdr.sh_info; in elf_object_p()
950 rela_hdr = &elf_section_data (sec)->rel_hdr; in elf_write_relocs()
1451 struct bfd_elf_section_data * const d = elf_section_data (asect); in elf_slurp_reloc_table()
H A Delf64-alpha.c1453 if (elf_section_data (msec)->this_hdr.sh_type != SHT_NOBITS) in elf64_alpha_find_nearest_line()
1921 elf_section_data(sec)->rel_hdr.sh_name)); in elf64_alpha_check_relocs()
3659 if (elf_section_data (sec)->this_hdr.contents != NULL) in elf64_alpha_relax_section()
3660 info.contents = elf_section_data (sec)->this_hdr.contents; in elf64_alpha_relax_section()
3851 && elf_section_data (sec)->this_hdr.contents != info.contents) in elf64_alpha_relax_section()
3858 elf_section_data (sec)->this_hdr.contents = info.contents; in elf64_alpha_relax_section()
3862 if (elf_section_data (sec)->relocs != internal_relocs) in elf64_alpha_relax_section()
3867 elf_section_data (sec)->relocs = internal_relocs; in elf64_alpha_relax_section()
3882 && elf_section_data (sec)->relocs != internal_relocs) in elf64_alpha_relax_section()
4047 elf_section_data(input_section)->rel_hdr.sh_name)); in elf64_alpha_relocate_section()
[all …]
H A Delf-eh-frame.c906 elf_section_data (sec)->sec_info = sec_info; in _bfd_elf_discard_section_eh_frame()
1083 sec_info = elf_section_data (sec)->sec_info; in _bfd_elf_eh_frame_section_offset()
1183 sec_info = elf_section_data (sec)->sec_info; in _bfd_elf_write_section_eh_frame()
1209 eh_inf = elf_section_data (eh)->sec_info; in _bfd_elf_write_section_eh_frame()
H A Delf32-score.c151 ((struct _score_elf_section_data *) elf_section_data (sec))
974 BFD_ASSERT (elf_section_data (sgot) != NULL); in score_elf_got_info()
1294 elf_section_data (input_section->output_section)->this_hdr.sh_flags |= SHF_WRITE; in score_elf_create_dynamic_relocation()
3412 elf_section_data (sgot->output_section)->this_hdr.sh_entsize in _bfd_score_elf_finish_dynamic_sections()
H A Delf32-spu.c1017 if (elf_section_data (section)->relocs != internal_relocs) in spu_elf_size_stubs()
1045 if (elf_section_data (section)->relocs != internal_relocs) in spu_elf_size_stubs()
2858 rel_hdr = &elf_section_data (input_section)->rel_hdr; in spu_elf_relocate_section()
/freebsd-12.1/contrib/binutils/binutils/
H A Dobjcopy.c814 ghdr = &elf_section_data (group)->this_hdr; in group_signature()

12