/titanic_51/usr/src/cmd/sgs/libelf/common/ |
H A D | getphnum.c | 65 if (shdr0.sh_info == 0) in elf_getphdrnum() 68 *phnum = shdr0.sh_info; in elf_getphdrnum()
|
/titanic_51/usr/src/cmd/sgs/libld/common/ |
H A D | groups.c | 193 * Get the associated symbol table. Sanity check the sh_info field in ld_group_process() 200 if ((sshdr->sh_info == SHN_UNDEF) || in ld_group_process() 201 (gshdr->sh_info >= (Word)(sshdr->sh_size / sshdr->sh_entsize)) || in ld_group_process() 205 EC_XWORD(gshdr->sh_info)); in ld_group_process() 209 sym += gshdr->sh_info; in ld_group_process()
|
H A D | order.c | 72 * To do this, it uses both the sh_link, and sh_info fields: 92 * sh_info 93 * If sh_info is in the range (1 <= value < shnum), then this input section 95 * sh_info must be unsorted, and is used as the sort key. 97 * If sh_info is SHN_BEFORE or SHN_AFTER, it is put in the pre/post group, 100 * If sh_info is "invalid" (typically 0), then this section is added to 106 * the section to use as a sort key and sh_info is set to 0. The standard 209 * The sh_info field specifies the section index of an in validate_shf_ordered_dest() 214 if ((error = is_keyshndx_ok(ifl, isp2->is_shdr->sh_info)) != 0) in validate_shf_ordered_dest() 304 * SHF_ORDERED uses sh_info, whil in ld_process_ordered() [all...] |
H A D | update.c | 1931 * Update the section headers information. sh_info is in update_osym() 1940 shdr->sh_info = symtab_gbl_bndx; in update_osym() 1957 assert(shdr->sh_info == SYMTAB_LOC_CNT(ofl)); in update_osym() 1958 assert((shdr->sh_info + ofl->ofl_globcnt) == symtab_ndx); in update_osym() 1963 shdr->sh_info = DYNSYM_LOC_CNT(ofl); in update_osym() 1980 shdr->sh_info = ldynsym_ndx; in update_osym() 2349 dyn->d_un.d_ptr = shdr->sh_info; in update_odynamic() 2360 dyn->d_un.d_ptr = shdr->sh_info; in update_odynamic() 2718 ofl->ofl_osverdef->os_shdr->sh_info = num; in update_overdef() 2857 * sh_info t in update_overneed() [all...] |
/titanic_51/usr/src/cmd/sgs/elfedit/modules/common/ |
H A D | shdr.c | 52 SHDR_CMD_T_SH_INFO = 5, /* shdr:sh_info */ 109 SHDR_OPT_F_VALUE_SHNAM = 64, /* -value_shnam: Value of sh_info or */ 111 SHDR_OPT_F_VALUE_SHTYP = 128 /* -value_shtyp: Value of sh_info or */ 294 EC_WORD(shdr->sh_info)); in print_shdr() 544 Word sh_info; in cmd_body() local 547 sh_info = elfedit_name_to_shndx(obj_state, in cmd_body() 550 sh_info = elfedit_type_to_shndx(obj_state, in cmd_body() 554 sh_info = elfedit_atoui(argstate.argv[1], NULL); in cmd_body() 556 if (shdr->sh_info == sh_info) { in cmd_body() [all...] |
H A D | ehdr.c | 510 * value from shdr[0].sh_info in print_ehdr() 514 os_secarr[0].sec_shdr->sh_info; in print_ehdr() 999 Word sh_info; in cmd_body() local 1003 sh_info = phnum; in cmd_body() 1006 sh_info = 0; in cmd_body() 1020 if (shdr0->sh_info == sh_info) { in cmd_body() 1024 EC_WORD(shdr0->sh_info)); in cmd_body() 1029 EC_WORD(shdr0->sh_info), sh_info); in cmd_body() [all...] |
H A D | shdr.msg | 133 Integer value to set for symbol sh_info field. The meaning\n\ 252 The shdr:sh_info command is used to display or alter the\n\ 253 sh_info field of the specified section.\n\ 255 sh_info contains extra information, the interpretation\n\ 258 If shdr:sh_info is called without arguments, the value\n\ 259 of sh_info for every section in the section header array\n\ 262 present, the sh_info field of the section at the specified\n\ 389 @ MSG_CMD_SH_INFO "sh_info"
|
/titanic_51/usr/src/cmd/sgs/mcs/common/ |
H A D | file.c | 385 (shdr->sh_info != SHN_UNDEF && in traverse_file() 386 (temp_scn = elf_getscn(elf, shdr->sh_info)) != 0)) { in traverse_file() 393 shdr->sh_info; in traverse_file() 802 if ((src_shdr.sh_info >= shnum) || in build_file() 804 sh_info].secno < 0)) in build_file() 805 dst_shdr.sh_info = 0; in build_file() 807 dst_shdr.sh_info = state-> in build_file() 808 sec_table[src_shdr.sh_info].secno; in build_file() 1050 dst_shdr.sh_info = 0; in build_file() 1120 if ((shnum >= src_shdr.sh_info) || in build_file() [all...] |
/titanic_51/usr/src/lib/libproc/common/ |
H A D | Psymtab_machelf32.c | 498 sp->sh_info = 0; in fake_elf64() 520 sp->sh_info = sp->sh_size / sizeof (Sym); in fake_elf64() 547 sp->sh_info = 1; /* Index of 1st global in table */ in fake_elf64() 573 sp->sh_info = 0; in fake_elf64() 597 sp->sh_info = 0; in fake_elf64() 693 sp->sh_info = 0; in fake_elf64()
|
H A D | Pcore.c | 1389 b->shdr[1].sh_info = symtab->sh_info; in fake_up_symtab() 1405 b->shdr[2].sh_info = strtab->sh_info; in fake_up_symtab() 1455 b->shdr[1].sh_info = symtab->sh_info; in fake_up_symtab() 1470 b->shdr[2].sh_info = strtab->sh_info; in fake_up_symtab() 1539 dst->sh_info = src->sh_info; in core_shdr_to_gelf() [all...] |
/titanic_51/usr/src/cmd/sgs/elfdump/common/ |
H A D | elfdump.c | 1275 * A typical symbol table uses the sh_info field to indicate one greater in output_symbol() 1277 * Therefore, symbol indexes less than sh_info should have local in output_symbol() 1278 * binding. Symbol indexes greater than, or equal to sh_info, should in output_symbol() 1393 * which string table to use via sh_info. in cap_section() 1395 if (cshdr->sh_info) { in cap_section() 1399 * Validate that the sh_info field points to a string table. in cap_section() 1401 if (cshdr->sh_info >= shnum) { in cap_section() 1403 file, ccache->c_name, EC_WORD(cshdr->sh_info)); in cap_section() 1407 strcache = &cache[cshdr->sh_info]; in cap_section() 1412 file, ccache->c_name, EC_WORD(cshdr->sh_info)); in cap_section() [all...] |
H A D | fake_shdr.c | 948 sec->shdr->sh_info = 0; in get_data() 953 * Some sections define special meanings for sh_link and sh_info. in get_data() 962 sec->shdr->sh_info = 1; /* First global symbol */ in get_data() 971 sec->shdr->sh_info = sec->shdr->sh_size / sizeof (Sym); in get_data() 985 sec->shdr->sh_info = sec->vercnt; in get_data() 990 sec->shdr->sh_info = SINFO_T_DYN; in get_data() 1086 * and the sh_link/sh_info fields may be wrong. in fake_shdr_cache()
|
/titanic_51/usr/src/grub/grub-0.97/netboot/ |
H A D | i386_elf.h | 69 Elf32_Word sh_info; /* Depends on section type. */ member
|
/titanic_51/usr/src/uts/intel/ia32/krtld/ |
H A D | kobj_reloc.c | 297 if (rshp->sh_info >= mp->hdr.e_shnum) { in do_relocations() 298 _kobj_printf(ops, "do_relocations: %s sh_info ", in do_relocations() 307 (mp->shdrs + rshp->sh_info * mp->hdr.e_shentsize); in do_relocations()
|
/titanic_51/usr/src/uts/intel/amd64/krtld/ |
H A D | kobj_reloc.c | 303 if (rshp->sh_info >= mp->hdr.e_shnum) { in do_relocations() 304 _kobj_printf(ops, "do_relocations: %s sh_info ", in do_relocations() 313 (mp->shdrs + rshp->sh_info * mp->hdr.e_shentsize); in do_relocations()
|
/titanic_51/usr/src/uts/sparc/krtld/ |
H A D | kobj_reloc.c | 362 if (rshp->sh_info >= mp->hdr.e_shnum) { in do_relocations() 364 _kobj_printf(ops, " sh_info out of range %lld\n", shn); in do_relocations() 371 (mp->shdrs + rshp->sh_info * mp->hdr.e_shentsize); in do_relocations()
|
/titanic_51/usr/src/cmd/sgs/liblddbg/common/ |
H A D | shdr.c | 56 conv_sec_linkinfo(shdr->sh_info, shdr->sh_flags, &inv_buf2)); in Elf_shdr()
|
H A D | elf.c | 118 EC_WORD(shdr0->sh_info)); in Elf_ehdr()
|
/titanic_51/usr/src/lib/libdtrace/common/ |
H A D | dt_link.c | 535 shp->sh_info = de.de_global; in dump_elf32() 560 shp->sh_info = ESHDR_DOF; in dump_elf32() 672 shp->sh_info = de.de_global; in dump_elf64() 693 shp->sh_info = ESHDR_DOF; in dump_elf64() 1137 if ((scn_tgt = elf_getscn(elf, shdr_rel.sh_info)) == NULL || in process_obj() 1200 shdr_rel.sh_info, &fsym) != 0) { in process_obj() 1359 shdr_rel.sh_info, &fsym) != 0) in process_obj()
|
/titanic_51/usr/src/cmd/file/ |
H A D | elf_read.c | 218 if ((EI_Ehdr_phnum == PN_XNUM) && (EI_Shdr.sh_info != 0)) in elf_read() 219 EI_Ehdr_phnum = EI_Shdr.sh_info; in elf_read()
|
/titanic_51/usr/src/cmd/sgs/libelf/demo/ |
H A D | acom.c | 123 shdr.sh_info = 0; in update_comment()
|
/titanic_51/usr/src/grub/grub-0.97/stage2/ |
H A D | i386-elf.h | 112 Elf32_Word sh_info; /* Additional section information */ member
|
/titanic_51/usr/src/lib/libctf/common/ |
H A D | ctf_elfwrite.c | 194 shdr.sh_info = secxlate[shdr.sh_info]; in ctf_write_elf()
|
/titanic_51/usr/src/boot/sys/sys/ |
H A D | elf32.h | 97 Elf32_Word sh_info; /* Depends on section type. */ member
|
H A D | elf64.h | 106 Elf64_Word sh_info; /* Depends on section type. */ member
|