Home
last modified time | relevance | path

Searched refs:shndx (Results 1 – 17 of 17) sorted by relevance

/freebsd-10-stable/sys/contrib/ia64/libuwx/src/
Duwx_symbols.c220 int shndx; member
242 static int elf_read_section(struct elf_file *ef, int shndx) in elf_read_section() argument
246 if (shndx < 0 || shndx > ef->shnum) in elf_read_section()
249 sect = &ef->sections[shndx]; in elf_read_section()
270 static int elf_read_symtab_section(struct elf_file *ef, int shndx) in elf_read_symtab_section() argument
284 sect = &ef->sections[shndx]; in elf_read_symtab_section()
324 symp->shndx = sym.sym32.st_shndx; in elf_read_symtab_section()
333 symp->shndx = sym.sym64.st_shndx; in elf_read_symtab_section()
754 ((sym)->shndx != SHN_UNDEF)
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/
DELFHeader.cpp276 ELFSymbol::sectionIndexToCString (elf_half shndx, in sectionIndexToCString() argument
279 switch (shndx) in sectionIndexToCString()
291 const lldb_private::Section *section = section_list->GetSectionAtIndex(shndx).get(); in sectionIndexToCString()
DELFHeader.h254 sectionIndexToCString(elf_half shndx,
/freebsd-10-stable/sys/boot/i386/libi386/
Dmultiboot.h142 multiboot_uint32_t shndx; member
/freebsd-10-stable/contrib/binutils/bfd/
Delfxx-sparc.h37 unsigned short shndx; member
Delf.c343 Elf_External_Sym_Shndx *shndx; in bfd_elf_get_elf_syms() local
409 for (esym = extsym_buf, isym = intsym_buf, shndx = extshndx_buf; in bfd_elf_get_elf_syms()
411 esym += extsym_size, isym++, shndx = shndx != NULL ? shndx + 1 : NULL) in bfd_elf_get_elf_syms()
412 if (!(*bed->s->swap_symbol_in) (ibfd, esym, shndx, isym)) in bfd_elf_get_elf_syms()
6221 unsigned int shndx; in _bfd_elf_copy_private_symbol_data() local
6223 shndx = isym->internal_elf_sym.st_shndx; in _bfd_elf_copy_private_symbol_data()
6224 if (shndx == elf_onesymtab (ibfd)) in _bfd_elf_copy_private_symbol_data()
6225 shndx = MAP_ONESYMTAB; in _bfd_elf_copy_private_symbol_data()
6226 else if (shndx == elf_dynsymtab (ibfd)) in _bfd_elf_copy_private_symbol_data()
6227 shndx = MAP_DYNSYMTAB; in _bfd_elf_copy_private_symbol_data()
[all …]
Delfcode.h177 const Elf_External_Sym_Shndx *shndx = pshn; in elf_swap_symbol_in() local
191 if (shndx == NULL) in elf_swap_symbol_in()
193 dst->st_shndx = H_GET_32 (abfd, shndx->est_shndx); in elf_swap_symbol_in()
205 void *shndx) in elf_swap_symbol_out() argument
217 if (shndx == NULL) in elf_swap_symbol_out()
219 H_PUT_32 (abfd, tmp, shndx); in elf_swap_symbol_out()
Delf64-sparc.c497 p->shndx = sym->st_shndx; in elf64_sparc_add_symbol_hook()
586 sym.st_shndx = app_regs [reg].shndx; in elf64_sparc_output_arch_syms()
DChangeLog-0001221 * elf-bfd.h (elf_size_info <swap_symbol_out>): Add shndx param.
235 (bfd_section_from_r_symndx): Read symbol shndx extension, and
258 * elfcode.h (elf_swap_symbol_in): Add shndx param, and handle shndx
264 (elf_slurp_symbol_table): Read symbol shndx extension, and use with
266 * elflink.h (elf_link_is_defined_archive_symbol): Read symbol shndx
277 (elf_link_output_sym): Swap out symbol shndx extension too.
281 (elf_gc_mark): Read symbol shndx extension, and use with
285 (elf_reloc_symbol_deleted_p): Use symbol shndx extensions with
287 (elf_bfd_discard_info): Read symbol shndx extension. Don't attempt
291 in multiple places. Clean up afterwards. Read symbol shndx
[all …]
Delf32-arm.c10035 void *shndx) in elf32_arm_swap_symbol_out() argument
10062 bfd_elf32_swap_symbol_out (abfd, src, cdst, shndx); in elf32_arm_swap_symbol_out()
DChangeLog1586 shndx.
Delfxx-sparc.c2379 entry->isym.st_shndx = app_regs [reg].shndx; in _bfd_sparc_elf_size_dynamic_sections()
/freebsd-10-stable/contrib/gdb/gdb/
Delfread.c252 unsigned short shndx = in elf_symtab_read() local
255 switch (shndx) in elf_symtab_read()
/freebsd-10-stable/contrib/llvm/lib/MC/
DELFObjectWriter.cpp238 uint8_t other, uint32_t shndx,
439 uint32_t shndx, in WriteSymbolEntry() argument
442 if (shndx >= ELF::SHN_LORESERVE && !Reserved) in WriteSymbolEntry()
443 String32(*ShndxF, shndx); in WriteSymbolEntry()
448 uint16_t Index = (shndx >= ELF::SHN_LORESERVE && !Reserved) ? in WriteSymbolEntry()
449 uint16_t(ELF::SHN_XINDEX) : shndx; in WriteSymbolEntry()
/freebsd-10-stable/contrib/binutils/binutils/
Dreadelf.c3714 Elf_External_Sym_Shndx *shndx; in get_32bit_elf_symbols() local
3724 shndx = NULL; in get_32bit_elf_symbols()
3729 shndx = get_data (NULL, file, symtab_shndx_hdr->sh_offset, in get_32bit_elf_symbols()
3731 if (!shndx) in get_32bit_elf_symbols()
3744 if (shndx) in get_32bit_elf_symbols()
3745 free (shndx); in get_32bit_elf_symbols()
3758 if (psym->st_shndx == SHN_XINDEX && shndx != NULL) in get_32bit_elf_symbols()
3760 = byte_get ((unsigned char *) &shndx[j], sizeof (shndx[j])); in get_32bit_elf_symbols()
3765 if (shndx) in get_32bit_elf_symbols()
3766 free (shndx); in get_32bit_elf_symbols()
[all …]
/freebsd-10-stable/usr.bin/elfdump/
Delfdump.c833 u_int64_t shndx; in elf_print_symtab() local
850 shndx = elf_get_quarter(e, st, ST_SHNDX); in elf_print_symtab()
859 fprintf(out, "\tst_shndx: %jd\n", (intmax_t)shndx); in elf_print_symtab()
/freebsd-10-stable/contrib/binutils/binutils/po/
Dbinutils.pot3693 msgid "symtab shndx"
3731 msgid "File contains multiple symtab shndx tables\n"