Searched refs:shndx (Results 1 - 25 of 31) sorted by relevance

12

/external/elfutils/libelf/
H A Dgelf_update_symshndx.c49 Elf32_Word *shndx = NULL; local
77 shndx = &((Elf32_Word *) shndxdata_scn->d.d_buf)[ndx];
133 if (shndx != NULL)
134 *shndx = srcshndx;
H A Dgelf_getsymshndx.c49 Elf32_Word shndx = 0; local
74 shndx = ((Elf32_Word *) shndxdata_scn->d.d_buf)[ndx];
128 *dstshndx = shndx;
/external/elfutils/libdwfl/
H A Ddwfl_module_addrsym.c62 GElf_Addr value, Elf *symelf, GElf_Word shndx)
65 if (shndx >= SHN_LORESERVE)
68 /* If value might not be st_value, the shndx of the symbol might
105 return shndx == state->addr_shndx && state->addr_symelf == symelf;
129 const char *name, GElf_Word shndx,
150 state->closest_shndx = shndx;
158 shndx))
166 state->sizeless_shndx = shndx;
186 state->closest_shndx = shndx;
201 GElf_Word shndx; local
61 same_section(struct search_state *state, GElf_Addr value, Elf *symelf, GElf_Word shndx) argument
127 try_sym_value(struct search_state *state, GElf_Addr value, GElf_Sym *sym, const char *name, GElf_Word shndx, Elf *elf, bool resolved) argument
[all...]
H A Drelocate.c39 Elf32_Word shndx, GElf_Addr *value)
44 if (shndx == 0)
47 Elf_Scn *refscn = elf_getscn (elf, shndx);
66 name, shndx, refshdr,
110 int symndx, GElf_Sym *sym, GElf_Word *shndx)
176 symndx, sym, shndx) == NULL))
180 *shndx = sym->st_shndx;
194 *shndx, &sym->st_value);
205 GElf_Sym *sym, GElf_Word shndx)
268 ndx, sym, &shndx);
38 __libdwfl_relocate_value(Dwfl_Module *mod, Elf *elf, size_t *shstrndx, Elf32_Word shndx, GElf_Addr *value) argument
108 relocate_getsym(Dwfl_Module *mod, Elf *relocated, struct reloc_symtab_cache *cache, int symndx, GElf_Sym *sym, GElf_Word *shndx) argument
204 resolve_symbol(Dwfl_Module *referer, struct reloc_symtab_cache *symtab, GElf_Sym *sym, GElf_Word shndx) argument
355 GElf_Word shndx; local
[all...]
H A Ddwfl_module_getsym.c51 GElf_Word shndx; local
95 sym = gelf_getsymshndx (symdata, symxndxdata, tndx, sym, &shndx);
104 shndx = sym->st_shndx;
113 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (elf, shndx), &shdr_mem);
146 *shndxp = alloc ? shndx : (GElf_Word) -1;
163 shndx, &st_value);
H A Doffline.c44 Elf32_Word shndx,
51 assert (shndx != 0);
61 Elf_Scn *ourscn = elf_getscn (mod->debug.elf, shndx);
39 dwfl_offline_section_address(Dwfl_Module *mod, void **userdata __attribute__ ((unused)), const char *modname __attribute__ ((unused)), Dwarf_Addr base __attribute__ ((unused)), const char *secname __attribute__ ((unused)), Elf32_Word shndx, const GElf_Shdr *shdr __attribute__ ((unused)), Dwarf_Addr *addr) argument
H A Dlibdwfl.h73 GElf_Word shndx, const GElf_Shdr *shdr,
/external/google-breakpad/src/common/linux/
H A Delf_symbols_to_module.cc60 // The current symbol's value, size, info and shndx fields.
64 uint16_t shndx; member in struct:google_breakpad::ELFSymbolIterator::Symbol
105 .Read(2, false, &symbol_.shndx);
112 .Read(2, false, &symbol_.shndx)
158 iterator->shndx != SHN_UNDEF) {
H A Dsynth_elf.cc222 uint32_t size, unsigned info, uint16_t shndx) {
229 D16(shndx);
233 uint64_t size, unsigned info, uint16_t shndx) {
238 D16(shndx);
221 AddSymbol(const string& name, uint32_t value, uint32_t size, unsigned info, uint16_t shndx) argument
232 AddSymbol(const string& name, uint64_t value, uint64_t size, unsigned info, uint16_t shndx) argument
H A Dsynth_elf.h170 uint32_t size, unsigned info, uint16_t shndx);
173 uint64_t size, unsigned info, uint16_t shndx);
H A Delf_symbols_to_module_unittest.cc98 uint32_t size, unsigned info, uint16_t shndx) {
105 .D16(shndx);
268 uint64_t size, unsigned info, uint16_t shndx) {
273 .D16(shndx)
97 AddElf32Sym(const string& name, uint32_t value, uint32_t size, unsigned info, uint16_t shndx) argument
267 AddElf64Sym(const string& name, uint64_t value, uint64_t size, unsigned info, uint16_t shndx) argument
/external/elfutils/src/
H A Dunstrip.c382 GElf_Word shndx = SHN_UNDEF;
383 GElf_Sym *sym = gelf_getsymshndx (data, shndxdata, i, &sym_mem, &shndx);
391 shndx = sym->st_shndx;
393 if (shndx != i || GELF_ST_TYPE (sym->st_info) != STT_SECTION)
398 shndx = SHN_UNDEF;
399 ELF_CHECK (gelf_update_symshndx (newsymdata, shndxdata, i, sym, shndx),
616 GElf_Word shndx = SHN_UNDEF;
618 i, &sym_mem, &shndx);
620 sym, shndx),
639 GElf_Word shndx
381 GElf_Word shndx = SHN_UNDEF; local
615 GElf_Word shndx = SHN_UNDEF; local
638 GElf_Word shndx = i < SHN_LORESERVE ? SHN_UNDEF : i; local
648 GElf_Word shndx = SHN_UNDEF; local
768 GElf_Word shndx; member in struct:symbol::__anon6315::__anon6316
800 GElf_Word shndx = SHN_UNDEF; local
1606 GElf_Word shndx = SHN_UNDEF; local
[all...]
H A Dldgeneric.c99 static void mark_section_used (struct scninfo *scninfo, Elf32_Word shndx,
516 matching_group_comdat_scn (const XElf_Sym *sym, size_t shndx, argument
519 if ((shndx >= SHN_LORESERVE && shndx <= SHN_HIRESERVE)
524 size_t newgrpid = fileinfo->scninfo[shndx].grpid;
584 check_definition (const XElf_Sym *sym, size_t shndx, size_t symidx, argument
592 if (shndx != SHN_UNDEF
594 || (shndx != SHN_COMMON && oldp->common && ! new_in_dso)
624 else if (shndx != SHN_UNDEF
626 && matching_group_comdat_scn (sym, shndx, fileinf
794 find_section_group(struct usedfiles *fileinfo, Elf32_Word shndx, Elf_Data **datap) argument
842 mark_section_group(struct usedfiles *fileinfo, Elf32_Word shndx, struct scninfo **grpscnp) argument
901 mark_section_used(struct scninfo *scninfo, Elf32_Word shndx, struct scninfo **grpscnp) argument
1396 Elf32_Word shndx; local
1465 Elf32_Word shndx; local
6505 Elf32_Word shndx; local
[all...]
H A Daddr2line.c539 GElf_Word shndx; local
540 const char *scn = dwfl_module_relocation_info (mod, i, &shndx);
549 (elf_getscn (dwfl_module_getelf (mod, &shdr_bias), shndx),
/external/elfutils/tests/
H A Ddwflsyms.c88 elf_section_name (Elf *elf, GElf_Word shndx) argument
92 Elf_Scn *scn = elf_getscn (elf, shndx);
99 addr_in_section (Elf *elf, GElf_Word shndx, GElf_Addr addr) argument
102 Elf_Scn *scn = elf_getscn (elf, shndx);
H A Delfstrmerge.c566 Elf32_Word *shndx = (Elf32_Word *) data->d_buf; local
570 if (shndx[i] == SHN_UNDEF)
573 newshndx[i] = newsecndx (shndx[i], "section", ndx,
574 "shndx", i);
/external/syslinux/com32/mboot/
H A Dmb_info.h133 uint32_t shndx; member in struct:multiboot_info::__anon20949::__anon20951
H A Dmap.c248 mbinfo.syms.e.shndx = eh->e_shstrndx;
/external/syslinux/gpxe/src/arch/i386/include/
H A Dmultiboot.h99 uint32_t shndx; member in struct:multiboot_elf_section_header_table
/external/vixl/examples/aarch32/
H A Ddisasm-a32.cc288 const Elf32_Shdr& shndx = shdr[sres->second.GetSection()]; local
289 func_size = (shndx.sh_offset + shndx.sh_size) - sres->first;
/external/syslinux/com32/tools/
H A Drelocs.c200 static const char *sec_name(unsigned shndx) argument
206 if (shndx < ehdr.e_shnum) {
207 name = sec_strtab + secs[shndx].shdr.sh_name;
209 else if (shndx == SHN_ABS) {
212 else if (shndx == SHN_COMMON) {
/external/llvm/lib/MC/
H A DELFObjectWriter.cpp67 uint8_t other, uint32_t shndx, bool Reserved);
266 uint32_t shndx, bool Reserved) {
267 bool LargeIndex = shndx >= ELF::SHN_LORESERVE && !Reserved;
274 ShndxIndexes.push_back(shndx);
279 uint16_t Index = LargeIndex ? uint16_t(ELF::SHN_XINDEX) : shndx;
264 writeSymbol(uint32_t name, uint8_t info, uint64_t value, uint64_t size, uint8_t other, uint32_t shndx, bool Reserved) argument
/external/elfutils/include/elfutils/
H A Dlibdwfl.h73 GElf_Word shndx, const GElf_Shdr *shdr,
/external/swiftshader/third_party/LLVM/lib/MC/
H A DELFObjectWriter.cpp144 uint32_t shndx,
147 if (shndx >= ELF::SHN_LORESERVE && !Reserved)
148 String32(*ShndxF, shndx);
153 uint16_t Index = (shndx >= ELF::SHN_LORESERVE && !Reserved) ?
154 uint16_t(ELF::SHN_XINDEX) : shndx;
139 WriteSymbolEntry(MCDataFragment *SymtabF, MCDataFragment *ShndxF, uint64_t name, uint8_t info, uint64_t value, uint64_t size, uint8_t other, uint32_t shndx, bool Reserved) argument
H A DELFObjectWriter.h251 uint8_t other, uint32_t shndx,

Completed in 812 milliseconds

12