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

123

/freebsd-10.0-release/lib/libelf/
H A Dgelf_cap.c49 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_CAP) {
106 uint32_t sh_type; local
119 sh_type = scn->s_shdr.s_shdr32.sh_type;
121 sh_type
[all...]
H A Dgelf_dyn.c46 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_DYN) {
102 uint32_t sh_type; local
115 sh_type = scn->s_shdr.s_shdr32.sh_type;
117 sh_type
[all...]
H A Dgelf_syminfo.c49 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_SYMINFO) {
106 uint32_t sh_type; local
119 sh_type = scn->s_shdr.s_shdr32.sh_type;
121 sh_type
[all...]
H A Dgelf_symshndx.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_WORD ||
93 uint32_t sh_type; local
108 sh_type = scn->s_shdr.s_shdr32.sh_type;
110 sh_type
[all...]
H A Dgelf_move.c49 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_MOVE) {
108 uint32_t sh_type; local
121 sh_type = scn->s_shdr.s_shdr32.sh_type;
123 sh_type
[all...]
H A Dgelf_rel.c46 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_REL) {
104 uint32_t sh_type; local
117 sh_type = scn->s_shdr.s_shdr32.sh_type;
119 sh_type
[all...]
H A Dgelf_rela.c46 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_RELA) {
105 uint32_t sh_type; local
118 sh_type = scn->s_shdr.s_shdr32.sh_type;
120 sh_type
[all...]
H A Dgelf_sym.c46 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_SYM) {
107 uint32_t sh_type; local
120 sh_type = scn->s_shdr.s_shdr32.sh_type;
122 sh_type
[all...]
H A Delf_data.c44 unsigned int sh_type; local
70 sh_type = s->s_shdr.s_shdr32.sh_type;
75 sh_type = s->s_shdr.s_shdr64.sh_type;
81 if (sh_type == SHT_NULL) {
86 if ((elftype = _libelf_xlate_shtype(sh_type)) < ELF_T_FIRST ||
87 elftype > ELF_T_LAST || (sh_type != SHT_NOBITS &&
120 if (sh_type == SHT_NOBITS || sh_size == 0) {
193 uint32_t sh_type; local
[all...]
H A Dgelf_shdr.c73 d->sh_type = sh32->sh_type;
120 sh32->sh_type = s->sh_type;
H A Dlibelf_checksum.c85 shdr.sh_type == SHT_DYNAMIC ||
86 shdr.sh_type == SHT_DYNSYM)
H A Delf_update.c93 uint32_t sh_type; local
103 sh_type = shdr32->sh_type;
109 sh_type = shdr64->sh_type;
116 assert(sh_type != SHT_NULL && sh_type != SHT_NOBITS);
118 elftype = _libelf_xlate_shtype(sh_type);
337 size_t sh_type, shdr_start, shdr_end; local
347 sh_type
591 uint32_t sh_type; local
[all...]
/freebsd-10.0-release/contrib/binutils/include/elf/
H A Dexternal.h102 unsigned char sh_type[4]; /* Type of section */ member in struct:__anon515
115 unsigned char sh_type[4]; /* Type of section */ member in struct:__anon516
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-10.0-release/cddl/contrib/opensolaris/lib/libctf/common/
H A Dctf_lib.c166 dst->sh_type = src->sh_type;
395 if (shp->sh_type == SHT_PROGBITS &&
398 ctfsect.cts_type = shp->sh_type;
404 } else if (shp->sh_type == SHT_SYMTAB) {
406 symsect.cts_type = shp->sh_type;
413 strsect.cts_type = lhp->sh_type;
/freebsd-10.0-release/sys/boot/common/
H A Dload_elf_obj.c228 switch (shdr[i].sh_type) {
241 switch (shdr[i].sh_type) {
261 shdr[symstrindex].sh_type != SHT_STRTAB) {
272 shdr[hdr->e_shstrndx].sh_type != SHT_STRTAB) {
284 switch (shdr[i].sh_type) {
309 shdr[i].sh_type == SHT_NOBITS)
443 if (shdr[i].sh_type != SHT_PROGBITS)
482 if (shdr[i].sh_type != SHT_RELA && shdr[i].sh_type != SHT_REL)
491 switch (shdr[i].sh_type) {
[all...]
/freebsd-10.0-release/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddrti.c203 if (shdr.sh_type == SHT_SYMTAB) {
206 } else if (shdr.sh_type == SHT_DYNSYM) {
209 } else if (shdr.sh_type == SHT_PROGBITS) {
H A Ddt_link.c551 shp->sh_type = SHT_STRTAB;
560 shp->sh_type = SHT_SUNW_dof;
569 shp->sh_type = SHT_STRTAB;
578 shp->sh_type = SHT_SYMTAB;
601 shp->sh_type = SHT_RELA;
603 shp->sh_type = SHT_REL;
699 shp->sh_type = SHT_STRTAB;
708 shp->sh_type = SHT_SUNW_dof;
717 shp->sh_type = SHT_STRTAB;
726 shp->sh_type
[all...]
/freebsd-10.0-release/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-10.0-release/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...]
/freebsd-10.0-release/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Doutput.c525 } else if (dynsym && shdr1.sh_type == SHT_SYMTAB) {
570 if (shdr.sh_type == SHT_REL || shdr.sh_type == SHT_RELA)
620 if (shdr.sh_type == symtab_type && shdr.sh_entsize != 0) {
659 if (shdr.sh_type != SHT_NOBITS)
672 shdr.sh_type = SHT_PROGBITS;
/freebsd-10.0-release/usr.sbin/kldxref/
H A Def_obj.c390 switch (shdr[i].sh_type) {
420 shdr[symstrindex].sh_type != SHT_STRTAB) {
457 shdr[hdr->e_shstrndx].sh_type == SHT_STRTAB) {
472 switch (shdr[i].sh_type) {
502 switch (shdr[i].sh_type) {
509 if (shdr[i].sh_type == SHT_PROGBITS) {
/freebsd-10.0-release/lib/libc/gen/
H A Dnlist.c284 if (shdr[i].sh_type == SHT_SYMTAB) {
400 nl->n_type = sh->sh_type == SHT_PROGBITS ?
402 (sh->sh_type == SHT_NOBITS ? N_BSS : N_UNDF);
/freebsd-10.0-release/usr.bin/gprof/
H A Delf.c91 if (shdrs[i].sh_type == SHT_SYMTAB)
/freebsd-10.0-release/contrib/file/
H A Dreadelf.h112 /* sh_type */
180 Elf32_Word sh_type; member in struct:__anon894
193 Elf64_Word sh_type; member in struct:__anon895

Completed in 197 milliseconds

123