Home
last modified time | relevance | path

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

12345

/titanic_52/usr/src/cmd/sgs/libld/common/
H A Dplace.c655 * sh_type - New section type to apply
662 isp_convert_type(Is_desc *isp, Word sh_type) in isp_convert_type() argument
670 shdr->sh_type = sh_type; in isp_convert_type()
775 if ((shflags & SHF_GROUP) || (shdr->sh_type == SHT_GROUP)) { in ld_place_section()
806 if (shdr->sh_type == SHT_GROUP) { in ld_place_section()
854 if (enp->ec_type && (enp->ec_type != shdr->sh_type)) in ld_place_section()
1098 (shdr->sh_type != SHT_GROUP) && in ld_place_section()
1099 (shdr->sh_type != SHT_SUNW_dof) && in ld_place_section()
1100 ((shdr->sh_type in ld_place_section()
[all...]
/titanic_52/usr/src/cmd/sgs/librtld/common/
H A Ddldump.c383 (shdr->sh_type == SHT_SUNW_syminfo)) { in rt_dldump()
400 if ((shdr->sh_type == SHT_STRTAB) && in rt_dldump()
414 if ((shdr->sh_type == M_REL_SHT_TYPE) && shdr->sh_addr) in rt_dldump()
464 if ((shdr->sh_type == M_REL_SHT_TYPE) && shdr->sh_addr) { in rt_dldump()
490 if ((shdr->sh_type == M_REL_SHT_TYPE) && shdr->sh_addr) { in rt_dldump()
609 shdr->sh_type = SHT_PROGBITS; in rt_dldump()
707 if (shdr->sh_type == SHT_NOBITS) { in rt_dldump()
708 shdr->sh_type = SHT_PROGBITS; in rt_dldump()
818 if ((shdr->sh_type == SHT_SYMTAB) || in rt_dldump()
819 (shdr->sh_type in rt_dldump()
[all...]
/titanic_52/usr/src/cmd/sgs/libelf/common/
H A Dchecksum.c152 if ((shdr->sh_type == SHT_DYNSYM) || in elf_checksum()
153 (shdr->sh_type == SHT_DYNAMIC) || in elf_checksum()
154 (shdr->sh_type == SHT_SUNW_dof)) in elf_checksum()
H A Dupdate.c221 if (sh->sh_type == SHT_NULL) { in _elf_upd_lib()
230 if ((sz = (Lword)_elf_entsz(elf, sh->sh_type, ver)) != 0) in _elf_upd_lib()
268 if (sh->sh_type == SHT_NOBITS) { in _elf_upd_lib()
412 if ((sh->sh_type != SHT_NOBITS) && in _elf_upd_usr()
420 if ((sh->sh_type != SHT_NOBITS) && in _elf_upd_usr()
597 if ((sh->sh_type == SHT_NOBITS) || in wrt()
598 (sh->sh_type == SHT_NULL)) { in wrt()
916 if ((sh->sh_type == SHT_NOBITS) || (sh->sh_type == SHT_NULL)) in _elfxx_swap_wrimage()
H A Dstrptr.c54 if ((sh == 0) || (sh->sh_type != SHT_STRTAB)) { in elf_strptr()
62 if ((sh == 0) || (sh->sh_type != SHT_STRTAB)) { in elf_strptr()
/titanic_52/usr/src/cmd/sgs/elfedit/modules/common/
H A Dstr.c146 shtype_to_strtab(Word sh_type, Word sh_flags) in shtype_to_strtab() argument
153 if (sh_type == SHT_STRTAB) in shtype_to_strtab()
162 switch (sh_type) { in shtype_to_strtab()
209 switch (shtype_to_strtab(shdr->sh_type, shdr->sh_flags)) { in shndx_to_strtab()
361 if ((dynsec->sec_shdr->sh_type == SHT_DYNAMIC) && in process_args()
720 add_shtyp_match(Word sh_type, void *cpldata) in add_shtyp_match() argument
726 s = elfedit_atoconst_value_to_str(ELFEDIT_CONST_SHT, sh_type, 0); in add_shtyp_match()
792 shtostr_type = shtype_to_strtab(shdr->sh_type, shdr->sh_flags); in cpl_sh_opt()
805 add_shtyp_match(shdr->sh_type, cpldata); in cpl_sh_opt()
869 elfedit_atoui_t sh_type; in cpl_sec_str() 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) in print_shdr()
331 conv_sec_type(osabi, mach, shdr->sh_type, 0, in print_shdr()
335 EC_WORD(shdr->sh_type)); in print_shdr()
699 Word sh_type = elfedit_atoconst(argstate.argv[1], in cmd_body() local
703 if (shdr->sh_type == sh_type) { in cmd_body()
708 conv_sec_type(osabi, mach, shdr->sh_type, in cmd_body()
715 conv_sec_type(osabi, mach, shdr->sh_type, in cmd_body()
[all...]
/titanic_52/usr/src/boot/sys/boot/common/
H A Dload_elf_obj.c221 switch (shdr[i].sh_type) { in __elfN()
234 switch (shdr[i].sh_type) { in __elfN()
254 shdr[symstrindex].sh_type != SHT_STRTAB) { in __elfN()
265 shdr[hdr->e_shstrndx].sh_type != SHT_STRTAB) { in __elfN()
277 switch (shdr[i].sh_type) { in __elfN()
302 shdr[i].sh_type == SHT_NOBITS) in __elfN()
437 if (shdr[i].sh_type != SHT_PROGBITS) in __elfN()
477 if (shdr[i].sh_type != SHT_RELA && shdr[i].sh_type != SHT_REL) in __elfN()
486 switch (shdr[i].sh_type) { in __elfN()
[all...]
/titanic_52/usr/src/cmd/sgs/dump/common/
H A Ddump.c549 if ((_shdr.sh_type == SHT_SYMTAB_SHNDX) && in print_symtab()
665 EC_WORD(p->p_shdr.sh_type), in print_shdr()
673 p->p_shdr.sh_type, DUMP_CONVFMT, &inv_buf)); in print_shdr()
783 if ((p_scns->p_shdr.sh_type != SHT_RELA) && in dump_reloc_table()
784 (p_scns->p_shdr.sh_type != SHT_REL)) { in dump_reloc_table()
810 if (head_scns->p_shdr.sh_type == SHT_SYMTAB) { in dump_reloc_table()
812 } else if (head_scns->p_shdr.sh_type == SHT_DYNSYM) { in dump_reloc_table()
837 if (p_scns->p_shdr.sh_type == SHT_RELA) { in dump_reloc_table()
865 if (p_scns->p_shdr.sh_type == SHT_REL) { in dump_reloc_table()
922 if (s->p_shdr.sh_type ! in dump_string_table()
[all...]
/titanic_52/usr/src/cmd/sgs/elfwrap/common/
H A Delfwrap.c306 shdr->sh_type = outsec->os_type; in output()
315 switch (shdr->sh_type) { in output()
407 if (shdr->sh_type == SHT_PROGBITS) in output()
414 if (shdr->sh_type == SHT_SYMTAB) { in output()
417 } else if (shdr->sh_type == SHT_STRTAB) { in output()
486 if (outsec->os_shdr->sh_type == SHT_PROGBITS) { in output()
496 if (outsec->os_shdr->sh_type != SHT_PROGBITS) in output()
/titanic_52/usr/src/cmd/sgs/libelf/demo/
H A Ddispsyms.c100 if ((shdr.sh_type != SHT_SYMTAB) && in print_symtab()
101 (shdr.sh_type != SHT_DYNSYM) && in print_symtab()
102 (shdr.sh_type != SHT_SUNW_LDYNSYM)) in print_symtab()
178 if ((_shdr.sh_type == in print_symtab()
/titanic_52/usr/src/cmd/sgs/elfdump/common/
H A Delfdump.c230 if (strsec->c_shdr->sh_type != SHT_STRTAB) { in string()
471 if (shdr->sh_type == 0) { in sections()
473 file, secname, EC_WORD(shdr->sh_type)); in sections()
476 if (!match(MATCH_F_ALL, secname, seccnt, shdr->sh_type)) in sections()
915 if ((shdr->sh_type != SHT_PROGBITS) && in unwind()
916 (shdr->sh_type != SHT_AMD64_UNWIND)) in unwind()
938 if (!match(MATCH_F_ALL, _cache->c_name, cnt, shdr->sh_type)) in unwind()
1043 if ((shdr->sh_type != SHT_SYMTAB_SHNDX) || in symbols_getxindex()
1356 if (cishdr->sh_type != SHT_SUNW_capinfo) { in cap_section()
1377 if ((sshdr->sh_type ! in cap_section()
2751 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) dyn_test() argument
[all...]
/titanic_52/usr/src/cmd/sgs/mcs/common/
H A Dfile.c368 if (shdr->sh_type == SHT_GROUP) { in traverse_file()
383 if ((shdr->sh_type == SHT_REL || in traverse_file()
384 shdr->sh_type == SHT_RELA) && in traverse_file()
429 ((shdr->sh_type == SHT_SUNW_DEBUG) || in traverse_file()
430 (shdr->sh_type == SHT_SUNW_DEBUGSTR))) { in traverse_file()
440 (shdr->sh_type == SHT_PROGBITS)) { in traverse_file()
458 if ((shdr->sh_type == SHT_NOTE) && (state->notesctndx == -1) && in traverse_file()
466 if (shdr->sh_type == SHT_NOBITS) in traverse_file()
483 if (shdr->sh_type == SHT_SYMTAB && in traverse_file()
800 if ((src_shdr.sh_type in build_file()
[all...]
/titanic_52/usr/src/cmd/file/
H A Delf_read.c455 if (shdr->sh_type == SHT_NULL) { in process_shdr()
461 if (shdr->sh_type == SHT_SUNW_cap) { in process_shdr()
539 (shdr->sh_type == SHT_SYMTAB)) { in process_shdr()
550 ((shdr->sh_type == SHT_SUNW_DEBUG) || in process_shdr()
551 (shdr->sh_type == SHT_SUNW_DEBUGSTR) || in process_shdr()
/titanic_52/usr/src/cmd/ctfmerge/
H A Dctfmerge.c85 if (shdr.sh_type == SHT_SYMTAB) in ctfmerge_expect_ctf()
160 if (shdr.sh_type == SHT_PROGBITS && in ctfmerge_elfopen()
163 ctfsect.cts_type = shdr.sh_type; in ctfmerge_elfopen()
175 } else if (shdr.sh_type == SHT_SYMTAB) { in ctfmerge_elfopen()
180 symsect.cts_type = shdr.sh_type; in ctfmerge_elfopen()
194 strsect.cts_type = strhdr.sh_type; in ctfmerge_elfopen()
/titanic_52/usr/src/cmd/sgs/elfedit/common/
H A Dutil_machelf.c162 if (shtype == sec->sec_shdr->sh_type) { in elfedit_type_to_shndx()
377 if (cache->sec_shdr->sh_type == SHT_SUNW_cap) { in elfedit_sec_getcap()
457 if (cache->sec_shdr->sh_type == SHT_SUNW_syminfo) { in elfedit_sec_getsyminfo()
509 switch (sec->sec_shdr->sh_type) { in elfedit_sec_issymtab()
605 symsec->sec_shdr->sh_type, 1); in elfedit_sec_getsymtab()
774 if (strsec->sec_shdr->sh_type == SHT_STRTAB) { in elfedit_sec_getstr()
1010 if ((dynsec->sec_shdr->sh_type == SHT_DYNAMIC) && in elfedit_strtab_insert_test()
1096 if ((dynsec->sec_shdr->sh_type == SHT_DYNAMIC) && in elfedit_strtab_insert()
1157 if (strsec->sec_shdr->sh_type != SHT_STRTAB) in elfedit_offset_to_str()
/titanic_52/usr/src/cmd/boot/symdef/
H A Dsymdef.c95 ((shdr.sh_type != SHT_SYMTAB) && in main()
96 (shdr.sh_type != SHT_DYNSYM)) || in main()
/titanic_52/usr/src/lib/libctf/common/
H A Dctf_elfwrite.c193 if (shdr.sh_type == SHT_REL || shdr.sh_type == SHT_RELA) in ctf_write_elf()
232 if (shdr.sh_type == SHT_SYMTAB && shdr.sh_entsize != 0) { in ctf_write_elf()
275 if (shdr.sh_type != SHT_NOBITS) in ctf_write_elf()
294 shdr.sh_type = SHT_PROGBITS; in ctf_write_elf()
/titanic_52/usr/src/lib/libdtrace/common/
H A Ddt_link.c504 shp->sh_type = SHT_STRTAB; in dump_elf32()
513 shp->sh_type = SHT_SUNW_dof; in dump_elf32()
522 shp->sh_type = SHT_STRTAB; in dump_elf32()
531 shp->sh_type = SHT_SYMTAB; in dump_elf32()
554 shp->sh_type = SHT_RELA; in dump_elf32()
556 shp->sh_type = SHT_REL; in dump_elf32()
641 shp->sh_type = SHT_STRTAB; in dump_elf64()
650 shp->sh_type = SHT_SUNW_dof; in dump_elf64()
659 shp->sh_type = SHT_STRTAB; in dump_elf64()
668 shp->sh_type in dump_elf64()
[all...]
/titanic_52/usr/src/lib/libproc/common/
H A DPsymtab_machelf32.c492 sp->sh_type = SHT_STRTAB; in fake_elf64()
511 sp->sh_type = SHT_SUNW_LDYNSYM; in fake_elf64()
539 sp->sh_type = SHT_DYNSYM; in fake_elf64()
565 sp->sh_type = SHT_STRTAB; in fake_elf64()
589 sp->sh_type = SHT_DYNAMIC; in fake_elf64()
685 sp->sh_type = SHT_PROGBITS; in fake_elf64()
/titanic_52/usr/src/cmd/sgs/size/common/
H A Dprocess.c159 (!(shdr.sh_type == SHT_NOBITS)) && in process()
164 (!(shdr.sh_type == SHT_NOBITS)) && in process()
168 (shdr.sh_type == SHT_NOBITS) && in process()
/titanic_52/usr/src/uts/intel/ia32/krtld/
H A Dkobj_reloc.c285 if (rshp->sh_type == SHT_RELA) { in do_relocations()
290 if (rshp->sh_type != SHT_REL) in do_relocations()
323 if (do_relocate(mp, (char *)rshp->sh_addr, rshp->sh_type, in do_relocations()
/titanic_52/usr/src/uts/common/os/
H A Dksyms_snapshot.c169 shp->sh_type = SHT_SYMTAB; in ksyms_snapshot()
179 shp->sh_type = SHT_STRTAB; in ksyms_snapshot()
187 shp->sh_type = SHT_STRTAB; in ksyms_snapshot()
/titanic_52/usr/src/lib/libtnfctl/
H A Dtraverse.c163 if (rel_shdr->sh_type == SHT_RELA) { in _tnfctl_traverse_rela()
165 } else if (rel_shdr->sh_type == SHT_REL) { in _tnfctl_traverse_rela()
291 if (shdr->sh_type != SHT_DYNSYM) in _tnfctl_traverse_dynsym()
/titanic_52/usr/src/uts/intel/amd64/krtld/
H A Dkobj_reloc.c291 if (rshp->sh_type == SHT_REL) { in do_relocations()
296 if (rshp->sh_type != SHT_RELA) in do_relocations()
329 if (do_relocate(mp, (char *)rshp->sh_addr, rshp->sh_type, in do_relocations()

12345