Home
last modified time | relevance | path

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

12

/mirbsd/src/gnu/usr.bin/binutils/bfd/
Delf-m10200.c535 if (elf_section_data (sec)->this_hdr.contents != NULL)
536 contents = elf_section_data (sec)->this_hdr.contents;
633 elf_section_data (sec)->relocs = internal_relocs;
634 elf_section_data (sec)->this_hdr.contents = contents;
686 elf_section_data (sec)->relocs = internal_relocs;
687 elf_section_data (sec)->this_hdr.contents = contents;
778 elf_section_data (sec)->relocs = internal_relocs;
779 elf_section_data (sec)->this_hdr.contents = contents;
897 elf_section_data (sec)->relocs = internal_relocs;
898 elf_section_data (sec)->this_hdr.contents = contents;
[all …]
Delf32-crx.c594 contents = elf_section_data (sec)->this_hdr.contents; in elf32_crx_relax_delete_bytes()
602 irel = elf_section_data (sec)->relocs; in elf32_crx_relax_delete_bytes()
611 for (irel = elf_section_data (sec)->relocs; irel < irelend; irel++) in elf32_crx_relax_delete_bytes()
630 for (irel = elf_section_data (sec)->relocs; irel < irelend; irel++) in elf32_crx_relax_delete_bytes()
730 || elf_section_data (input_section)->this_hdr.contents == NULL) in elf32_crx_get_relocated_section_contents()
738 memcpy (data, elf_section_data (input_section)->this_hdr.contents, in elf32_crx_get_relocated_section_contents()
799 if (elf_section_data (input_section)->relocs != internal_relocs) in elf32_crx_get_relocated_section_contents()
812 && elf_section_data (input_section)->relocs != internal_relocs) in elf32_crx_get_relocated_section_contents()
999 if (elf_section_data (sec)->this_hdr.contents != NULL) in elf32_crx_relax_section()
1000 contents = elf_section_data (sec)->this_hdr.contents; in elf32_crx_relax_section()
[all …]
Delf32-h8300.c719 if (elf_section_data (sec)->this_hdr.contents != NULL) in elf32_h8_relax_section()
720 contents = elf_section_data (sec)->this_hdr.contents; in elf32_h8_relax_section()
812 elf_section_data (sec)->relocs = internal_relocs; in elf32_h8_relax_section()
813 elf_section_data (sec)->this_hdr.contents = contents; in elf32_h8_relax_section()
948 elf_section_data (sec)->relocs = internal_relocs; in elf32_h8_relax_section()
949 elf_section_data (sec)->this_hdr.contents = contents; in elf32_h8_relax_section()
1015 elf_section_data (sec)->relocs = internal_relocs; in elf32_h8_relax_section()
1016 elf_section_data (sec)->this_hdr.contents = contents; in elf32_h8_relax_section()
1103 elf_section_data (sec)->relocs = internal_relocs; in elf32_h8_relax_section()
1104 elf_section_data (sec)->this_hdr.contents = contents; in elf32_h8_relax_section()
[all …]
Delf-m10300.c901 elf_section_data (sec)->rel_hdr.sh_name));
1051 elf_section_data (input_section)->rel_hdr.sh_name));
1722 if (elf_section_data (section)->this_hdr.contents != NULL)
1723 contents = elf_section_data (section)->this_hdr.contents;
1938 && elf_section_data (section)->relocs != internal_relocs)
1944 && elf_section_data (section)->this_hdr.contents != contents)
1951 elf_section_data (section)->this_hdr.contents = contents;
2032 if (elf_section_data (section)->this_hdr.contents != NULL)
2033 contents = elf_section_data (section)->this_hdr.contents;
2099 elf_section_data (section)->relocs = internal_relocs;
[all …]
Delf32-sh64-com.c116 && elf_section_data (cranges)->this_hdr.sh_type == SHT_SH5_CR_SORTED) in sh64_address_in_cranges()
125 if (elf_section_data (cranges)->this_hdr.sh_type in sh64_address_in_cranges()
140 elf_section_data (cranges)->this_hdr.sh_type = SHT_SH5_CR_SORTED; in sh64_address_in_cranges()
204 if ((elf_section_data (sec)->this_hdr.sh_flags in sh64_get_contents_type()
215 if ((elf_section_data (sec)->this_hdr.sh_flags in sh64_get_contents_type()
Delf32-ip2k.c577 contents = elf_section_data (sec)->this_hdr.contents; in adjust_all_relocations()
579 irelbase = elf_section_data (sec)->relocs; in adjust_all_relocations()
620 irelbase = elf_section_data (stab)->relocs; in adjust_all_relocations()
624 if (elf_section_data (stab)->this_hdr.contents != NULL) in adjust_all_relocations()
625 stabcontents = elf_section_data (stab)->this_hdr.contents; in adjust_all_relocations()
636 elf_section_data (stab)->this_hdr.contents = stabcontents; in adjust_all_relocations()
787 bfd_byte *contents = elf_section_data (sec)->this_hdr.contents; in ip2k_elf_relax_delete_bytes()
808 elf_section_data (sec)->relocs = misc->irelbase; in ip2k_delete_page_insn()
809 elf_section_data (sec)->this_hdr.contents = misc->contents; in ip2k_delete_page_insn()
1126 if (elf_section_data (sec)->this_hdr.contents != NULL) in ip2k_elf_relax_section()
[all …]
Delf32-m68hc11.c725 if (elf_section_data (sec)->this_hdr.contents != NULL) in m68hc11_elf_relax_section()
726 contents = elf_section_data (sec)->this_hdr.contents; in m68hc11_elf_relax_section()
948 elf_section_data (sec)->relocs = internal_relocs; in m68hc11_elf_relax_section()
951 elf_section_data (sec)->this_hdr.contents = contents; in m68hc11_elf_relax_section()
979 elf_section_data (sec)->relocs = internal_relocs; in m68hc11_elf_relax_section()
982 elf_section_data (sec)->this_hdr.contents = contents; in m68hc11_elf_relax_section()
1024 elf_section_data (sec)->relocs = internal_relocs; in m68hc11_elf_relax_section()
1027 elf_section_data (sec)->this_hdr.contents = contents; in m68hc11_elf_relax_section()
1065 elf_section_data (sec)->this_hdr.contents = contents; in m68hc11_elf_relax_section()
1115 contents = elf_section_data (sec)->this_hdr.contents; in m68hc11_elf_relax_delete_bytes()
[all …]
Delf32-msp430.c854 contents = elf_section_data (sec)->this_hdr.contents; in msp430_elf_relax_delete_bytes()
862 irel = elf_section_data (sec)->relocs; in msp430_elf_relax_delete_bytes()
871 for (irel = elf_section_data (sec)->relocs; irel < irelend; irel++) in msp430_elf_relax_delete_bytes()
951 if (elf_section_data (sec)->this_hdr.contents != NULL) in msp430_elf_relax_section()
952 contents = elf_section_data (sec)->this_hdr.contents; in msp430_elf_relax_section()
1086 elf_section_data (sec)->relocs = internal_relocs; in msp430_elf_relax_section()
1087 elf_section_data (sec)->this_hdr.contents = contents; in msp430_elf_relax_section()
1133 && elf_section_data (sec)->this_hdr.contents != contents) in msp430_elf_relax_section()
1140 elf_section_data (sec)->this_hdr.contents = contents; in msp430_elf_relax_section()
1145 && elf_section_data (sec)->relocs != internal_relocs) in msp430_elf_relax_section()
[all …]
Delf-vxworks.c115 elf_section_data (sec->output_section)->this_idx; in elf_vxworks_emit_relocs()
148 d = elf_section_data (sec); in elf_vxworks_final_write_processing()
152 d->this_hdr.sh_info = elf_section_data (sec)->this_idx; in elf_vxworks_final_write_processing()
Delflink.c247 elf_section_data (s)->this_hdr.sh_entsize = bed->s->sizeof_hash_entry; in _bfd_elf_link_create_dynamic_sections()
677 switch (elf_section_data (p)->this_hdr.sh_type) in _bfd_elf_link_omit_section_dynsym()
727 elf_section_data (p)->dynindx = ++dynsymcount; in _bfd_elf_link_renumber_dynsyms()
2017 if (elf_section_data (o)->relocs != NULL) in _bfd_elf_link_read_relocs()
2018 return elf_section_data (o)->relocs; in _bfd_elf_link_read_relocs()
2023 rel_hdr = &elf_section_data (o)->rel_hdr; in _bfd_elf_link_read_relocs()
2043 if (elf_section_data (o)->rel_hdr2) in _bfd_elf_link_read_relocs()
2044 size += elf_section_data (o)->rel_hdr2->sh_size; in _bfd_elf_link_read_relocs()
2055 if (elf_section_data (o)->rel_hdr2 in _bfd_elf_link_read_relocs()
2058 elf_section_data (o)->rel_hdr2, in _bfd_elf_link_read_relocs()
[all …]
Delf32-sh.c1806 if (elf_section_data (symbol_section)->this_hdr.contents != NULL) in sh_elf_reloc_loop()
1807 contents = elf_section_data (symbol_section)->this_hdr.contents; in sh_elf_reloc_loop()
1850 && elf_section_data (symbol_section)->this_hdr.contents != contents) in sh_elf_reloc_loop()
2126 if (elf_section_data (sec)->this_hdr.sh_flags in sh_elf_relax_section()
2160 if (elf_section_data (sec)->this_hdr.contents != NULL) in sh_elf_relax_section()
2161 contents = elf_section_data (sec)->this_hdr.contents; in sh_elf_relax_section()
2303 elf_section_data (sec)->relocs = internal_relocs; in sh_elf_relax_section()
2304 elf_section_data (sec)->this_hdr.contents = contents; in sh_elf_relax_section()
2400 if (elf_section_data (sec)->this_hdr.contents != NULL) in sh_elf_relax_section()
2401 contents = elf_section_data (sec)->this_hdr.contents; in sh_elf_relax_section()
[all …]
Delf32-i370.c778 elf_section_data (s)->dynindx = -1; in i370_elf_size_dynamic_sections()
785 elf_section_data (s)->dynindx = c + 1; in i370_elf_size_dynamic_sections()
866 elf_section_data (sec)->rel_hdr.sh_name)); in i370_elf_check_relocs()
979 elf_section_data (sgot->output_section)->this_hdr.sh_entsize = 4; in i370_elf_finish_dynamic_sections()
1006 indx = elf_section_data (s)->this_idx; in i370_elf_finish_dynamic_sections()
1007 dindx = elf_section_data (s)->dynindx; in i370_elf_finish_dynamic_sections()
1025 elf_section_data (sdynsym->output_section)->this_hdr.sh_info = in i370_elf_finish_dynamic_sections()
1235 elf_section_data (input_section)->rel_hdr.sh_name)); in i370_elf_relocate_section()
1294 indx = elf_section_data (osec)->dynindx; in i370_elf_relocate_section()
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
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()
Delf-bfd.h1119 #define elf_section_data(sec) ((struct bfd_elf_section_data*)(sec)->used_by_bfd) macro
1120 #define elf_linked_to_section(sec) (elf_section_data(sec)->linked_to)
1121 #define elf_section_type(sec) (elf_section_data(sec)->this_hdr.sh_type)
1122 #define elf_section_flags(sec) (elf_section_data(sec)->this_hdr.sh_flags)
1123 #define elf_group_name(sec) (elf_section_data(sec)->group.name)
1124 #define elf_group_id(sec) (elf_section_data(sec)->group.id)
1125 #define elf_next_in_group(sec) (elf_section_data(sec)->next_in_group)
1126 #define elf_sec_group(sec) (elf_section_data(sec)->sec_group)
Delf.c708 elf_section_data (newsect)->this_hdr = *hdr; in _bfd_elf_make_section_from_shdr()
709 elf_section_data (newsect)->this_idx = shindex; in _bfd_elf_make_section_from_shdr()
985 secdata = elf_section_data (sec); in _bfd_elf_merge_sections()
2027 hdr2 = &elf_section_data (target_sect)->rel_hdr; in bfd_section_from_shdr()
2031 BFD_ASSERT (elf_section_data (target_sect)->rel_hdr2 == NULL); in bfd_section_from_shdr()
2034 elf_section_data (target_sect)->rel_hdr2 = hdr2; in bfd_section_from_shdr()
2603 this_hdr = &elf_section_data (asect)->this_hdr; in elf_fake_sections()
2778 &elf_section_data (asect)->rel_hdr, in elf_fake_sections()
2815 elf_section_data (sec)->this_hdr.sh_info = symindx; in bfd_elf_set_group_contents()
2825 elf_section_data (sec)->this_hdr.contents = sec->contents; in bfd_elf_set_group_contents()
[all …]
Delf32-m68k.c688 elf_section_data (sec)->rel_hdr.sh_name));
711 elf_section_data (sec)->sreloc = sreloc;
755 &elf_section_data (s)->local_dynrel);
1696 indx = elf_section_data (osec)->dynindx;
1705 sreloc = elf_section_data (input_section)->sreloc;
2080 elf_section_data (splt->output_section)->this_hdr.sh_entsize
2096 elf_section_data (splt->output_section)->this_hdr.sh_entsize
2112 elf_section_data (splt->output_section)->this_hdr.sh_entsize
2131 elf_section_data (sgot->output_section)->this_hdr.sh_entsize = 4;
2246 && elf_section_data (datasec)->relocs != internal_relocs)
[all …]
Delf32-sh64.h86 ((struct _sh64_elf_section_data *) elf_section_data (sec))
Delf64-x86-64.c897 elf_section_data (sec)->rel_hdr.sh_name)); in elf64_x86_64_check_relocs()
931 elf_section_data (sec)->sreloc = sreloc; in elf64_x86_64_check_relocs()
953 &elf_section_data (s)->local_dynrel); in elf64_x86_64_check_relocs()
1052 elf_section_data (sec)->local_dynrel = NULL; in elf64_x86_64_gc_sweep_hook()
1491 asection *sreloc = elf_section_data (p->sec)->sreloc; in allocate_dynrelocs()
1576 &elf_section_data (s)->local_dynrel); in elf64_x86_64_size_dynamic_sections()
1590 srel = elf_section_data (p->sec)->sreloc; in elf64_x86_64_size_dynamic_sections()
2159 sindx = elf_section_data (osec)->dynindx; in elf64_x86_64_relocate_section()
2168 sreloc = elf_section_data (input_section)->sreloc; in elf64_x86_64_relocate_section()
2844 elf_section_data (htab->splt->output_section)->this_hdr.sh_entsize = in elf64_x86_64_finish_dynamic_sections()
[all …]
Delf32-v850.c2198 contents = elf_section_data (sec)->this_hdr.contents; in v850_elf_relax_delete_bytes()
2213 irel = elf_section_data (sec)->relocs; in v850_elf_relax_delete_bytes()
2504 if (elf_section_data (sec)->this_hdr.contents != NULL) in v850_elf_relax_section()
2505 contents = elf_section_data (sec)->this_hdr.contents; in v850_elf_relax_section()
2720 elf_section_data (sec)->relocs = internal_relocs; in v850_elf_relax_section()
2721 elf_section_data (sec)->this_hdr.contents = contents; in v850_elf_relax_section()
2907 elf_section_data (sec)->relocs = internal_relocs; in v850_elf_relax_section()
2908 elf_section_data (sec)->this_hdr.contents = contents; in v850_elf_relax_section()
3009 && elf_section_data (sec)->relocs != internal_relocs) in v850_elf_relax_section()
3013 && elf_section_data (sec)->this_hdr.contents != (unsigned char *) contents) in v850_elf_relax_section()
Delf64-s390.c1239 elf_section_data (sec)->rel_hdr.sh_name));
1272 elf_section_data (sec)->sreloc = sreloc;
1294 &elf_section_data (s)->local_dynrel);
1398 elf_section_data (sec)->local_dynrel = NULL;
1918 asection *sreloc = elf_section_data (p->sec)->sreloc;
2006 &elf_section_data (s)->local_dynrel);
2020 srela = elf_section_data (p->sec)->sreloc;
2618 sindx = elf_section_data (osec)->dynindx;
2633 sreloc = elf_section_data (input_section)->sreloc;
2663 sreloc = elf_section_data (input_section)->sreloc;
[all …]
Delf32-s390.c1274 elf_section_data (sec)->rel_hdr.sh_name));
1307 elf_section_data (sec)->sreloc = sreloc;
1329 &elf_section_data (s)->local_dynrel);
1433 elf_section_data (sec)->local_dynrel = NULL;
1946 asection *sreloc = elf_section_data (p->sec)->sreloc;
2035 &elf_section_data (s)->local_dynrel);
2049 srela = elf_section_data (p->sec)->sreloc;
2638 sindx = elf_section_data (osec)->dynindx;
2653 sreloc = elf_section_data (input_section)->sreloc;
2682 sreloc = elf_section_data (input_section)->sreloc;
[all …]
Delf32-i386.c1122 unsigned int shnam = elf_section_data (sec)->rel_hdr.sh_name; in elf_i386_check_relocs()
1157 elf_section_data (sec)->sreloc = sreloc; in elf_i386_check_relocs()
1179 &elf_section_data (s)->local_dynrel); in elf_i386_check_relocs()
1276 elf_section_data (sec)->local_dynrel = NULL; in elf_i386_gc_sweep_hook()
1735 asection *sreloc = elf_section_data (p->sec)->sreloc; in allocate_dynrelocs()
1820 &elf_section_data (s)->local_dynrel); in elf_i386_size_dynamic_sections()
1834 srel = elf_section_data (p->sec)->sreloc; in elf_i386_size_dynamic_sections()
2506 sreloc = elf_section_data (input_section)->sreloc; in elf_i386_relocate_section()
2534 sreloc = elf_section_data (input_section)->sreloc; in elf_i386_relocate_section()
2999 sreloc = elf_section_data (input_section)->sreloc; in elf_i386_relocate_section()
[all …]
Delf32-sh64.c328 = (elf_section_data (isec)->this_hdr.sh_flags in sh64_bfd_elf_copy_private_section_data()
709 if (elf_section_data (cranges)->this_hdr.sh_type in sh64_elf_final_write_processing()
717 elf_section_data (cranges)->this_hdr.sh_type in sh64_elf_final_write_processing()
/mirbsd/src/gnu/usr.bin/binutils/ld/emultempl/
Dsh64elf.em104 if (elf_section_data (isec)->this_hdr.sh_flags
162 = (elf_section_data (isec)->this_hdr.sh_flags
189 = (elf_section_data (isec)->this_hdr.sh_flags
293 = (elf_section_data (isec)->this_hdr.sh_flags
320 = (elf_section_data (isec)->this_hdr.sh_flags
371 && ((elf_section_data (isec)->this_hdr.sh_flags
445 && ((elf_section_data (isec)->this_hdr.sh_flags
452 = (elf_section_data (isec)->this_hdr.sh_flags
531 elf_section_data(cranges)->rel_count++;

12