Home
last modified time | relevance | path

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

12

/mirbsd/src/gnu/usr.bin/binutils/bfd/
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()
Delf.c454 if (hdr->sh_type != SHT_SYMTAB in group_signature()
487 if (shdr->sh_type == SHT_GROUP && shdr->sh_size >= 8) in setup_group()
512 if (shdr->sh_type == SHT_GROUP && shdr->sh_size >= 8) in setup_group()
651 else if (idx->shdr->sh_type == SHT_RELA in _bfd_elf_setup_group_pointers()
652 || idx->shdr->sh_type == SHT_REL) in _bfd_elf_setup_group_pointers()
665 (unsigned int) idx->shdr->sh_type, in _bfd_elf_setup_group_pointers()
712 elf_section_type (newsect) = hdr->sh_type; in _bfd_elf_make_section_from_shdr()
724 if (hdr->sh_type != SHT_NOBITS) in _bfd_elf_make_section_from_shdr()
726 if (hdr->sh_type == SHT_GROUP) in _bfd_elf_make_section_from_shdr()
731 if (hdr->sh_type != SHT_NOBITS) in _bfd_elf_make_section_from_shdr()
[all …]
Delfcode.h297 dst->sh_type = H_GET_32 (abfd, src->sh_type); in elf_swap_shdr_in()
323 H_PUT_32 (abfd, src->sh_type, dst->sh_type); in elf_swap_shdr_out()
723 || i_shdrp[shindex].sh_type == SHT_RELA in elf_object_p()
724 || i_shdrp[shindex].sh_type == SHT_REL) in elf_object_p()
734 && i_shdrp[shindex].sh_type != SHT_NOBITS in elf_object_p()
811 if ((elf_section_data (s)->this_hdr.sh_type == SHT_REL in elf_object_p()
812 || elf_section_data (s)->this_hdr.sh_type == SHT_RELA) in elf_object_p()
895 if (rela_hdr->sh_type == SHT_RELA) in elf_write_relocs()
900 else if (rela_hdr->sh_type == SHT_REL) in elf_write_relocs()
1454 (long) hdr->sh_type, in elf_debug_section()
Delf32-sh64.c146 elf_section_hdr->sh_type = SHT_SH5_CR_SORTED; in sh64_elf_fake_sections()
270 switch (hdr->sh_type) in sh64_backend_section_from_shdr()
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()
Delfxx-mips.c4950 if (hdr->sh_type == SHT_MIPS_REGINFO in _bfd_mips_elf_section_processing()
4967 if (hdr->sh_type == SHT_MIPS_OPTIONS in _bfd_mips_elf_section_processing()
5040 hdr->sh_type = SHT_PROGBITS; in _bfd_mips_elf_section_processing()
5045 hdr->sh_type = SHT_NOBITS; in _bfd_mips_elf_section_processing()
5050 hdr->sh_type = SHT_PROGBITS; in _bfd_mips_elf_section_processing()
5055 hdr->sh_type = SHT_PROGBITS; in _bfd_mips_elf_section_processing()
5093 switch (hdr->sh_type) in _bfd_mips_elf_section_from_shdr()
5174 if (hdr->sh_type == SHT_MIPS_REGINFO) in _bfd_mips_elf_section_from_shdr()
5190 if (hdr->sh_type == SHT_MIPS_OPTIONS) in _bfd_mips_elf_section_from_shdr()
5256 unsigned int sh_type; in _bfd_mips_elf_fake_sections() local
[all …]
Delf32-v850.c1958 switch (elf_elfsections(abfd)[indx]->sh_type) in v850_elf_symbol_processing()
2055 switch (elf_elfsections(abfd)[indx]->sh_type) in v850_elf_add_symbol_hook()
2134 switch (hdr->sh_type) in v850_elf_section_from_shdr()
2162 hdr->sh_type = SHT_V850_SCOMMON; in v850_elf_fake_sections()
2164 hdr->sh_type = SHT_V850_TCOMMON; in v850_elf_fake_sections()
2166 hdr->sh_type = SHT_V850_ZCOMMON; in v850_elf_fake_sections()
Delf64-sparc.c256 && (elf_section_data (s)->this_hdr.sh_type == SHT_RELA)) in elf64_sparc_canonicalize_dynamic_reloc()
338 if (rela_hdr->sh_type != SHT_RELA) in elf64_sparc_write_relocs()
Delf32-i370.c365 if (hdr->sh_type == SHT_ORDERED) in i370_elf_section_from_shdr()
386 shdr->sh_type = SHT_ORDERED; in i370_elf_fake_sections()
Delfxx-ia64.c1431 switch (hdr->sh_type) in elfNN_ia64_section_from_shdr()
1486 hdr->sh_type = SHT_IA_64_UNWIND;
1490 hdr->sh_type = SHT_IA_64_EXT;
1492 hdr->sh_type = SHT_IA_64_HP_OPT_ANOT;
1510 hdr->sh_type = SHT_PROGBITS;
1532 switch (hdr->sh_type)
1663 if (hdr->sh_type != SHT_IA_64_UNWIND)
5166 elf_section_data (group)->this_hdr.sh_type = SHT_GROUP; in elfNN_ia64_object_p()
/mirbsd/src/gnu/usr.bin/binutils/include/elf/
Dexternal.h102 unsigned char sh_type[4]; /* Type of section */ member
115 unsigned char sh_type[4]; /* Type of section */ member
Dinternal.h80 unsigned int sh_type; /* Type of section */ member
/mirbsd/src/sys/lib/libsa/
Dloadfile_elf.c188 if (shp[i].sh_type == SHT_SYMTAB) in ELFNAME()
192 if (shp[i].sh_type == SHT_SYMTAB || in ELFNAME()
193 shp[i].sh_type == SHT_STRTAB) { in ELFNAME()
/mirbsd/src/gnu/usr.bin/binutils/binutils/
Dreadelf.c2494 get_mips_section_type_name (unsigned int sh_type) in get_mips_section_type_name() argument
2496 switch (sh_type) in get_mips_section_type_name()
2544 get_parisc_section_type_name (unsigned int sh_type) in get_parisc_section_type_name() argument
2546 switch (sh_type) in get_parisc_section_type_name()
2558 get_ia64_section_type_name (unsigned int sh_type) in get_ia64_section_type_name() argument
2561 if ((sh_type & 0xFF000000) == SHT_IA_64_LOPSREG) in get_ia64_section_type_name()
2562 return get_osabi_name ((sh_type & 0x00FF0000) >> 16); in get_ia64_section_type_name()
2564 switch (sh_type) in get_ia64_section_type_name()
2576 get_x86_64_section_type_name (unsigned int sh_type) in get_x86_64_section_type_name() argument
2578 switch (sh_type) in get_x86_64_section_type_name()
[all …]
/mirbsd/src/sbin/modload/
Delf.c116 shdr.sh_type != SHT_STRTAB && in read_sections()
117 shdr.sh_type != SHT_SYMTAB && in read_sections()
118 shdr.sh_type != SHT_DYNSYM) { in read_sections()
127 s->type = shdr.sh_type; in read_sections()
/mirbsd/src/usr.bin/file/
Dreadelf.h173 Elf32_Word sh_type; member
186 Elf64_Word sh_type; member
Dreadelf.c132 ? getu32(swap, sh32.sh_type) \
133 : getu32(swap, sh64.sh_type))
/mirbsd/src/sys/arch/sparc/stand/boot/
Dloadfile.c323 if (shp[i].sh_type == SHT_SYMTAB) in elf_exec()
330 if (shp[i].sh_type == SHT_SYMTAB || in elf_exec()
331 shp[i].sh_type == SHT_STRTAB) { in elf_exec()
/mirbsd/src/usr.bin/elf2olf/
Delf2olf.c164 if (word(shdr.sh_type, e) == SHT_SYMTAB) in main()
166 else if (word(shdr.sh_type, e) == SHT_DYNAMIC) in main()
/mirbsd/src/sys/ddb/
Ddb_elf.c161 if (shp[i].sh_type == SHT_SYMTAB) {
243 if (shp[i].sh_type == SHT_SYMTAB)
/mirbsd/src/sys/sys/
Dexec_elf.h207 Elf32_Word sh_type; /* type */ member
220 Elf64_Half sh_type; /* section type */ member
/mirbsd/src/sys/dev/
Dksyms.c98 if (shdr[i].sh_type == SHT_SYMTAB) {
/mirbsd/src/usr.bin/elf2aout/
Delf2aout.c184 sh[i].sh_type = ftoh32(sh[i].sh_type); in main()
/mirbsd/src/lib/libc/gen/
Dfnlist.c232 if (shdr[i].sh_type == SHT_SYMTAB) { in __elf_fnlist()
Dnlist.c351 if (shdr[i].sh_type == SHT_SYMTAB) { in __elf_fdnlist()
/mirbsd/src/usr.bin/pmdb/
Delf_syms.c153 if (shdr[i].sh_type == SHT_SYMTAB) { in elf_open()

12