Searched refs:sh_info (Results 1 - 25 of 55) sorted by relevance

123

/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Dgetphnum.c65 if (shdr0.sh_info == 0)
68 *phnum = shdr0.sh_info;
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Di386_elf.h69 Elf32_Word sh_info; /* Depends on section type. */ member in struct:__anon2090
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dorder.c72 * 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 Dgroups.c193 * Get the associated symbol table. Sanity check the sh_info field
200 if ((sshdr->sh_info == SHN_UNDEF) ||
201 (gshdr->sh_info >= (Word)(sshdr->sh_size / sshdr->sh_entsize)) ||
205 EC_XWORD(gshdr->sh_info));
209 sym += gshdr->sh_info;
H A Dupdate.c1931 * 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;
2725 ofl->ofl_osverdef->os_shdr->sh_info = num;
2864 * sh_info t
[all...]
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/
H A Dshdr.c52 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 Dehdr.c510 * 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 Dcap.c167 if (argstate->cap.sec->sec_shdr->sh_info == 0) {
177 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);
/illumos-gate/usr/src/lib/libproc/common/
H A DPsymtab_machelf32.c500 sp->sh_info = 0;
522 sp->sh_info = sp->sh_size / sizeof (Sym);
549 sp->sh_info = 1; /* Index of 1st global in table */
575 sp->sh_info = 0;
599 sp->sh_info = 0;
700 sp->sh_info = 0;
H A DPcore.c1440 b->shdr[1].sh_info = symtab->sh_info;
1456 b->shdr[2].sh_info = strtab->sh_info;
1506 b->shdr[1].sh_info = symtab->sh_info;
1521 b->shdr[2].sh_info = strtab->sh_info;
1590 dst->sh_info = src->sh_info;
[all...]
/illumos-gate/usr/src/cmd/sgs/libelf/demo/
H A Dacom.c123 shdr.sh_info = 0;
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dshdr.c56 conv_sec_linkinfo(shdr->sh_info, shdr->sh_flags, &inv_buf2));
H A Delf.c118 EC_WORD(shdr0->sh_info));
/illumos-gate/usr/src/cmd/sgs/mcs/common/
H A Dfile.c385 (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...]
/illumos-gate/usr/src/uts/intel/amd64/krtld/
H A Dkobj_reloc.c303 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);
/illumos-gate/usr/src/uts/intel/ia32/krtld/
H A Dkobj_reloc.c297 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);
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Delfdump.c1282 * A typical symbol table uses the sh_info field to indicate one greater
1284 * Therefore, symbol indexes less than sh_info should have local
1285 * binding. Symbol indexes greater than, or equal to sh_info, should
1400 * which string table to use via sh_info.
1402 if (cshdr->sh_info) {
1406 * Validate that the sh_info field points to a string table.
1408 if (cshdr->sh_info >= shnum) {
1410 file, ccache->c_name, EC_WORD(cshdr->sh_info));
1414 strcache = &cache[cshdr->sh_info];
1419 file, ccache->c_name, EC_WORD(cshdr->sh_info));
[all...]
H A Dfake_shdr.c948 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.
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Di386-elf.h112 Elf32_Word sh_info; /* Additional section information */ member in struct:__anon2185
/illumos-gate/usr/src/boot/sys/sys/
H A Delf32.h97 Elf32_Word sh_info; /* Depends on section type. */ member in struct:__anon409
H A Delf64.h106 Elf64_Word sh_info; /* Depends on section type. */ member in struct:__anon426
/illumos-gate/usr/src/cmd/file/
H A Delf_read.c218 if ((EI_Ehdr_phnum == PN_XNUM) && (EI_Shdr.sh_info != 0))
219 EI_Ehdr_phnum = EI_Shdr.sh_info;
/illumos-gate/usr/src/uts/sparc/krtld/
H A Dkobj_reloc.c362 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);
/illumos-gate/usr/src/lib/libctf/common/
H A Dctf_lib.c149 dst->sh_info = src->sh_info;
/illumos-gate/usr/src/uts/common/sys/
H A Delf.h387 Elf32_Word sh_info; /* misc info */ member in struct:__anon256
401 Elf64_Word sh_info; /* misc info */ member in struct:__anon257

Completed in 1792 milliseconds

123