Searched refs:sh_type (Results 1 - 25 of 96) sorted by relevance

1234

/freebsd-11-stable/contrib/elftoolchain/libelf/
H A Dgelf_syminfo.c41 uint32_t sh_type; local
59 sh_type = scn->s_shdr.s_shdr32.sh_type;
61 sh_type = scn->s_shdr.s_shdr64.sh_type;
63 if (_libelf_xlate_shtype(sh_type) != ELF_T_SYMINFO) {
102 uint32_t sh_type; local
120 sh_type = scn->s_shdr.s_shdr32.sh_type;
122 sh_type
[all...]
H A Dgelf_symshndx.c42 uint32_t sh_type; local
62 sh_type = scn->s_shdr.s_shdr32.sh_type;
64 sh_type = scn->s_shdr.s_shdr64.sh_type;
66 if (_libelf_xlate_shtype(sh_type) != ELF_T_WORD ||
95 uint32_t sh_type; local
114 sh_type = scn->s_shdr.s_shdr32.sh_type;
116 sh_type
[all...]
H A Dgelf_cap.c45 uint32_t sh_type; local
61 sh_type = scn->s_shdr.s_shdr32.sh_type;
63 sh_type = scn->s_shdr.s_shdr64.sh_type;
65 if (_libelf_xlate_shtype(sh_type) != ELF_T_CAP) {
104 uint32_t sh_type; local
120 sh_type = scn->s_shdr.s_shdr32.sh_type;
122 sh_type
[all...]
H A Dgelf_dyn.c45 uint32_t sh_type; local
61 sh_type = scn->s_shdr.s_shdr32.sh_type;
63 sh_type = scn->s_shdr.s_shdr64.sh_type;
65 if (_libelf_xlate_shtype(sh_type) != ELF_T_DYN) {
105 uint32_t sh_type; local
121 sh_type = scn->s_shdr.s_shdr32.sh_type;
123 sh_type
[all...]
H A Dgelf_rela.c43 uint32_t sh_type; local
61 sh_type = scn->s_shdr.s_shdr32.sh_type;
63 sh_type = scn->s_shdr.s_shdr64.sh_type;
65 if (_libelf_xlate_shtype(sh_type) != ELF_T_RELA) {
110 uint32_t sh_type; local
128 sh_type = scn->s_shdr.s_shdr32.sh_type;
130 sh_type
[all...]
H A Dgelf_rel.c43 uint32_t sh_type; local
61 sh_type = scn->s_shdr.s_shdr32.sh_type;
63 sh_type = scn->s_shdr.s_shdr64.sh_type;
65 if (_libelf_xlate_shtype(sh_type) != ELF_T_REL) {
108 uint32_t sh_type; local
126 sh_type = scn->s_shdr.s_shdr32.sh_type;
128 sh_type
[all...]
H A Dgelf_sym.c43 uint32_t sh_type; local
61 sh_type = scn->s_shdr.s_shdr32.sh_type;
63 sh_type = scn->s_shdr.s_shdr64.sh_type;
65 if (_libelf_xlate_shtype(sh_type) != ELF_T_SYM) {
105 uint32_t sh_type; local
123 sh_type = scn->s_shdr.s_shdr32.sh_type;
125 sh_type
[all...]
H A Dgelf_move.c43 uint32_t sh_type; local
61 sh_type = scn->s_shdr.s_shdr32.sh_type;
63 sh_type = scn->s_shdr.s_shdr64.sh_type;
65 if (_libelf_xlate_shtype(sh_type) != ELF_T_MOVE) {
106 uint32_t sh_type; local
124 sh_type = scn->s_shdr.s_shdr32.sh_type;
126 sh_type
[all...]
H A Dlibelf_chdr.c71 if (sh32->sh_type == SHT_NULL || sh32->sh_type == SHT_NOBITS) {
87 if (sh64->sh_type == SHT_NULL || sh64->sh_type == SHT_NOBITS) {
H A Delf_data.c41 unsigned int sh_type; local
79 sh_type = s->s_shdr.s_shdr32.sh_type;
84 sh_type = s->s_shdr.s_shdr64.sh_type;
90 if (sh_type == SHT_NULL) {
96 if ((elftype = _libelf_xlate_shtype(sh_type)) < ELF_T_FIRST ||
97 elftype > ELF_T_LAST || (sh_type != SHT_NOBITS &&
143 if (sh_type == SHT_NOBITS || sh_size == 0) {
219 uint32_t sh_type; local
[all...]
H A Dgelf_shdr.c72 d->sh_type = sh32->sh_type;
119 sh32->sh_type = s->sh_type;
H A Dlibelf_checksum.c84 shdr.sh_type == SHT_DYNAMIC ||
85 shdr.sh_type == SHT_DYNSYM)
H A Delf_update.c116 uint32_t sh_type; local
129 sh_type = shdr32->sh_type;
135 sh_type = shdr64->sh_type;
142 assert(sh_type != SHT_NULL && sh_type != SHT_NOBITS);
144 elftype = _libelf_xlate_shtype(sh_type);
453 size_t sh_type; local
463 sh_type
726 uint32_t sh_type; local
[all...]
H A Delf_strptr.c57 if (shdr.sh_type != SHT_STRTAB ||
/freebsd-11-stable/contrib/binutils/include/elf/
H A Dexternal.h102 unsigned char sh_type[4]; /* Type of section */ member in struct:__anon505
115 unsigned char sh_type[4]; /* Type of section */ member in struct:__anon506
H A Dinternal.h80 unsigned int sh_type; /* Type of section */ member in struct:elf_internal_shdr
265 || sec_hdr->sh_type != SHT_NOBITS \
279 && (sec_hdr->sh_type == SHT_NOBITS \
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libctf/common/
H A Dctf_lib.c166 dst->sh_type = src->sh_type;
396 if (shp->sh_type == SHT_PROGBITS &&
399 ctfsect.cts_type = shp->sh_type;
405 } else if (shp->sh_type == SHT_SYMTAB) {
407 symsect.cts_type = shp->sh_type;
414 strsect.cts_type = lhp->sh_type;
/freebsd-11-stable/stand/common/
H A Dload_elf_obj.c221 switch (shdr[i].sh_type) {
239 switch (shdr[i].sh_type) {
259 shdr[symstrindex].sh_type != SHT_STRTAB) {
270 shdr[hdr->e_shstrndx].sh_type != SHT_STRTAB) {
282 switch (shdr[i].sh_type) {
309 shdr[i].sh_type == SHT_NOBITS)
444 if (shdr[i].sh_type != SHT_PROGBITS)
483 if (shdr[i].sh_type != SHT_RELA && shdr[i].sh_type != SHT_REL)
492 switch (shdr[i].sh_type) {
[all...]
/freebsd-11-stable/contrib/elftoolchain/libdwarf/
H A Dlibdwarf_elf_init.c156 if ((sh.sh_type != SHT_REL && sh.sh_type != SHT_RELA) ||
178 if (sh.sh_type == SHT_REL)
263 if (sh.sh_type == SHT_NOBITS)
319 if (sh.sh_type == SHT_NOBITS)
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DELFDump.cpp45 if (Sec.sh_type == ELF::SHT_DYNSYM)
70 if ((*SecOrErr)->sh_type == ELF::SHT_RELA) {
74 } else if ((*SecOrErr)->sh_type != ELF::SHT_REL) {
319 if (Shdr.sh_type != ELF::SHT_GNU_verneed &&
320 Shdr.sh_type != ELF::SHT_GNU_verdef)
329 if (Shdr.sh_type == ELF::SHT_GNU_verneed)
/freebsd-11-stable/contrib/elftoolchain/elfcopy/
H A Dpe.c153 if (sh.sh_type == SHT_NOBITS)
180 if (sh.sh_type != SHT_NOBITS)
213 if (sh.sh_type != SHT_NOBITS) {
/freebsd-11-stable/sys/compat/linux/
H A Dlinux_vdso.c129 if (shdr[i].sh_type == SHT_DYNSYM) {
201 if (shdr[i].sh_type != SHT_SYMTAB &&
202 shdr[i].sh_type != SHT_DYNSYM)
/freebsd-11-stable/contrib/binutils/bfd/
H A Delf.c483 if (hdr->sh_type != SHT_SYMTAB
515 ( (shdr)->sh_type == SHT_GROUP \
743 else if (idx->shdr->sh_type == SHT_RELA
744 || idx->shdr->sh_type == SHT_REL)
757 (unsigned int) idx->shdr->sh_type,
804 elf_section_type (newsect) = hdr->sh_type;
816 if (hdr->sh_type != SHT_NOBITS)
818 if (hdr->sh_type == SHT_GROUP)
823 if (hdr->sh_type != SHT_NOBITS)
1859 switch (hdr->sh_type)
2765 unsigned int sh_type; local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Object/
H A DELFObjectFile.h321 assert(SymTable->sh_type == ELF::SHT_SYMTAB ||
322 SymTable->sh_type == ELF::SHT_DYNSYM);
374 if (Sec.sh_type == ELF::SHT_ARM_ATTRIBUTES) {
489 return getSection(Sec)->sh_type;
726 if (EShdr->sh_type == ELF::SHT_NOBITS)
754 return EShdr->sh_type == ELF::SHT_PROGBITS &&
763 EShdr->sh_type == ELF::SHT_NOBITS;
777 if (Sec.sh_type != ELF::SHT_DYNAMIC)
797 return getSection(Sec)->sh_type == ELF::SHT_NOBITS;
810 return !isBerkeleyText(Sec) && EShdr->sh_type !
[all...]
/freebsd-11-stable/contrib/binutils/binutils/
H A Dreadelf.c2531 get_mips_section_type_name (unsigned int sh_type)
2533 switch (sh_type)
2581 get_parisc_section_type_name (unsigned int sh_type)
2583 switch (sh_type)
2599 get_ia64_section_type_name (unsigned int sh_type)
2602 if ((sh_type & 0xFF000000) == SHT_IA_64_LOPSREG)
2603 return get_osabi_name ((sh_type & 0x00FF0000) >> 16);
2605 switch (sh_type)
2617 get_x86_64_section_type_name (unsigned int sh_type)
2619 switch (sh_type)
2528 get_mips_section_type_name(unsigned int sh_type) argument
2578 get_parisc_section_type_name(unsigned int sh_type) argument
2596 get_ia64_section_type_name(unsigned int sh_type) argument
2614 get_x86_64_section_type_name(unsigned int sh_type) argument
2626 get_arm_section_type_name(unsigned int sh_type) argument
2643 get_section_type_name(unsigned int sh_type) argument
[all...]

Completed in 431 milliseconds

1234