Home
last modified time | relevance | path

Searched refs:sh_type (Results 1 – 25 of 67) sorted by relevance

123

/toolchain/binutils/binutils-2.25/gold/
Dcopy-relocs.cc36 template<int sh_type, int size, bool big_endian>
38 Copy_relocs<sh_type, size, big_endian>::copy_reloc( in copy_reloc()
46 Output_data_reloc<sh_type, true, size, big_endian>* reloc_section) in copy_reloc() argument
61 template<int sh_type, int size, bool big_endian>
63 Copy_relocs<sh_type, size, big_endian>::need_copy_reloc( in need_copy_reloc()
86 template<int sh_type, int size, bool big_endian>
88 Copy_relocs<sh_type, size, big_endian>::emit_copy_reloc( in emit_copy_reloc()
93 Output_data_reloc<sh_type, true, size, big_endian>* reloc_section) in emit_copy_reloc() argument
105 template<int sh_type, int size, bool big_endian>
107 Copy_relocs<sh_type, size, big_endian>::make_copy_reloc( in make_copy_reloc()
[all …]
Dreloc.cc283 unsigned int sh_type = shdr.get_sh_type(); in do_read_relocs() local
284 if (sh_type != elfcpp::SHT_REL && sh_type != elfcpp::SHT_RELA) in do_read_relocs()
329 if (sh_type == elfcpp::SHT_REL) in do_read_relocs()
355 sr.sh_type = sh_type; in do_read_relocs()
410 p->data_shndx, p->sh_type, in do_gc_process_relocs()
463 p->sh_type, p->contents->data(), in do_scan_relocs()
479 p->data_shndx, p->sh_type, in do_scan_relocs()
506 template<int sh_type>
519 if (sh_type == elfcpp::SHT_RELA) in local_section_strategy()
553 if (p->sh_type == elfcpp::SHT_REL) in emit_relocs_scan()
[all …]
Dtarget-reloc.h42 template<int size, bool big_endian, typename Target_type, int sh_type,
58 typedef typename Reloc_types<sh_type, size, big_endian>::Reloc Reltype; in scan_relocs()
59 const int reloc_size = Reloc_types<sh_type, size, big_endian>::reloc_size; in scan_relocs()
256 template<int size, bool big_endian, typename Target_type, int sh_type,
272 typedef typename Reloc_types<sh_type, size, big_endian>::Reloc Reltype; in relocate_section()
273 const int reloc_size = Reloc_types<sh_type, size, big_endian>::reloc_size; in relocate_section()
476 template<int sh_type, typename Classify_reloc>
497 if (sh_type == elfcpp::SHT_RELA) in local_section_strategy()
535 template<int size, bool big_endian, int sh_type,
551 typedef typename Reloc_types<sh_type, size, big_endian>::Reloc Reltype; in scan_relocatable_relocs()
[all …]
Dcopy-relocs.h49 template<int sh_type, int size, bool big_endian>
53 typedef typename Reloc_types<sh_type, size, big_endian>::Reloc Reloc;
72 Output_data_reloc<sh_type, true, size, big_endian>*);
82 emit(Output_data_reloc<sh_type, true, size, big_endian>*);
88 Output_data_reloc<sh_type, true, size, big_endian>*);
121 Output_data_reloc<sh_type, true, size, big_endian>*);
Dgc.h42 template<int sh_type, int size, bool big_endian>
157 get_embedded_addend_size(int sh_type, int r_type, Relobj* obj) in get_embedded_addend_size() argument
159 if (sh_type != elfcpp::SHT_REL) in get_embedded_addend_size()
171 template<int size, bool big_endian, typename Target_type, int sh_type,
189 typedef typename Reloc_types<sh_type, size, big_endian>::Reloc Reltype; in gc_process_relocs()
190 const int reloc_size = Reloc_types<sh_type, size, big_endian>::reloc_size; in gc_process_relocs()
232 Reloc_types<sh_type, size, big_endian>::get_reloc_addend_noerror(&reloc); in gc_process_relocs()
264 get_embedded_addend_size<Classify_reloc>(sh_type, r_type, in gc_process_relocs()
340 get_embedded_addend_size<Classify_reloc>(sh_type, r_type, in gc_process_relocs()
Dmapfile.cc364 unsigned int sh_type = relobj->section_type(i); in print_discarded_sections() local
365 if ((sh_type == elfcpp::SHT_PROGBITS in print_discarded_sections()
366 || sh_type == elfcpp::SHT_NOBITS in print_discarded_sections()
367 || sh_type == elfcpp::SHT_GROUP) in print_discarded_sections()
Dtarget.h492 should_include_section(elfcpp::Elf_Word sh_type) const in should_include_section() argument
493 { return this->do_should_include_section(sh_type); } in should_include_section()
852 unsigned int sh_type,
877 unsigned int sh_type,
898 unsigned int sh_type,
916 unsigned int sh_type,
930 unsigned int sh_type,
Dlayout.cc660 elfcpp::Elf_Word sh_type = shdr.get_sh_type(); in include_section() local
662 if ((sh_type >= elfcpp::SHT_LOOS && sh_type <= elfcpp::SHT_HIOS) in include_section()
663 || (sh_type >= elfcpp::SHT_LOPROC && sh_type <= elfcpp::SHT_HIPROC)) in include_section()
664 return parameters->target().should_include_section(sh_type); in include_section()
666 switch (sh_type) in include_section()
1080 unsigned int sh_type = shdr.get_sh_type(); in init_fixed_output_section() local
1085 if (!can_incremental_update(sh_type)) in init_fixed_output_section()
1091 && sh_type == elfcpp::SHT_PROGBITS in init_fixed_output_section()
1105 Output_section* os = this->get_output_section(name, name_key, sh_type, in init_fixed_output_section()
1108 if (sh_type != elfcpp::SHT_NOBITS) in init_fixed_output_section()
[all …]
Dmips.cc2645 template<bool big_endian, int sh_type, typename Classify_reloc>
2647 public Default_scan_relocatable_relocs<sh_type, Classify_reloc>
2655 if (sh_type == elfcpp::SHT_RELA) in local_section_strategy()
2665 return Default_scan_relocatable_relocs<sh_type, Classify_reloc>:: in local_section_strategy()
2677 template<int sh_type, int size, bool big_endian>
2678 class Mips_copy_relocs : public Copy_relocs<sh_type, size, big_endian>
2682 : Copy_relocs<sh_type, size, big_endian>(elfcpp::R_MIPS_COPY) in Mips_copy_relocs()
2688 emit_mips(Output_data_reloc<sh_type, true, size, big_endian>*,
2692 typedef typename Copy_relocs<sh_type, size, big_endian>::Copy_reloc_entry
2700 Output_data_reloc<sh_type, true, size, big_endian>* reloc_section,
[all …]
Dreloc-types.h37 template<int sh_type, int size, bool big_endian>
Di386.cc373 unsigned int sh_type,
387 unsigned int sh_type,
407 unsigned int sh_type,
423 unsigned int sh_type,
435 unsigned int sh_type,
2584 unsigned int sh_type, in scan_relocs() argument
2592 if (sh_type == elfcpp::SHT_RELA) in scan_relocs()
3577 unsigned int sh_type, in relocate_section() argument
3587 gold_assert(sh_type == elfcpp::SHT_REL); in relocate_section()
3682 unsigned int sh_type, in scan_relocatable_relocs() argument
[all …]
Darm.cc1814 template<int sh_type, bool big_endian>
1824 const typename Reloc_types<sh_type,
2043 template<bool big_endian, int sh_type, typename Classify_reloc>
2045 public Default_scan_relocatable_relocs<sh_type, Classify_reloc>
2053 if (sh_type == elfcpp::SHT_RELA) in local_section_strategy()
2233 unsigned int sh_type,
2247 unsigned int sh_type,
2279 unsigned int sh_type,
2295 unsigned int sh_type,
2307 unsigned int sh_type,
[all …]
Daarch64.cc2146 unsigned int sh_type = shdr.get_sh_type(); in section_needs_reloc_stub_scanning() local
2147 if (sh_type != elfcpp::SHT_RELA) in section_needs_reloc_stub_scanning()
2160 gold_assert(sh_type == elfcpp::SHT_RELA); in section_needs_reloc_stub_scanning()
2321 unsigned int sh_type = shdr.get_sh_type(); in scan_sections_for_stubs() local
2323 gold_assert (sh_type == elfcpp::SHT_RELA); in scan_sections_for_stubs()
2327 target->scan_section_for_stubs(&relinfo, sh_type, prelocs, in scan_sections_for_stubs()
2815 unsigned int sh_type,
2829 unsigned int sh_type,
2849 unsigned int sh_type,
2865 unsigned int sh_type,
[all …]
Dtilegx.cc252 unsigned int sh_type,
266 unsigned int sh_type,
286 unsigned int sh_type,
302 unsigned int sh_type,
315 unsigned int sh_type,
4143 unsigned int sh_type, in gc_process_relocs() argument
4154 if (sh_type == elfcpp::SHT_REL) in gc_process_relocs()
4182 unsigned int sh_type, in scan_relocs() argument
4193 if (sh_type == elfcpp::SHT_REL) in scan_relocs()
4728 unsigned int sh_type, in relocate_section() argument
[all …]
Dobject.h127 unsigned int sh_type; member
2549 template<int sh_type>
2562 template<int sh_type>
2569 unsigned int sh_type,
2576 template<int sh_type>
2591 unsigned int sh_type, unsigned int shndx,
2596 template<int sh_type>
Dx86_64.cc446 unsigned int sh_type,
460 unsigned int sh_type,
480 unsigned int sh_type,
496 unsigned int sh_type,
509 unsigned int sh_type,
3118 unsigned int sh_type, in gc_process_relocs() argument
3127 if (sh_type == elfcpp::SHT_REL) in gc_process_relocs()
3156 unsigned int sh_type, in scan_relocs() argument
3164 if (sh_type == elfcpp::SHT_REL) in scan_relocs()
4161 unsigned int sh_type, in relocate_section() argument
[all …]
/toolchain/binutils/binutils-2.25/include/elf/
Dinternal.h103 unsigned int sh_type; /* Type of section */ member
296 && (sec_hdr)->sh_type == SHT_NOBITS \
322 && ((sec_hdr)->sh_type == SHT_NOBITS \
344 || (((sec_hdr)->sh_type == SHT_NOBITS \
Dexternal.h114 unsigned char sh_type[4]; /* Type of section */ member
127 unsigned char sh_type[4]; /* Type of section */ member
/toolchain/binutils/binutils-2.25/bfd/
Delf.c526 if (hdr->sh_type != SHT_SYMTAB in group_signature()
558 ( (shdr)->sh_type == SHT_GROUP \ in setup_group()
814 else if (idx->shdr->sh_type == SHT_RELA in _bfd_elf_setup_sections()
815 || idx->shdr->sh_type == SHT_REL) in _bfd_elf_setup_sections()
828 (unsigned int) idx->shdr->sh_type, in _bfd_elf_setup_sections()
871 elf_section_type (newsect) = hdr->sh_type; in _bfd_elf_make_section_from_shdr()
883 if (hdr->sh_type != SHT_NOBITS) in _bfd_elf_make_section_from_shdr()
885 if (hdr->sh_type == SHT_GROUP) in _bfd_elf_make_section_from_shdr()
890 if (hdr->sh_type != SHT_NOBITS) in _bfd_elf_make_section_from_shdr()
962 if (hdr->sh_type == SHT_NOTE) in _bfd_elf_make_section_from_shdr()
[all …]
Delf32-sh64-com.c117 && elf_section_data (cranges)->this_hdr.sh_type == SHT_SH5_CR_SORTED) in sh64_address_in_cranges()
126 if (elf_section_data (cranges)->this_hdr.sh_type in sh64_address_in_cranges()
141 elf_section_data (cranges)->this_hdr.sh_type = SHT_SH5_CR_SORTED; in sh64_address_in_cranges()
Delfcode.h309 dst->sh_type = H_GET_32 (abfd, src->sh_type); in elf_swap_shdr_in()
335 H_PUT_32 (abfd, src->sh_type, dst->sh_type); in elf_swap_shdr_out()
731 || i_shdrp[shindex].sh_type == SHT_RELA in elf_object_p()
732 || i_shdrp[shindex].sh_type == SHT_REL) in elf_object_p()
740 && i_shdrp[shindex].sh_type != SHT_NOBITS in elf_object_p()
823 if ((elf_section_data (s)->this_hdr.sh_type == SHT_REL in elf_object_p()
824 || elf_section_data (s)->this_hdr.sh_type == SHT_RELA) in elf_object_p()
896 if (rela_hdr->sh_type == SHT_RELA) in elf_write_relocs()
901 else if (rela_hdr->sh_type == SHT_REL) in elf_write_relocs()
1083 if (i_shdr.sh_type == SHT_NOBITS) in elf_checksum_contents()
[all …]
Delf32-sh64.c150 elf_section_hdr->sh_type = SHT_SH5_CR_SORTED; in sh64_elf_fake_sections()
275 switch (hdr->sh_type) in sh64_backend_section_from_shdr()
714 if (elf_section_data (cranges)->this_hdr.sh_type in sh64_elf_final_write_processing()
722 elf_section_data (cranges)->this_hdr.sh_type in sh64_elf_final_write_processing()
/toolchain/binutils/binutils-2.25/binutils/
Dreadelf.c608 if (sec->sh_type == type) in find_section_by_type()
3422 get_mips_section_type_name (unsigned int sh_type) in get_mips_section_type_name() argument
3424 switch (sh_type) in get_mips_section_type_name()
3473 get_parisc_section_type_name (unsigned int sh_type) in get_parisc_section_type_name() argument
3475 switch (sh_type) in get_parisc_section_type_name()
3491 get_ia64_section_type_name (unsigned int sh_type) in get_ia64_section_type_name() argument
3494 if ((sh_type & 0xFF000000) == SHT_IA_64_LOPSREG) in get_ia64_section_type_name()
3495 return get_osabi_name ((sh_type & 0x00FF0000) >> 16); in get_ia64_section_type_name()
3497 switch (sh_type) in get_ia64_section_type_name()
3516 get_x86_64_section_type_name (unsigned int sh_type) in get_x86_64_section_type_name() argument
[all …]
/toolchain/binutils/binutils-2.25/libiberty/
Dsimple-object-elf.c158 unsigned char sh_type[4]; /* Type of section */ member
173 unsigned char sh_type[4]; /* Type of section */ member
768 unsigned int sh_type, unsigned int sh_flags, in simple_object_elf_write_shdr() argument
789 ELF_SET_FIELD (fns, cl, Shdr, buf, sh_type, Elf_Word, sh_type); in simple_object_elf_write_shdr()
/toolchain/binutils/binutils-2.25/elfcpp/
Delfcpp_internal.h71 Elf_Word sh_type; member

123