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

1234

/opensolaris-onvv-gate/usr/src/cmd/sgs/libelf/common/
H A Dchecksum.c152 if ((shdr->sh_type == SHT_DYNSYM) ||
153 (shdr->sh_type == SHT_DYNAMIC) ||
154 (shdr->sh_type == SHT_SUNW_dof))
H A Dstrptr.c54 if ((sh == 0) || (sh->sh_type != SHT_STRTAB)) {
62 if ((sh == 0) || (sh->sh_type != SHT_STRTAB)) {
H A Dupdate.c221 if (sh->sh_type == SHT_NULL) {
230 if ((sz = (Lword)_elf_entsz(elf, sh->sh_type, ver)) != 0)
268 if (sh->sh_type == SHT_NOBITS) {
412 if ((sh->sh_type != SHT_NOBITS) &&
420 if ((sh->sh_type != SHT_NOBITS) &&
588 if ((sh->sh_type == SHT_NOBITS) ||
589 (sh->sh_type == SHT_NULL)) {
907 if ((sh->sh_type == SHT_NOBITS) || (sh->sh_type == SHT_NULL))
/opensolaris-onvv-gate/usr/src/cmd/sgs/libld/common/
H A Dplace.c571 * sh_type - New section type to apply
578 isp_convert_type(Is_desc *isp, Word sh_type) argument
586 shdr->sh_type = sh_type;
688 if ((shflags & SHF_GROUP) || (shdr->sh_type == SHT_GROUP)) {
719 if (shdr->sh_type == SHT_GROUP) {
767 if (enp->ec_type && (enp->ec_type != shdr->sh_type))
987 (shdr->sh_type != SHT_GROUP) &&
988 (shdr->sh_type != SHT_SUNW_dof) &&
989 ((shdr->sh_type
[all...]
/opensolaris-onvv-gate/usr/src/cmd/boot/symdef/
H A Dsymdef.c95 ((shdr.sh_type != SHT_SYMTAB) &&
96 (shdr.sh_type != SHT_DYNSYM)) ||
/opensolaris-onvv-gate/usr/src/cmd/sgs/librtld/common/
H A Ddldump.c370 (shdr->sh_type == SHT_SUNW_syminfo)) {
387 if ((shdr->sh_type == SHT_STRTAB) &&
401 if ((shdr->sh_type == M_REL_SHT_TYPE) && shdr->sh_addr)
451 if ((shdr->sh_type == M_REL_SHT_TYPE) && shdr->sh_addr) {
477 if ((shdr->sh_type == M_REL_SHT_TYPE) && shdr->sh_addr) {
596 shdr->sh_type = SHT_PROGBITS;
674 if (shdr->sh_type == SHT_NOBITS) {
675 shdr->sh_type = SHT_PROGBITS;
779 if ((shdr->sh_type == SHT_SYMTAB) ||
780 (shdr->sh_type
[all...]
/opensolaris-onvv-gate/usr/src/lib/libsysevent/
H A Dlibsysevent_impl.h49 int sh_type; /* pub/sub channel binding */ member in struct:sysevent_impl_handle
97 #define SH_TYPE(sehp) (SYSEVENT_IMPL_HNDL(sehp)->sh_type)
/opensolaris-onvv-gate/usr/src/cmd/sgs/libelf/demo/
H A Ddispsyms.c100 if ((shdr.sh_type != SHT_SYMTAB) &&
101 (shdr.sh_type != SHT_DYNSYM) &&
102 (shdr.sh_type != SHT_SUNW_LDYNSYM))
178 if ((_shdr.sh_type ==
/opensolaris-onvv-gate/usr/src/grub/grub-0.97/netboot/
H A Di386_elf.h63 Elf32_Word sh_type; /* Section type. */ member in struct:__anon2332
74 /* sh_type */
/opensolaris-onvv-gate/usr/src/cmd/sgs/elfwrap/common/
H A Delfwrap.c306 shdr->sh_type = outsec->os_type;
315 switch (shdr->sh_type) {
407 if (shdr->sh_type == SHT_PROGBITS)
414 if (shdr->sh_type == SHT_SYMTAB) {
417 } else if (shdr->sh_type == SHT_STRTAB) {
486 if (outsec->os_shdr->sh_type == SHT_PROGBITS) {
496 if (outsec->os_shdr->sh_type != SHT_PROGBITS)
/opensolaris-onvv-gate/usr/src/lib/libctf/common/
H A Dctf_lib.c145 dst->sh_type = src->sh_type;
347 if (shp->sh_type == SHT_PROGBITS &&
350 ctfsect.cts_type = shp->sh_type;
356 } else if (shp->sh_type == SHT_SYMTAB) {
358 symsect.cts_type = shp->sh_type;
365 strsect.cts_type = lhp->sh_type;
/opensolaris-onvv-gate/usr/src/cmd/file/
H A Delf_read.c454 if (shdr->sh_type == SHT_NULL) {
460 if (shdr->sh_type == SHT_SUNW_cap) {
522 (shdr->sh_type == SHT_SYMTAB)) {
530 ((shdr->sh_type == SHT_SUNW_DEBUG) ||
531 (shdr->sh_type == SHT_SUNW_DEBUGSTR) ||
/opensolaris-onvv-gate/usr/src/cmd/sgs/elfedit/modules/common/
H A Dstr.c146 shtype_to_strtab(Word sh_type, Word sh_flags) argument
153 if (sh_type == SHT_STRTAB)
162 switch (sh_type) {
209 switch (shtype_to_strtab(shdr->sh_type, shdr->sh_flags)) {
361 if ((dynsec->sec_shdr->sh_type == SHT_DYNAMIC) &&
720 add_shtyp_match(Word sh_type, void *cpldata) argument
726 s = elfedit_atoconst_value_to_str(ELFEDIT_CONST_SHT, sh_type, 0);
792 shtostr_type = shtype_to_strtab(shdr->sh_type, shdr->sh_flags);
805 add_shtyp_match(shdr->sh_type, cpldata);
869 elfedit_atoui_t sh_type; local
[all...]
H A Dshdr.c57 SHDR_CMD_T_SH_TYPE = 10 /* shdr:sh_type */
239 if (shdr->sh_type != ref_sec->sec_shdr->sh_type)
331 conv_sec_type(osabi, mach, shdr->sh_type, 0,
335 EC_WORD(shdr->sh_type));
699 Word sh_type = elfedit_atoconst(argstate.argv[1], local
703 if (shdr->sh_type == sh_type) {
708 conv_sec_type(osabi, mach, shdr->sh_type,
715 conv_sec_type(osabi, mach, shdr->sh_type,
[all...]
/opensolaris-onvv-gate/usr/src/cmd/sgs/elfdump/common/
H A Delfdump.c226 if (strsec->c_shdr->sh_type != SHT_STRTAB) {
467 if (shdr->sh_type == 0) {
469 file, secname, EC_WORD(shdr->sh_type));
472 if (!match(MATCH_F_ALL, secname, seccnt, shdr->sh_type))
842 if ((shdr->sh_type != SHT_PROGBITS) &&
843 (shdr->sh_type != SHT_AMD64_UNWIND))
865 if (!match(MATCH_F_ALL, _cache->c_name, cnt, shdr->sh_type))
970 if ((shdr->sh_type != SHT_SYMTAB_SHNDX) ||
1283 if (cishdr->sh_type != SHT_SUNW_capinfo) {
1304 if ((sshdr->sh_type !
2679 dyn_test(dyn_test_t test_type, Word sh_type, Cache *sec_cache, Dyn *dyn, Word dynsec_cnt, Ehdr *ehdr, uchar_t osabi, const char *file) argument
[all...]
/opensolaris-onvv-gate/usr/src/cmd/sgs/size/common/
H A Dprocess.c153 (!(shdr.sh_type == SHT_NOBITS)) &&
158 (!(shdr.sh_type == SHT_NOBITS)) &&
162 (shdr.sh_type == SHT_NOBITS) &&
/opensolaris-onvv-gate/usr/src/lib/libtnfctl/
H A Dtraverse.c163 if (rel_shdr->sh_type == SHT_RELA) {
165 } else if (rel_shdr->sh_type == SHT_REL) {
291 if (shdr->sh_type != SHT_DYNSYM)
/opensolaris-onvv-gate/usr/src/uts/common/os/
H A Dksyms_snapshot.c169 shp->sh_type = SHT_SYMTAB;
179 shp->sh_type = SHT_STRTAB;
187 shp->sh_type = SHT_STRTAB;
/opensolaris-onvv-gate/usr/src/uts/intel/amd64/krtld/
H A Dkobj_reloc.c291 if (rshp->sh_type == SHT_REL) {
296 if (rshp->sh_type != SHT_RELA)
329 if (do_relocate(mp, (char *)rshp->sh_addr, rshp->sh_type,
/opensolaris-onvv-gate/usr/src/uts/intel/ia32/krtld/
H A Dkobj_reloc.c285 if (rshp->sh_type == SHT_RELA) {
290 if (rshp->sh_type != SHT_REL)
323 if (do_relocate(mp, (char *)rshp->sh_addr, rshp->sh_type,
/opensolaris-onvv-gate/usr/src/cmd/sgs/dump/common/
H A Ddump.c549 if ((_shdr.sh_type == SHT_SYMTAB_SHNDX) &&
665 EC_WORD(p->p_shdr.sh_type),
673 p->p_shdr.sh_type, DUMP_CONVFMT, &inv_buf));
783 if ((p_scns->p_shdr.sh_type != SHT_RELA) &&
784 (p_scns->p_shdr.sh_type != SHT_REL)) {
810 if (head_scns->p_shdr.sh_type == SHT_SYMTAB) {
812 } else if (head_scns->p_shdr.sh_type == SHT_DYNSYM) {
837 if (p_scns->p_shdr.sh_type == SHT_RELA) {
865 if (p_scns->p_shdr.sh_type == SHT_REL) {
922 if (s->p_shdr.sh_type !
[all...]
/opensolaris-onvv-gate/usr/src/cmd/sgs/mcs/common/
H A Dfile.c368 if (shdr->sh_type == SHT_GROUP) {
383 if ((shdr->sh_type == SHT_REL ||
384 shdr->sh_type == SHT_RELA) &&
429 ((shdr->sh_type == SHT_SUNW_DEBUG) ||
430 (shdr->sh_type == SHT_SUNW_DEBUGSTR))) {
440 (shdr->sh_type == SHT_PROGBITS)) {
458 if ((shdr->sh_type == SHT_NOTE) && (state->notesctndx == -1) &&
466 if (shdr->sh_type == SHT_NOBITS)
483 if (shdr->sh_type == SHT_SYMTAB &&
800 if ((src_shdr.sh_type
[all...]
/opensolaris-onvv-gate/usr/src/lib/libproc/common/
H A DPsymtab_machelf32.c487 sp->sh_type = SHT_STRTAB;
506 sp->sh_type = SHT_SUNW_LDYNSYM;
534 sp->sh_type = SHT_DYNSYM;
560 sp->sh_type = SHT_STRTAB;
584 sp->sh_type = SHT_DYNAMIC;
680 sp->sh_type = SHT_PROGBITS;
/opensolaris-onvv-gate/usr/src/tools/ctf/cvt/
H A Doutput.c517 } else if (dynsym && shdr.sh_type == SHT_SYMTAB) {
562 if (shdr.sh_type == SHT_REL || shdr.sh_type == SHT_RELA)
592 if (shdr.sh_type == symtab_type && shdr.sh_entsize != 0) {
623 if (shdr.sh_type != SHT_NOBITS)
636 shdr.sh_type = SHT_PROGBITS;
/opensolaris-onvv-gate/usr/src/uts/sparc/krtld/
H A Dkobj_reloc.c350 if (rshp->sh_type == SHT_REL) {
355 if (rshp->sh_type != SHT_RELA)
385 if (do_relocate(mp, (char *)rshp->sh_addr, rshp->sh_type,

Completed in 299 milliseconds

1234