/external/elfutils/libelf/ |
gelf_getsymshndx.c | 49 Elf32_Word shndx = 0; local 74 shndx = ((Elf32_Word *) shndxdata_scn->d.d_buf)[ndx]; 128 *dstshndx = shndx;
|
gelf_update_symshndx.c | 49 Elf32_Word *shndx = NULL; local 77 shndx = &((Elf32_Word *) shndxdata_scn->d.d_buf)[ndx]; 133 if (shndx != NULL) 134 *shndx = srcshndx;
|
/external/elfutils/libdwfl/ |
dwfl_module_getsym.c | 51 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);
|
dwfl_module_addrsym.c | 62 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 [all...] |
relocate.c | 33 /* Adjust *VALUE to add the load address of the SHNDX section. 39 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) 355 GElf_Word shndx; local [all...] |
/toolchain/binutils/binutils-2.25/gold/ |
copy-relocs.cc | 43 unsigned int shndx, 48 if (this->need_copy_reloc(sym, object, shndx)) 54 this->save(sym, object, shndx, output_section, rel); 59 // The relocation is begin applied to section SHNDX in OBJECT. 66 unsigned int shndx) const 78 if ((object->section_flags(shndx) & elfcpp::SHF_WRITE) == 0) 126 unsigned int shndx = sym->shndx(&is_ordinary); local 137 addralign = obj->section_addralign(shndx); 177 unsigned int shndx, [all...] |
resolve.cc | 97 this->u_.from_object.shndx = st_shndx; 176 unsigned int shndx, bool is_ordinary, elfcpp::STT type) 209 switch (shndx) 223 else if (!is_ordinary && Symbol::is_common_shndx(shndx)) 260 && to->shndx(&to_is_ordinary) == st_shndx 341 && to->shndx(&to_is_ordinary) != elfcpp::SHN_UNDEF 353 Symbol_location toloc = { to->object(), to->shndx(&to_is_ordinary), 458 unsigned int shndx = to->shndx(&is_ordinary); local 461 shndx, [all...] |
target-reloc.h | 81 unsigned int shndx = lsym.get_st_shndx(); local 83 shndx = object->adjust_sym_shndx(r_sym, shndx, &is_ordinary); 98 && shndx != elfcpp::SHN_UNDEF 99 && !object->is_section_included(shndx) 100 && !symtab->is_section_folded(object, shndx)); 307 unsigned int shndx; local 321 shndx = psymval->input_shndx(&is_ordinary); 324 && shndx != elfcpp::SHN_UNDEF 325 && !object->is_section_included(shndx) 580 unsigned int shndx = lsym.get_st_shndx(); local [all...] |
ehframe.h | 167 Fde(Relobj* object, unsigned int shndx, section_offset_type input_offset, 172 this->u_.from_object.shndx = shndx; 198 merge_map->add_mapping(this->object_, this->u_.from_object.shndx, 230 unsigned int shndx; member in struct:gold::Fde::__anon74192::__anon74193 269 Cie(Relobj* object, unsigned int shndx, section_offset_type input_offset, 273 shndx_(shndx), 376 // Add the input section SHNDX in OBJECT. SYMBOLS is the contents 390 unsigned int shndx, unsigned int reloc_shndx, 413 do_output_offset(const Relobj*, unsigned int shndx, [all...] |
icf.cc | 296 loc.shndx = it_v->second; 301 if (loc.shndx != it_v->second) 303 it_v->second = loc.shndx; 792 unsigned int shndx = sym->shndx(&is_ordinary); local 795 this->unfold_section(obj, shndx); 804 // Unfolds the section denoted by OBJ and SHNDX if folded. 807 Icf::unfold_section(Object* obj, unsigned int shndx) 809 Section_id secn(obj, shndx); [all...] |
merge.h | 55 // + LENGTH in the input section SHNDX to OUTPUT_OFFSET in the 60 add_mapping(const Merge_map*, unsigned int shndx, section_offset_type offset, 65 // is at offset OFFSET in section SHNDX. This sets *OUTPUT_OFFSET 71 get_output_offset(const Merge_map*, unsigned int shndx, 75 // Return whether this is the merge map for section SHNDX. 77 is_merge_section_for(const Merge_map*, unsigned int shndx); 80 // section SHNDX. STARTING_ADDRESS is the output address of the 85 unsigned int shndx, 151 // section SHNDX, or NULL. 153 get_input_merge_map(unsigned int shndx); 550 unsigned int shndx; member in struct:gold::Output_merge_string::Merged_strings_list [all...] |
arm.cc | 680 shndx() const function in class:__anon74181::Cortex_a8_stub 705 unsigned int shndx, Arm_address source_address, 707 : Stub(stub_template), relobj_(relobj), shndx_(shndx), 834 make_cortex_a8_stub(Stub_type stub_type, Relobj* relobj, unsigned int shndx, 840 return new Cortex_a8_stub(this->stub_templates_[stub_type], relobj, shndx, 1050 Arm_exidx_cantunwind(Relobj* relobj, unsigned int shndx) 1051 : Output_section_data(8, 4, true), relobj_(relobj), shndx_(shndx) 1061 shndx() const [all...] |
gdb-index.cc | 183 unsigned int shndx, 187 : Dwarf_info_reader(is_type_unit, object, symbols, symbols_size, shndx, 820 unsigned int shndx; local 823 off_t ranges_offset = die->ref_attribute(elfcpp::DW_AT_ranges, &shndx); 826 Dwarf_range_list* ranges = this->read_range_list(shndx, ranges_offset); 833 off_t low_pc = die->address_attribute(elfcpp::DW_AT_low_pc, &shndx); 839 shndx2 = shndx; 843 if (shndx != shndx2) 850 if (shndx == 0 || this->object()->is_section_included(shndx)) 901 unsigned int shndx; local [all...] |
plugin.cc | 1071 elfcpp::Elf_Half shndx; local 1098 shndx = elfcpp::SHN_ABS; 1101 shndx = elfcpp::SHN_COMMON; 1106 shndx = elfcpp::SHN_UNDEF; 1130 shndx = elfcpp::SHN_UNDEF; 1137 osym.put_st_shndx(shndx); 1736 unsigned int shndx = section_list[i].shndx; local 1805 unsigned int shndx = section_list[i].shndx; local [all...] |
reloc.cc | 287 unsigned int shndx = this->adjust_shndx(shdr.get_sh_info()); local 288 if (shndx >= shnum) 291 i, shndx); 295 Output_section* os = out_sections[shndx]; 306 typename This::Shdr secshdr(pshdrs + shndx * This::shdr_size); 352 sr.data_shndx = shndx; 358 sr.needs_special_offset_handling = out_offsets[shndx] == invalid_address; [all...] |
/external/google-breakpad/src/common/linux/ |
elf_symbols_to_module.cc | 60 // 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) {
|
/toolchain/binutils/binutils-2.25/gold/testsuite/ |
plugin_section_order.c | 128 unsigned int shndx; local 143 for (shndx = 0; shndx < count; ++shndx) 149 section.shndx = shndx; 167 section_list[position].shndx = shndx;
|
/toolchain/binutils/binutils-2.25/bfd/ |
elfxx-sparc.h | 38 unsigned short shndx; member in struct:_bfd_sparc_elf_app_reg
|
elf32-ip2k.c | 578 unsigned int shndx; local 588 shndx = _bfd_elf_section_from_bfd_section (abfd, sec); 606 if (isym->st_shndx == shndx) 754 if (isym->st_shndx == shndx [all...] |
elf32-m32c.c | 1909 Elf_External_Sym_Shndx *shndx; local [all...] |
elfcode.h | 181 const Elf_External_Sym_Shndx *shndx = (const Elf_External_Sym_Shndx *) pshn; 195 if (shndx == NULL) 197 dst->st_shndx = H_GET_32 (abfd, shndx->est_shndx); 212 void *shndx) 224 if (shndx == NULL) 226 H_PUT_32 (abfd, tmp, shndx); 180 const Elf_External_Sym_Shndx *shndx = (const Elf_External_Sym_Shndx *) pshn; local [all...] |
/hardware/intel/bootstub/ |
mb.h | 59 u32 shndx; member in struct:__anon30073
|
/external/elfutils/tests/ |
elfstrmerge.c | 533 /* We explicitly don't update the SHNDX table at 562 /* A SHNDX just contains an array of section indexes 566 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/elfutils/src/ |
addr2line.c | 539 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),
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/lib/gcc/x86_64-w64-mingw32/4.8.3/plugin/include/ |
plugin-api.h | 102 unsigned int shndx; member in struct:ld_plugin_section
|