/toolchain/binutils/binutils-2.27/gold/ |
symtab.cc | 123 this->u_.from_object.shndx = st_shndx; 313 // Return true if SHNDX represents a common symbol. 316 Symbol::is_common_shndx(unsigned int shndx) 318 return (shndx == elfcpp::SHN_COMMON 319 || shndx == parameters->target().small_common_shndx() 320 || shndx == parameters->target().large_common_shndx()); 361 unsigned int shndx = this->shndx(&is_ordinary); local 362 if (is_ordinary && shndx != elfcpp::SHN_UNDEF 363 && !relobj->is_section_included(shndx) 490 unsigned int shndx = this->u_.from_object.shndx; local 655 unsigned int shndx = sym->shndx(&is_ordinary); local 741 unsigned int shndx = from->shndx(&is_ordinary); local 2709 unsigned int shndx = sym->shndx(&is_ordinary); local 2888 unsigned int shndx = sym->shndx(&is_ordinary); local 3007 unsigned int shndx; local 3169 unsigned int shndx; local 3339 unsigned int shndx = os->out_shndx(); local [all...] |
dwarf_reader.h | 295 // to the input section SHNDX. Each range must lie entirely 304 : shndx(a_shndx), start(a_start), end(a_end) 307 unsigned int shndx; member in struct:gold::Dwarf_range_list::Range 317 add(unsigned int shndx, off_t start, off_t end) 318 { this->range_list_.push_back(Range(shndx, start, end)); } 490 unsigned int shndx; member in union:gold::Dwarf_die::Attribute_value::__anon4442 585 ref_attribute(unsigned int attr, unsigned int* shndx); 589 address_attribute(unsigned int attr, unsigned int* shndx); 695 unsigned int shndx, 699 symtab_size_(symtab_size), shndx_(shndx), reloc_shndx_(reloc_shndx) [all...] |
target-reloc.h | 80 unsigned int shndx = lsym.get_st_shndx(); local 82 shndx = object->adjust_sym_shndx(r_sym, shndx, &is_ordinary); 97 && shndx != elfcpp::SHN_UNDEF 98 && !object->is_section_included(shndx) 99 && !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) 699 unsigned int shndx = lsym.get_st_shndx(); local [all...] |
plugin.h | 507 do_section_size(unsigned int shndx); 511 do_section_name(unsigned int shndx) const; 515 do_section_contents(unsigned int shndx, section_size_type* plen, 520 do_section_flags(unsigned int shndx); 524 do_section_entsize(unsigned int shndx); 528 do_section_address(unsigned int shndx); 532 do_section_type(unsigned int shndx); 536 do_section_link(unsigned int shndx); 540 do_section_info(unsigned int shndx); 544 do_section_addralign(unsigned int shndx); [all...] |
dwp.cc | 165 section_type(unsigned int shndx) 166 { return this->obj_->section_type(shndx); } 170 section_name(unsigned int shndx) 171 { return this->obj_->section_name(shndx); } 177 section_contents(unsigned int shndx, section_size_type* plen, bool* is_new) 178 { return this->obj_->decompressed_section_contents(shndx, plen, is_new); } 207 copy_section(Dwp_output_file* output_file, unsigned int shndx, 270 do_section_type(unsigned int shndx) 271 { return this->elf_file_.section_type(shndx); } 275 do_section_name(unsigned int shndx) cons 1517 unsigned int shndx = (is_debug_types local 1629 unsigned int shndx = this->section_id_map_[section_id]; local 1955 unsigned int shndx = this->add_output_section(section_name, align); local [all...] |
ehframe.cc | 558 // Add input section SHNDX in OBJECT to an exception frame section. 562 // section applying to SHNDX, or 0 if none, or -1U if more than one. 577 unsigned int shndx, 583 const unsigned char* pcontents = object->section_contents(shndx, 600 shndx, reloc_shndx, 640 unsigned int shndx, 697 if (!this->read_cie(object, shndx, symbols, symbols_size, 706 if (!this->read_fde(object, shndx, symbols, symbols_size, 722 unsigned int shndx, 925 Cie cie(object, shndx, (pcie - 8) - pcontents, fde_encoding, [all...] |
output.cc | 305 unsigned int shndx = 1; local 315 &shndx); 329 gold_assert(shndx == (*p)->out_shndx()); 333 ++shndx; 347 gold_assert(shndx == (*p)->out_shndx()); 351 ++shndx; 734 unsigned int shndx, 741 is_section_symbol_(false), use_plt_offset_(use_plt_offset), shndx_(shndx) 743 gold_assert(shndx != INVALID_CODE); 785 unsigned int shndx, 2243 Output_section::Input_section::shndx() const function in class:gold::Output_section::Input_section 3618 unsigned int shndx = p->shndx(); local [all...] |
incremental.h | 376 add_input_section(unsigned int shndx, Stringpool::Key name_key, off_t sh_size) 377 { this->sections_.push_back(Input_section(shndx, name_key, sh_size)); } 438 Input_section(unsigned int shndx, Stringpool::Key name_key, off_t sh_size) 439 : shndx_(shndx), name_key_(name_key), sh_size_(sh_size) 592 report_input_section(Object* obj, unsigned int shndx, const char* name, 727 shndx() const function in class:gold::Incremental_global_symbol_reader [all...] |
incremental.cc | 592 unsigned int shndx = gsym.get_st_shndx(); local 593 if (shndx < 1 || shndx >= this->section_map_.size()) 595 Output_section* os = this->section_map_[shndx]; 1588 unsigned int shndx = entry->get_input_section_index(i); local 1623 unsigned int shndx = 0; local [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...] |
powerpc.cc | 156 // The .got2 section shndx. 166 // The .opd section shndx. 190 gold_assert(this->opd_ent_[ndx].shndx != 0); 193 return this->opd_ent_[ndx].shndx; 198 set_opd_ent(Address r_off, unsigned int shndx, Address value) 202 this->opd_ent_[ndx].shndx = shndx; 300 unsigned int shndx = this->opd_ent_[i].shndx; local 301 symtab->gc()->worklist().push_back(Section_id(this, shndx)); 379 unsigned int shndx; member in struct:__anon4468::Powerpc_relobj::Opd_ent 533 unsigned int shndx; member in struct:__anon4468::Powerpc_dynobj::Sec_info 538 unsigned int shndx; member in struct:__anon4468::Powerpc_dynobj::Opd_ent 1927 unsigned int shndx; local 2937 unsigned int shndx = gsym->shndx(&is_ordinary); local 5973 unsigned int shndx = lsym.get_st_shndx(); local 6202 unsigned int shndx = lsym.get_st_shndx(); local 6273 unsigned int shndx = lsym.get_st_shndx(); local 6315 unsigned int shndx = lsym.get_st_shndx(); local 6920 unsigned int shndx = gsym->shndx(&is_ordinary); local 7098 unsigned int shndx = sym->shndx(&is_ordinary); local 7330 unsigned int shndx = sym->shndx(&is_ordinary); local 7547 unsigned int shndx = symobj->opd_shndx(); local [all...] |
arm.cc | 683 shndx() const function in class:__anon4431::Cortex_a8_stub 708 unsigned int shndx, Arm_address source_address, 710 : Stub(stub_template), relobj_(relobj), shndx_(shndx), 837 make_cortex_a8_stub(Stub_type stub_type, Relobj* relobj, unsigned int shndx, 843 return new Cortex_a8_stub(this->stub_templates_[stub_type], relobj, shndx, 1054 Arm_exidx_cantunwind(Relobj* relobj, unsigned int shndx) 1055 : Output_section_data(8, 4, true), relobj_(relobj), shndx_(shndx) 1065 shndx() const [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; 1027 // Return the output view for section SHNDX. 1032 unsigned int shndx, 1036 gold_assert(shndx < this->output_views_->size()) [all...] |
layout.h | 216 unsigned int shndx; member in struct:gold::Kept_section::Comdat_section_info 221 : shndx(a_shndx), size(a_size) 267 shndx() const function in class:gold::Kept_section 272 set_shndx(unsigned int shndx) 275 this->shndx_ = shndx; 306 add_comdat_section(const std::string& name, unsigned int shndx, 310 Comdat_section_info sinfo(shndx, size); 324 *pshndx = p->second.shndx; 338 *pshndx = p->second.shndx; 517 // Given an input section SHNDX, named NAME, with data in SHDR, fro [all...] |
aarch64.cc | 504 unsigned int shndx = psymval->input_shndx(&is_ordinary); local 505 if ((shndx == elfcpp::SHN_UNDEF) 507 && shndx != elfcpp::SHN_UNDEF 508 && !object->is_section_included(shndx) 509 && !this->symbol_table_->is_section_folded(object, shndx))) 946 unsigned shndx, unsigned int sh_offset) 948 shndx_(shndx), sh_offset_(sh_offset), 962 shndx() const function in class:__anon4423::Output_data_got_aarch64::Erratum_stub 1028 // Comparator used to group Erratum_stubs in a set by (obj, shndx, 1030 // at most one stub type at (obj, shndx, sh_offset) 2580 unsigned int shndx = this->shndx(); local 2850 unsigned int shndx = new_relaxed_sections[i]->shndx(); local 3964 unsigned int shndx; local [all...] |
icf.cc | 335 loc.shndx = it_v->second; 340 if (loc.shndx != it_v->second) 342 it_v->second = loc.shndx; 848 unsigned int shndx = sym->shndx(&is_ordinary); local [all...] |
/external/elfutils/tests/ |
dwflsyms.c | 88 elf_section_name (Elf *elf, GElf_Word shndx) 92 Elf_Scn *scn = elf_getscn (elf, shndx); 99 addr_in_section (Elf *elf, GElf_Word shndx, GElf_Addr addr) 102 Elf_Scn *scn = elf_getscn (elf, shndx);
|
/external/google-breakpad/src/common/linux/ |
synth_elf.cc | 222 uint32_t size, unsigned info, uint16_t shndx) { 229 D16(shndx); 233 uint64_t size, unsigned info, uint16_t shndx) { 238 D16(shndx);
|
elf_symbols_to_module_unittest.cc | 98 uint32_t size, unsigned info, uint16_t shndx) { 105 .D16(shndx); 268 uint64_t size, unsigned info, uint16_t shndx) { 273 .D16(shndx)
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
HexagonLDBackend.h | 88 ResolveInfo::Desc getSymDesc(uint16_t shndx) const { 89 if (shndx >= llvm::ELF::SHN_HEXAGON_SCOMMON && 90 shndx <= llvm::ELF::SHN_HEXAGON_SCOMMON_8)
|
/external/elfutils/src/ |
unstrip.c | 382 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 = i < SHN_LORESERVE ? SHN_UNDEF : i 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::__anon20234::__anon20235 800 GElf_Word shndx = SHN_UNDEF; local 1606 GElf_Word shndx = SHN_UNDEF; local [all...] |
/external/syslinux/gpxe/src/arch/i386/include/ |
multiboot.h | 99 uint32_t shndx; member in struct:multiboot_elf_section_header_table
|
/hardware/intel/bootstub/ |
mb.h | 59 u32 shndx; member in struct:__anon47198
|
/prebuilts/go/darwin-x86/src/cmd/link/internal/loadelf/ |
ldelf.go | 226 Shndx [2]uint8 266 Shndx [2]uint8 321 shndx uint16 758 if elfsym.shndx == ElfSymShnCommon || elfsym.type_ == ElfSymTypeCommon { 769 if uint(elfsym.shndx) >= elfobj.nsect || elfsym.shndx == 0 { 777 sect = &elfobj.sect[elfsym.shndx] 792 return errorf("%v: sym#%d: ignoring symbol in section %d (type %d)", elfsym.sym, i, elfsym.shndx, elfsym.type_) 920 return errorf("malformed elf file: %s#%d: reloc of invalid sym #%d %s shndx=%d type=%d", sect.sym.Name, j, int(info>>32), elfsym.name, elfsym.shndx, elfsym.type_ [all...] |
/prebuilts/go/linux-x86/src/cmd/link/internal/loadelf/ |
ldelf.go | 226 Shndx [2]uint8 266 Shndx [2]uint8 321 shndx uint16 758 if elfsym.shndx == ElfSymShnCommon || elfsym.type_ == ElfSymTypeCommon { 769 if uint(elfsym.shndx) >= elfobj.nsect || elfsym.shndx == 0 { 777 sect = &elfobj.sect[elfsym.shndx] 792 return errorf("%v: sym#%d: ignoring symbol in section %d (type %d)", elfsym.sym, i, elfsym.shndx, elfsym.type_) 920 return errorf("malformed elf file: %s#%d: reloc of invalid sym #%d %s shndx=%d type=%d", sect.sym.Name, j, int(info>>32), elfsym.name, elfsym.shndx, elfsym.type_ [all...] |