| /freebsd-9-stable/contrib/binutils/bfd/ |
| D | elf32-cr16.c | 689 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() 705 for (irel = elf_section_data (sec)->relocs; irel < irelend; irel++) in elf32_cr16_relax_delete_bytes() 721 for (irel = elf_section_data (sec)->relocs; irel < irelend; irel++) in elf32_cr16_relax_delete_bytes() 936 || elf_section_data (input_section)->this_hdr.contents == NULL) in elf32_cr16_get_relocated_section_contents() 944 memcpy (data, elf_section_data (input_section)->this_hdr.contents, in elf32_cr16_get_relocated_section_contents() 1004 if (elf_section_data (input_section)->relocs != internal_relocs) in elf32_cr16_get_relocated_section_contents() 1017 && elf_section_data (input_section)->relocs != internal_relocs) in elf32_cr16_get_relocated_section_contents() 1078 if (elf_section_data (sec)->this_hdr.contents != NULL) in elf32_cr16_relax_section() 1079 contents = elf_section_data (sec)->this_hdr.contents; in elf32_cr16_relax_section() [all …]
|
| D | elflink.c | 239 elf_section_data (s)->this_hdr.sh_entsize = bed->s->sizeof_hash_entry; in _bfd_elf_link_create_dynamic_sections() 253 elf_section_data (s)->this_hdr.sh_entsize = 0; in _bfd_elf_link_create_dynamic_sections() 255 elf_section_data (s)->this_hdr.sh_entsize = 4; in _bfd_elf_link_create_dynamic_sections() 731 switch (elf_section_data (p)->this_hdr.sh_type) in _bfd_elf_link_omit_section_dynsym() 787 elf_section_data (p)->dynindx = ++dynsymcount; in _bfd_elf_link_renumber_dynsyms() 789 elf_section_data (p)->dynindx = 0; in _bfd_elf_link_renumber_dynsyms() 2151 if (elf_section_data (o)->relocs != NULL) in _bfd_elf_link_read_relocs() 2152 return elf_section_data (o)->relocs; in _bfd_elf_link_read_relocs() 2157 rel_hdr = &elf_section_data (o)->rel_hdr; in _bfd_elf_link_read_relocs() 2177 if (elf_section_data (o)->rel_hdr2) in _bfd_elf_link_read_relocs() [all …]
|
| D | elfxx-sparc.h | 30 ((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
|
| D | elf64-sparc.c | 151 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()
|
| D | elf-vxworks.c | 222 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()
|
| D | elf.c | 691 Elf_Internal_Shdr *this_hdr = &elf_section_data (s)->this_hdr; in _bfd_elf_setup_sections() 800 elf_section_data (newsect)->this_hdr = *hdr; in _bfd_elf_make_section_from_shdr() 801 elf_section_data (newsect)->this_idx = shindex; in _bfd_elf_make_section_from_shdr() 1077 secdata = elf_section_data (sec); in _bfd_elf_merge_sections() 2124 hdr2 = &elf_section_data (target_sect)->rel_hdr; in bfd_section_from_shdr() 2128 BFD_ASSERT (elf_section_data (target_sect)->rel_hdr2 == NULL); in bfd_section_from_shdr() 2131 elf_section_data (target_sect)->rel_hdr2 = hdr2; in bfd_section_from_shdr() 2774 this_hdr = &elf_section_data (asect)->this_hdr; in elf_fake_sections() 2941 &elf_section_data (asect)->rel_hdr, in elf_fake_sections() 2977 elf_section_data (sec)->this_hdr.sh_info = symindx; in bfd_elf_set_group_contents() [all …]
|
| D | elf-bfd.h | 1233 #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)
|
| D | elf32-spu.h | 38 ((struct _spu_elf_section_data *) elf_section_data (sec))
|
| D | elf64-s390.c | 1252 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() 1911 asection *sreloc = elf_section_data (p->sec)->sreloc; 1998 for (p = elf_section_data (s)->local_dynrel; p != NULL; p = p->next) 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; [all …]
|
| D | elf32-s390.c | 1285 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() 1936 asection *sreloc = elf_section_data (p->sec)->sreloc; 2024 for (p = elf_section_data (s)->local_dynrel; p != NULL; p = p->next) 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; [all …]
|
| D | elf64-x86-64.c | 1041 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 …]
|
| D | elf32-i386.c | 1188 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 …]
|
| D | elf32-ppc.c | 3519 elf_section_data (sec)->rel_hdr.sh_name)); in ppc_elf_check_relocs() 3545 elf_section_data (sec)->sreloc = sreloc; in ppc_elf_check_relocs() 3568 vpp = &elf_section_data (s)->local_dynrel; in ppc_elf_check_relocs() 3863 elf_section_data (sec)->local_dynrel = NULL; in ppc_elf_gc_sweep_hook() 4158 if (elf_section_data (sec)->relocs != relstart) in ppc_elf_tls_optimize() 4181 if (elf_section_data (sec)->relocs != relstart) in ppc_elf_tls_optimize() 4738 asection *sreloc = elf_section_data (p->sec)->sreloc; in allocate_dynrelocs() 4828 elf_section_data (s)->local_dynrel); in ppc_elf_size_dynamic_sections() 4842 elf_section_data (p->sec)->sreloc->size in ppc_elf_size_dynamic_sections() 5312 elf_section_data (tsec)->sec_info, in ppc_elf_relax_section() [all …]
|
| D | elf64-ppc.c | 2627 ((struct _ppc64_elf_section_data *) elf_section_data (sec)) 4854 elf_section_data (sec)->rel_hdr.sh_name)); in ppc64_elf_check_relocs() 4884 elf_section_data (sec)->sreloc = sreloc; in ppc64_elf_check_relocs() 4907 vpp = &elf_section_data (s)->local_dynrel; in ppc64_elf_check_relocs() 5256 elf_section_data (sec)->local_dynrel = NULL; in ppc64_elf_gc_sweep_hook() 6283 void *vpp = &elf_section_data (sym_sec)->local_dynrel; in dec_dynrel_count() 6288 void *vpp = &elf_section_data (sec)->local_dynrel; in dec_dynrel_count() 6528 if (elf_section_data (sec)->relocs != relstart) in ppc64_elf_edit_opd() 6536 elf_section_data (sec)->relocs = relstart; in ppc64_elf_edit_opd() 6674 elf_section_data (sec)->rel_hdr.sh_size in ppc64_elf_edit_opd() [all …]
|
| D | elfxx-ia64.c | 945 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, 1339 && elf_section_data (sec)->this_hdr.contents != contents) 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; 1398 && elf_section_data (sec)->this_hdr.contents != contents) 1401 && elf_section_data (sec)->relocs != internal_relocs) 1576 hdr = &elf_section_data (s)->this_hdr; [all …]
|
| D | elfxx-sparc.c | 1098 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() 2160 for (p = elf_section_data (s)->local_dynrel; p != NULL; p = p->next) in _bfd_sparc_elf_size_dynamic_sections() 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() 2494 num_relocs = NUM_SHDR_ENTRIES (& elf_section_data (input_section)->rel_hdr); in _bfd_sparc_elf_relocate_section() [all …]
|
| D | elf32-arm.c | 2079 ((_arm_elf_section_data *) elf_section_data (sec)) 3188 if (elf_section_data (sec)->this_hdr.contents != NULL) in bfd_elf32_arm_process_before_allocation() 3189 contents = elf_section_data (sec)->this_hdr.contents; in bfd_elf32_arm_process_before_allocation() 3249 && elf_section_data (sec)->this_hdr.contents != contents) in bfd_elf32_arm_process_before_allocation() 3254 && elf_section_data (sec)->relocs != internal_relocs) in bfd_elf32_arm_process_before_allocation() 3263 && elf_section_data (sec)->this_hdr.contents != contents) in bfd_elf32_arm_process_before_allocation() 3266 && elf_section_data (sec)->relocs != internal_relocs) in bfd_elf32_arm_process_before_allocation() 3690 if (elf_section_data (sec)->this_hdr.contents != NULL) in bfd_elf32_arm_vfp11_erratum_scan() 3691 contents = elf_section_data (sec)->this_hdr.contents; in bfd_elf32_arm_vfp11_erratum_scan() 3814 && elf_section_data (sec)->this_hdr.contents != contents) in bfd_elf32_arm_vfp11_erratum_scan() [all …]
|
| D | elfxx-mips.c | 215 ((struct _mips_elf_section_data *) elf_section_data (sec)) 599 ((NUM_SHDR_ENTRIES (&elf_section_data (sec)->rel_hdr) \ 602 == (elf_section_data (sec)->rel_hdr.sh_entsize \ 4824 indx = elf_section_data (sec->output_section)->dynindx; in mips_elf_create_dynamic_relocation() 4828 indx = elf_section_data (osec)->dynindx; in mips_elf_create_dynamic_relocation() 4926 elf_section_data (input_section->output_section)->this_hdr.sh_flags in mips_elf_create_dynamic_relocation() 5244 && elf_section_data (sec)->relocs != NULL in _bfd_mips_elf_eh_frame_address_size() 5245 && (ELF32_R_TYPE (elf_section_data (sec)->relocs[0].r_info) in _bfd_mips_elf_eh_frame_address_size() 6179 if (elf_section_data (o)->relocs != sec_relocs) in _bfd_mips_elf_check_relocs() 6295 if (elf_section_data (o)->relocs != sec_relocs) in _bfd_mips_elf_check_relocs() [all …]
|
| D | elf64-mips.c | 2382 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()
|
| D | elfcode.h | 877 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()
|
| D | elf64-alpha.c | 1453 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() 3879 && elf_section_data (sec)->this_hdr.contents != info.contents) in elf64_alpha_relax_section() 3882 && elf_section_data (sec)->relocs != internal_relocs) in elf64_alpha_relax_section() [all …]
|
| D | elf-eh-frame.c | 906 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()
|
| D | elf32-score.c | 151 ((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()
|
| D | elf32-spu.c | 1017 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-9-stable/contrib/binutils/binutils/ |
| D | objcopy.c | 814 ghdr = &elf_section_data (group)->this_hdr; in group_signature()
|