Home
last modified time | relevance | path

Searched refs:shndx (Results 1 – 25 of 39) sorted by last modified time

12

/illumos-gate/usr/src/cmd/sgs/libld/common/
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 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 Dsyms.c411 sdp->sd_shndx = shndx; in ld_sym_enter()
1992 Sym *sym, Word shndx) in issue_badaddr_msg() argument
2178 Word shndx; in ld_sym_process() local
2188 shndx = symshndx[ndx]; in ld_sym_process()
2270 sdp->sd_shndx = shndx; in ld_sym_process()
2357 sym, shndx); in ld_sym_process()
2508 Word shndx; in ld_sym_process() local
2518 shndx = symshndx[ndx]; in ld_sym_process()
2638 if (shndx >= ifl->ifl_shnum) { in ld_sym_process()
2654 isp = ifl->ifl_isdesc[shndx]; in ld_sym_process()
[all …]
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 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()
/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/liblddbg/common/
H A Dliblddbg.msg1233 oth ver shndx name"
1235 oth ver shndx"
1243 oth ver shndx / name"
1245 oth ver shndx"
1253 type bind oth ver shndx name"
1255 type bind oth ver shndx"
1263 type bind oth ver shndx / name"
1265 type bind oth ver shndx"
/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/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/boot/symdef/
H A Dsymdef.c66 Elf32_Word shndx; in main() local
101 &sym, &shndx) != NULL) && in main()
/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/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/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/uts/common/sys/
H A Dmultiboot.h76 uint32_t shndx; member
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dmb_info.h143 unsigned long shndx; member
H A Dboot.c663 mbi.syms.e.shndx = pu.elf->e_shstrndx; in load_image()
735 mbi.syms.e.shndx = 0; in load_image()
/illumos-gate/usr/src/grub/grub-0.97/docs/
H A Dmultiboot.h.texi76 unsigned long shndx;
H A Dmultiboot.info731 40 | shndx |
1130 unsigned long shndx;
1398 " addr = 0x%x, shndx = 0x%x\n",
1400 (unsigned) elf_sec->addr, (unsigned) elf_sec->shndx);
H A Dmultiboot.texi784 40 | shndx |
H A Dkernel.c130 (unsigned) elf_sec->addr, (unsigned) elf_sec->shndx); in cmain()
H A Dkernel.c.texi128 " addr = 0x%x, shndx = 0x%x\n",
130 (unsigned) elf_sec->addr, (unsigned) elf_sec->shndx);
H A Dmultiboot.h76 unsigned long shndx; member
/illumos-gate/usr/src/common/ctf/
H A Dctf_util.c186 ctf_sym_valid(uintptr_t strbase, int type, uint16_t shndx, uint64_t val, in ctf_sym_valid() argument
193 if (shndx == SHN_UNDEF || noff == 0) in ctf_sym_valid()
195 if (type == STT_OBJECT && shndx == SHN_ABS && val == 0) in ctf_sym_valid()
/illumos-gate/usr/src/cmd/sgs/nm/common/
H A Dnm.c64 unsigned int shndx; member
814 Elf_Scn *scn = elf_getscn(elf_file, shndx);
900 buf->shndx = symshndx[i];
902 buf->shndx = sym.st_shndx;
1001 if ((sym_data->shndx == SHN_UNDEF) &&
1287 if (sym_data->shndx == SHN_UNDEF) {
1292 } else if (sym_data->shndx == SHN_SUNW_IGNORE) {
1298 (sym_data->shndx == SHN_ABS)) {
1304 (sym_data->shndx == SHN_COMMON)) {
1320 (void) printf("%-14d", sym_data->shndx);
[all …]

12