/titanic_52/usr/src/cmd/sgs/libld/common/ |
H A D | place.c | 655 * 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 D | dldump.c | 383 (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 D | checksum.c | 152 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 D | update.c | 221 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 D | strptr.c | 54 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 D | str.c | 146 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 D | shdr.c | 57 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 D | load_elf_obj.c | 221 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 D | dump.c | 549 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 D | elfwrap.c | 306 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 D | dispsyms.c | 100 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 D | elfdump.c | 230 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 D | file.c | 368 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 D | elf_read.c | 455 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 D | ctfmerge.c | 85 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 D | util_machelf.c | 162 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 D | symdef.c | 95 ((shdr.sh_type != SHT_SYMTAB) && in main() 96 (shdr.sh_type != SHT_DYNSYM)) || in main()
|
/titanic_52/usr/src/lib/libctf/common/ |
H A D | ctf_elfwrite.c | 193 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 D | dt_link.c | 504 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 D | Psymtab_machelf32.c | 492 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 D | process.c | 159 (!(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 D | kobj_reloc.c | 285 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 D | ksyms_snapshot.c | 169 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 D | traverse.c | 163 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 D | kobj_reloc.c | 291 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()
|