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

1234

/freebsd-13-stable/contrib/elftoolchain/libelf/
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_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_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 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_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_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 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-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DELF_x86_64.cpp84 if (SecRef.sh_type != ELF::SHT_SYMTAB &&
85 SecRef.sh_type != ELF::SHT_DYNSYM)
164 if (SecRef.sh_type != ELF::SHT_NOBITS) {
178 if (SecRef.sh_type == ELF::SHT_SYMTAB)
192 if (SecRef.sh_type != ELF::SHT_RELA && SecRef.sh_type != ELF::SHT_REL)
195 if (SecRef.sh_type == ELF::SHT_REL)
277 if (SecRef.sh_type != ELF::SHT_SYMTAB &&
278 SecRef.sh_type != ELF::SHT_DYNSYM)
/freebsd-13-stable/cddl/contrib/opensolaris/lib/libctf/common/
H A Dctf_lib.c167 dst->sh_type = src->sh_type;
397 if (shp->sh_type == SHT_PROGBITS &&
400 ctfsect.cts_type = shp->sh_type;
406 } else if (shp->sh_type == SHT_SYMTAB) {
408 symsect.cts_type = shp->sh_type;
415 strsect.cts_type = lhp->sh_type;
/freebsd-13-stable/stand/common/
H A Dload_elf_obj.c261 switch (shdr[i].sh_type) {
281 switch (shdr[i].sh_type) {
301 shdr[symstrindex].sh_type != SHT_STRTAB) {
312 shdr[hdr->e_shstrndx].sh_type != SHT_STRTAB) {
324 switch (shdr[i].sh_type) {
351 shdr[i].sh_type == SHT_NOBITS)
486 if (shdr[i].sh_type != SHT_PROGBITS)
525 if (shdr[i].sh_type != SHT_RELA && shdr[i].sh_type != SHT_REL)
534 switch (shdr[i].sh_type) {
[all...]
/freebsd-13-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-13-stable/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DELFDump.cpp48 if (Sec.sh_type == ELF::SHT_DYNSYM)
73 if ((*SecOrErr)->sh_type == ELF::SHT_RELA) {
77 } else if ((*SecOrErr)->sh_type != ELF::SHT_REL) {
336 if (Shdr.sh_type != ELF::SHT_GNU_verneed &&
337 Shdr.sh_type != ELF::SHT_GNU_verdef)
346 if (Shdr.sh_type == ELF::SHT_GNU_verneed)
/freebsd-13-stable/lib/libc/gen/
H A Dnlist.c172 if (shdr[i].sh_type == SHT_SYMTAB) {
284 nl->n_type = sh->sh_type == SHT_PROGBITS ?
286 (sh->sh_type == SHT_NOBITS ? N_BSS : N_UNDF);
/freebsd-13-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-13-stable/sys/compat/linux/
H A Dlinux_vdso.c133 if (shdr[i].sh_type == SHT_DYNSYM) {
205 if (shdr[i].sh_type != SHT_SYMTAB &&
206 shdr[i].sh_type != SHT_DYNSYM)
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Object/
H A DELFObjectFile.h322 assert(SymTable->sh_type == ELF::SHT_SYMTAB ||
323 SymTable->sh_type == ELF::SHT_DYNSYM);
375 if (Sec.sh_type == ELF::SHT_ARM_ATTRIBUTES ||
376 Sec.sh_type == ELF::SHT_RISCV_ATTRIBUTES) {
492 return getSection(Sec)->sh_type;
745 if (EShdr->sh_type == ELF::SHT_NOBITS)
773 return EShdr->sh_type == ELF::SHT_PROGBITS &&
782 EShdr->sh_type == ELF::SHT_NOBITS;
796 if (Sec.sh_type != ELF::SHT_DYNAMIC)
816 return getSection(Sec)->sh_type
[all...]
/freebsd-13-stable/sys/kern/
H A Dlink_elf_obj.c383 switch (shdr[i].sh_type) {
420 shdr[symstrindex].sh_type != SHT_STRTAB || shstrindex == 0 ||
422 shdr[shstrindex].sh_type != SHT_STRTAB) {
469 switch (shdr[i].sh_type) {
480 if (shdr[i].sh_type == SHT_PROGBITS)
483 else if (shdr[i].sh_type == SHT_X86_64_UNWIND)
486 else if (shdr[i].sh_type == SHT_INIT_ARRAY)
488 else if (shdr[i].sh_type == SHT_FINI_ARRAY)
538 shdr[i].sh_type == SHT_INIT_ARRAY) {
785 switch (shdr[i].sh_type) {
[all...]
/freebsd-13-stable/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Doutput.c523 } else if (dynsym && shdr1.sh_type == SHT_SYMTAB) {
568 if (shdr.sh_type == SHT_REL || shdr.sh_type == SHT_RELA)
618 if (shdr.sh_type == symtab_type && shdr.sh_entsize != 0) {
657 if (shdr.sh_type != SHT_NOBITS)
670 shdr.sh_type = SHT_PROGBITS;

Completed in 222 milliseconds

1234