Home
last modified time | relevance | path

Searched refs:shndx (Results 1 – 25 of 39) sorted by path

12

/illumos-gate/usr/src/boot/sys/sys/
H A Dmultiboot.h142 multiboot_uint32_t shndx; member
/illumos-gate/usr/src/cmd/abi/appcert/static_prof/
H A Dstatic_prof.c856 is_text_section(int shndx, in is_text_section() argument
865 Elf_Scn *scn = elf_getscn(elf_file, shndx); in is_text_section()
/illumos-gate/usr/src/cmd/boot/symdef/
H A Dsymdef.c66 Elf32_Word shndx; in main() local
101 &sym, &shndx) != NULL) && in main()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_nm.c166 nm_sect2str(GElf_Half shndx) in nm_sect2str() argument
170 switch (shndx) { in nm_sect2str()
178 (void) mdb_iob_snprintf(buf, sizeof (buf), "%hu", shndx); in nm_sect2str()
/illumos-gate/usr/src/cmd/sgs/dump/common/
H A Ddump.c537 unsigned int shndx; in print_symtab() local
571 shndx = symshndx[index]; in print_symtab()
574 shndx = sym.st_shndx; in print_symtab()
602 type, bind, (int)sym.st_other, (int)shndx); in print_symtab()
616 p_ehdr.e_machine, shndx, in print_symtab()
619 (void) printf("%d", EC_WORD(shndx)); in print_symtab()
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Delfdump.c565 Cache *_cache = &cache[shndx]; in unwind_eh_frame()
629 eh_state->hdr_ndx = shndx; in unwind_eh_frame()
708 eh_state->frame_ndx = shndx; in unwind_eh_frame()
1174 Word shndx = 0; in output_symbol() local
1213 shndx = sym->st_shndx; in output_symbol()
1215 sec = state->cache[shndx].c_name; in output_symbol()
1232 shndx = _shxndx; in output_symbol()
3570 Word symndx, shndx; in move() local
3607 shndx = sym->st_shndx; in move()
3608 if (!((shndx == SHN_COMMON) || in move()
[all …]
H A Delfdump.msg104 invalid shndx: %d\n"
120 bad SHT_SYMTAB_SHNDX entry: invalid shndx: 0x%x\n"
/illumos-gate/usr/src/cmd/sgs/elfedit/common/
H A Dutil_machelf.c275 if ((shndx < obj_state->os_shnum) && in elfedit_shndx_to_name()
276 ((shndx < SHN_LORESERVE) || (shndx > SHN_HIRESERVE)) && in elfedit_shndx_to_name()
277 (shndx != SHN_UNDEF)) in elfedit_shndx_to_name()
302 if ((shndx == 0) || (shndx >= obj_state->os_shnum)) in elfedit_sec_get()
306 sec = &obj_state->os_secarr[shndx]; in elfedit_sec_get()
309 EC_WORD(shndx), sec->sec_name); in elfedit_sec_get()
769 if ((shndx == 0) || (shndx >= obj_state->os_shnum)) in elfedit_sec_getstr()
773 strsec = &obj_state->os_secarr[shndx]; in elfedit_sec_getstr()
776 EC_WORD(shndx), strsec->sec_name); in elfedit_sec_getstr()
782 EC_WORD(shndx), strsec->sec_name); in elfedit_sec_getstr()
[all …]
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/
H A Dehdr.msg160 If -shndx is set, then sec is a section index, and is\n\
589 @ MSG_STR_MINUS_SHNDX "-shndx"
H A Dshdr.msg110 If -shndx is set, then sec is a section index, and is\n\
187 shown. If called with the shndx argument, the value of the\n\
206 is shown. If called with the shndx argument, the value of the\n\
223 is shown. If called with the shndx argument, the value of the\n\
235 is shown. If called with the shndx argument, the value of\n\
260 is shown. If called with the shndx argument, the value of the\n\
274 is shown. If called with the shndx argument, the value of the\n\
289 with the shndx argument, the name of the section at that\n\
310 is shown. If called with the shndx argument, the value of the\n\
326 is shown. If called with the shndx argument, the value of the\n\
[all …]
H A Dstr.msg153 of the ELF header is used. The -shnam, -shndx, or -shndx options\n\
184 of the ELF header is used. The -shnam, -shndx, or -shndx options\n\
228 of the ELF header is used. The -shnam, -shndx, or -shndx options\n\
242 of the ELF header is used. The -shnam, -shndx, or -shndx options\n\
295 @ MSG_STR_MINUS_SHNDX "-shndx"
H A Dsym.c160 Word shndx; member
166 Word shndx; member
246 Word shndx; in dump_symtab() local
280 shndx = sym->st_shndx; in dump_symtab()
282 shndx = symstate->xshndx.data[ndx]; in dump_symtab()
796 Word shndx, st_shndx, xshndx; in cmd_body_set_st_shndx() local
824 ((shndx < SHN_LORESERVE) && in cmd_body_set_st_shndx()
845 xshndx = shndx; in cmd_body_set_st_shndx()
847 st_shndx = shndx; in cmd_body_set_st_shndx()
876 if (shndx == SHN_XINDEX) in cmd_body_set_st_shndx()
[all …]
H A Dsym.msg81 explicitly specified (-shnam, -shndx, or \
136 to use must be explicitly specified (-shnam, -shndx, or\n\
200 The symbol table to use can be changed using the -shnam, -shndx,\n\
214 The symbol table to use can be changed using the -shnam, -shndx,\n\
231 The symbol table to use can be changed using the -shnam, -shndx,\n\
244 The symbol table to use can be changed using the -shnam, -shndx,\n\
272 The symbol table to use can be changed using the -shnam, -shndx,\n\
288 The symbol table to use can be changed using the -shnam, -shndx,\n\
306 The symbol table to use can be changed using the -shnam, -shndx,\n\
321 The symbol table to use can be changed using the -shnam, -shndx,\n\
[all …]
/illumos-gate/usr/src/cmd/sgs/include/
H A Delfedit.h931 elfedit32_obj_state_t *obj_state, Elf32_Word shndx);
933 elfedit64_obj_state_t *obj_state, Elf64_Word shndx);
946 elfedit32_obj_state_t *obj_state, Elf32_Word shndx, int);
948 elfedit64_obj_state_t *obj_state, Elf64_Word shndx, int);
987 Elf32_Word shndx);
989 Elf64_Word shndx);
/illumos-gate/usr/src/cmd/sgs/libconv/common/
H A Dsymbols.c397 conv_sym_shndx(uchar_t osabi, Half mach, Half shndx, Conv_fmt_flags_t fmt_flags, in conv_sym_shndx() argument
400 return (conv_map_ds(osabi, mach, shndx, in conv_sym_shndx()
/illumos-gate/usr/src/cmd/sgs/libelf/demo/
H A Ddcom.c137 free(shndx); in delete_comment()
184 free(shndx); in delete_comment()
190 free(shndx); in delete_comment()
213 free(shndx); in delete_comment()
219 free(shndx); in delete_comment()
225 free(shndx); in delete_comment()
253 free(shndx); in delete_comment()
259 free(shndx); in delete_comment()
280 free(shndx); in delete_comment()
286 free(shndx); in delete_comment()
[all …]
H A Ddispsyms.c133 Elf32_Word shndx; in print_symtab() local
144 &sym, &shndx) == NULL) { in print_symtab()
190 &sym, &shndx) == NULL)) { in print_symtab()
234 shndx = sym.st_shndx; in print_symtab()
237 shndx = sym.st_shndx; in print_symtab()
241 if (shndx == SHN_UNDEF) { in print_symtab()
245 if (shndx == SHN_ABS) in print_symtab()
247 else if (shndx == SHN_COMMON) in print_symtab()
249 else if (shndx == SHN_XINDEX) in print_symtab()
253 "%ld", shndx); in print_symtab()
[all …]
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dlibld.sparc.msg63 \t(file %s shndx=ABS, file %s shndx=ABS);"
H A Dlibs.c137 Word shndx; in process_member() local
139 if ((shndx = syms->st_shndx) == SHN_UNDEF) in process_member()
147 if ((shndx == SHN_ABS) || (shndx == SHN_COMMON) || in process_member()
H A Dmachrel.amd.c1252 Word shndx = sdp->sd_sym->st_shndx; in ld_reloc_local() local
1268 (shndx != SHN_ABS) || (sdp->sd_aux && sdp->sd_aux->sa_symspec))) { in ld_reloc_local()
1302 ((shndx == SHN_UNDEF) || in ld_reloc_local()
H A Dmachrel.intel.c1253 Word shndx = sdp->sd_sym->st_shndx; in ld_reloc_local() local
1268 (shndx != SHN_ABS) || (sdp->sd_aux && sdp->sd_aux->sa_symspec))) { in ld_reloc_local()
1293 ((shndx == SHN_UNDEF) || in ld_reloc_local()
H A Dmachrel.sparc.c1621 Word shndx = sdp->sd_sym->st_shndx; in ld_reloc_local() local
1641 (shndx != SHN_ABS) || (sdp->sd_aux && sdp->sd_aux->sa_symspec))) { in ld_reloc_local()
1673 ((shndx == SHN_UNDEF) || in ld_reloc_local()
H A Dmachsym.sparc.c162 int symndx, Word shndx, const char *symsecname, sd_flag_t *flags) in ld_is_regsym_sparc() argument
185 if ((shndx != SHN_ABS) && (shndx != SHN_UNDEF)) { in ld_is_regsym_sparc()
199 (shndx != SHN_UNDEF)) { in ld_is_regsym_sparc()
H A Dplace.c152 Word shndx; in os_attach_isp() local
155 shndx = (isp->is_shdr->sh_flags & SHF_ORDERED) ? in os_attach_isp()
158 if (shndx == SHN_BEFORE) { in os_attach_isp()
161 } else if (shndx == SHN_AFTER) { in os_attach_isp()
H A Dresolve.c319 Word shndx = nsym->st_shndx; in sym_promote() local
338 if (shndx == SHN_UNDEF) in sym_promote()
346 if (((shndx == SHN_UNDEF) || ((nsdflags & FLG_SY_SPECSEC) && in sym_promote()
347 (shndx == SHN_COMMON))) && in sym_promote()

12