/opensolaris-onvv-gate/usr/src/cmd/sgs/libelf/common/ |
H A D | getphnum.c | 65 if (shdr0.sh_info == 0) 68 *phnum = shdr0.sh_info;
|
/opensolaris-onvv-gate/usr/src/cmd/sgs/libld/common/ |
H A D | groups.c | 152 * Get the associated symbol table. Sanity check the sh_info field 159 if ((sshdr->sh_info == SHN_UNDEF) || 160 (gshdr->sh_info >= (Word)(sshdr->sh_size / sshdr->sh_entsize)) || 164 EC_XWORD(gshdr->sh_info)); 168 sym += gshdr->sh_info;
|
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 214 if ((error = is_keyshndx_ok(ifl, isp2->is_shdr->sh_info)) != 0) 304 * SHF_ORDERED uses sh_info, whil [all...] |
H A D | place.c | 152 /* SHF_ORDERED uses sh_info, SHF_LINK_ORDERED uses sh_link */ 154 isp->is_shdr->sh_info : isp->is_shdr->sh_link; 1149 * Try to preserve the intended meaning of sh_link/sh_info. 1154 osp->os_shdr->sh_info = shdr->sh_info;
|
H A D | libs.c | 98 syms += shdr->sh_info; 100 symn -= shdr->sh_info;
|
H A D | update.c | 1931 * Update the section headers information. sh_info is 1940 shdr->sh_info = symtab_gbl_bndx; 1957 assert(shdr->sh_info == SYMTAB_LOC_CNT(ofl)); 1958 assert((shdr->sh_info + ofl->ofl_globcnt) == symtab_ndx); 1963 shdr->sh_info = DYNSYM_LOC_CNT(ofl); 1980 shdr->sh_info = ldynsym_ndx; 2349 dyn->d_un.d_ptr = shdr->sh_info; 2360 dyn->d_un.d_ptr = shdr->sh_info; 2718 ofl->ofl_osverdef->os_shdr->sh_info = num; 2857 * sh_info t [all...] |
/opensolaris-onvv-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | i386_elf.h | 69 Elf32_Word sh_info; /* Depends on section type. */ member in struct:__anon2332
|
/opensolaris-onvv-gate/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)); 544 Word sh_info; local 547 sh_info = elfedit_name_to_shndx(obj_state, 550 sh_info = elfedit_type_to_shndx(obj_state, 554 sh_info = elfedit_atoui(argstate.argv[1], NULL); 556 if (shdr->sh_info == sh_info) { [all...] |
H A D | ehdr.c | 510 * value from shdr[0].sh_info 514 os_secarr[0].sec_shdr->sh_info; 999 Word sh_info; local 1003 sh_info = phnum; 1006 sh_info = 0; 1020 if (shdr0->sh_info == sh_info) { 1024 EC_WORD(shdr0->sh_info)); 1029 EC_WORD(shdr0->sh_info), sh_info); [all...] |
H A D | cap.c | 166 if (argstate->cap.sec->sec_shdr->sh_info == 0) { 176 argstate->cap.sec->sec_shdr->sh_info, 0); 1069 if (cap_sec->sec_shdr->sh_info == 0) 1072 str_sec = elfedit_sec_getstr(obj_state, cap_sec->sec_shdr->sh_info, 0);
|
/opensolaris-onvv-gate/usr/src/lib/libproc/common/ |
H A D | Psymtab_machelf32.c | 493 sp->sh_info = 0; 515 sp->sh_info = sp->sh_size / sizeof (Sym); 542 sp->sh_info = 1; /* Index of 1st global in table */ 568 sp->sh_info = 0; 592 sp->sh_info = 0; 688 sp->sh_info = 0;
|
H A D | Pcore.c | 854 b->shdr[1].sh_info = symtab->sh_info; 870 b->shdr[2].sh_info = strtab->sh_info; 920 b->shdr[1].sh_info = symtab->sh_info; 935 b->shdr[2].sh_info = strtab->sh_info; 1004 dst->sh_info = src->sh_info; [all...] |
/opensolaris-onvv-gate/usr/src/cmd/sgs/libelf/demo/ |
H A D | acom.c | 123 shdr.sh_info = 0;
|
/opensolaris-onvv-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | shdr.c | 56 conv_sec_linkinfo(shdr->sh_info, shdr->sh_flags, &inv_buf2));
|
H A D | elf.c | 118 EC_WORD(shdr0->sh_info));
|
/opensolaris-onvv-gate/usr/src/cmd/sgs/mcs/common/ |
H A D | file.c | 385 (shdr->sh_info != SHN_UNDEF && 386 (temp_scn = elf_getscn(elf, shdr->sh_info)) != 0)) { 393 shdr->sh_info; 802 if ((src_shdr.sh_info >= shnum) || 804 sh_info].secno < 0)) 805 dst_shdr.sh_info = 0; 807 dst_shdr.sh_info = state-> 808 sec_table[src_shdr.sh_info].secno; 1050 dst_shdr.sh_info = 0; 1120 if ((shnum >= src_shdr.sh_info) || [all...] |
/opensolaris-onvv-gate/usr/src/uts/intel/amd64/krtld/ |
H A D | kobj_reloc.c | 303 if (rshp->sh_info >= mp->hdr.e_shnum) { 304 _kobj_printf(ops, "do_relocations: %s sh_info ", 313 (mp->shdrs + rshp->sh_info * mp->hdr.e_shentsize);
|
/opensolaris-onvv-gate/usr/src/uts/intel/ia32/krtld/ |
H A D | kobj_reloc.c | 297 if (rshp->sh_info >= mp->hdr.e_shnum) { 298 _kobj_printf(ops, "do_relocations: %s sh_info ", 307 (mp->shdrs + rshp->sh_info * mp->hdr.e_shentsize);
|
/opensolaris-onvv-gate/usr/src/cmd/sgs/elfdump/common/ |
H A D | elfdump.c | 1202 * A typical symbol table uses the sh_info field to indicate one greater 1204 * Therefore, symbol indexes less than sh_info should have local 1205 * binding. Symbol indexes greater than, or equal to sh_info, should 1320 * which string table to use via sh_info. 1322 if (cshdr->sh_info) { 1326 * Validate that the sh_info field points to a string table. 1328 if (cshdr->sh_info >= shnum) { 1330 file, ccache->c_name, EC_WORD(cshdr->sh_info)); 1334 strcache = &cache[cshdr->sh_info]; 1339 file, ccache->c_name, EC_WORD(cshdr->sh_info)); [all...] |
H A D | fake_shdr.c | 948 sec->shdr->sh_info = 0; 953 * Some sections define special meanings for sh_link and sh_info. 962 sec->shdr->sh_info = 1; /* First global symbol */ 971 sec->shdr->sh_info = sec->shdr->sh_size / sizeof (Sym); 985 sec->shdr->sh_info = sec->vercnt; 990 sec->shdr->sh_info = SINFO_T_DYN; 1086 * and the sh_link/sh_info fields may be wrong.
|
/opensolaris-onvv-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | i386-elf.h | 112 Elf32_Word sh_info; /* Additional section information */ member in struct:__anon2426
|
/opensolaris-onvv-gate/usr/src/cmd/file/ |
H A D | elf_read.c | 220 if ((EI_Ehdr_phnum == PN_XNUM) && (EI_Shdr.sh_info != 0)) 221 EI_Ehdr_phnum = EI_Shdr.sh_info;
|
/opensolaris-onvv-gate/usr/src/uts/sparc/krtld/ |
H A D | kobj_reloc.c | 362 if (rshp->sh_info >= mp->hdr.e_shnum) { 364 _kobj_printf(ops, " sh_info out of range %lld\n", shn); 371 (mp->shdrs + rshp->sh_info * mp->hdr.e_shentsize);
|
/opensolaris-onvv-gate/usr/src/lib/libctf/common/ |
H A D | ctf_lib.c | 151 dst->sh_info = src->sh_info;
|
/opensolaris-onvv-gate/usr/src/uts/common/sys/ |
H A D | elf.h | 381 Elf32_Word sh_info; /* misc info */ member in struct:__anon7392 395 Elf64_Word sh_info; /* misc info */ member in struct:__anon7393
|