/toolchain/binutils/binutils-2.25/gold/ |
object.h | 193 adjust_shndx(unsigned int shndx) 195 if (shndx >= elfcpp::SHN_LORESERVE) 196 shndx += this->large_shndx_offset_; 197 return shndx; 494 section_contents(unsigned int shndx, section_size_type* plen, bool cache); 497 // of the symbol and SHNDX is the symbol's section from 503 adjust_sym_shndx(unsigned int symndx, unsigned int shndx, bool* is_ordinary) 505 if (shndx < elfcpp::SHN_LORESERVE) 507 else if (shndx == elfcpp::SHN_XINDEX) 511 shndx = this->xindex_->sym_xindex_to_shndx(this, symndx) [all...] |
icf.h | 96 // Unfolds the section denoted by OBJ and SHNDX if folded. 98 unfold_section(Object* obj, unsigned int shndx); 103 is_section_folded(Object* obj, unsigned int shndx); 108 section_has_function_pointers(Object* obj, unsigned int shndx) 110 return (this->fptr_section_id_.find(Section_id(obj, shndx)) 117 set_section_has_function_pointers(Object* obj, unsigned int shndx) 119 this->fptr_section_id_.insert(Section_id(obj, shndx));
|
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...] |
dynobj.h | 201 do_section_size(unsigned int shndx) 202 { return this->elf_file_.section_size(shndx); } 206 do_section_name(unsigned int shndx) const 207 { return this->elf_file_.section_name(shndx); } 212 do_section_contents(unsigned int shndx, section_size_type* plen, 215 Location loc(this->elf_file_.section_contents(shndx)); 227 do_section_flags(unsigned int shndx) 228 { return this->elf_file_.section_flags(shndx); } 237 do_section_address(unsigned int shndx) 238 { return this->elf_file_.section_addr(shndx); } [all...] |
merge.cc | 49 Object_merge_map::get_input_merge_map(unsigned int shndx) 51 gold_assert(shndx != -1U); 52 if (shndx == this->first_shnum_) 54 if (shndx == this->second_shnum_) 56 Section_merge_maps::const_iterator p = this->section_merge_maps_.find(shndx); 66 unsigned int shndx) 68 Input_merge_map* map = this->get_input_merge_map(shndx); 80 this->first_shnum_ = shndx; 86 this->second_shnum_ = shndx; 93 this->section_merge_maps_[shndx] = new_map [all...] |
copy-relocs.h | 63 // scanning. The relocation is being applied to section SHNDX in 64 // OBJECT. OUTPUT_SECTION is the output section where section SHNDX 70 unsigned int shndx, Output_section* output_section, 101 unsigned int shndx, 105 shndx_(shndx), output_section_(output_section), 134 unsigned int shndx) const; 138 save(Symbol*, Sized_relobj_file<size, big_endian>*, unsigned int shndx,
|
mapfile.cc | 206 unsigned int shndx) 216 && sym->shndx(&is_ordinary) == shndx 236 Mapfile::print_input_section(Relobj* relobj, unsigned int shndx) 240 std::string name = relobj->section_name(shndx); 247 if (!relobj->is_section_included(shndx)) 254 os = relobj->output_section(shndx); 255 addr = relobj->output_section_offset(shndx); 262 if (!relobj->section_is_compressed(shndx, &size)) 263 size = relobj->section_size(shndx); [all...] |
mapfile.h | 82 print_input_section(Relobj*, unsigned int shndx); 104 unsigned int shndx);
|
output.h | 179 set_out_shndx(unsigned int shndx) 180 { this->do_set_out_shndx(shndx); } 663 add_input_section(Relobj* object, unsigned int shndx) 664 { return this->do_add_input_section(object, shndx); } 666 // Given an input OBJECT, an input section index SHNDX within that 673 output_offset(const Relobj* object, unsigned int shndx, 676 { return this->do_output_offset(object, shndx, offset, poutput); } 679 // SHNDX in OBJECT. This should return true when output_offset 682 is_merge_section_for(const Relobj* object, unsigned int shndx) const 683 { return this->do_is_merge_section_for(object, shndx); } 2791 shndx() const function in class:gold::Output_relaxed_input_section [all...] |
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...] |
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::__anon108389::__anon108390 269 Cie(Relobj* object, unsigned int shndx, section_offset_type input_offset, 273 shndx_(shndx), 381 // Add the input section SHNDX in OBJECT. SYMBOLS is the contents 395 unsigned int shndx, unsigned int reloc_shndx, 418 do_output_offset(const Relobj*, unsigned int 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...] |
dwarf_reader.cc | 470 unsigned int shndx = local 472 if (shndx == 0) 478 return shndx; 490 unsigned int shndx = 0; local 508 shndx = i; 513 shndx = i; 518 if (shndx == 0) 521 this->buffer_ = object->decompressed_section_contents(shndx, 540 && object->section_info(i) == shndx) 707 attr_value.aux.shndx = 0 720 unsigned int shndx = local 733 unsigned int shndx = local 748 unsigned int shndx = local 799 unsigned int shndx = local 809 unsigned int shndx = local 820 unsigned int shndx = local 834 unsigned int shndx = local 1457 unsigned int shndx = this->reloc_mapper_->get_reloc_target(attr_off, &value); local 1526 unsigned int shndx; \/\/ the section address refers to member in struct:gold::LineStateMachine 2329 const unsigned int shndx = local 2649 unsigned int shndx; member in struct:gold::Addr2line_cache_entry [all...] |
nacl.h | 200 for (unsigned int shndx = 1; shndx < shnum; ++shndx) 202 if (elf_file.section_type(shndx) == elfcpp::SHT_NOTE) 204 Sniff_file::Location loc = elf_file.section_contents(shndx);
|
plugin.h | 497 do_section_size(unsigned int shndx); 501 do_section_name(unsigned int shndx) const; 505 do_section_contents(unsigned int shndx, section_size_type* plen, 510 do_section_flags(unsigned int shndx); 514 do_section_entsize(unsigned int shndx); 518 do_section_address(unsigned int shndx); 522 do_section_type(unsigned int shndx); 526 do_section_link(unsigned int shndx); 530 do_section_info(unsigned int shndx); 534 do_section_addralign(unsigned int shndx); [all...] |
object.cc | 130 unsigned int shndx = elfcpp::Swap<32, big_endian>::readval(contents + i); local 132 this->symtab_xindex_.push_back(this->adjust_shndx(shndx)); 148 unsigned int shndx = this->symtab_xindex_[symndx]; local 149 if (shndx < elfcpp::SHN_LORESERVE || shndx >= object->shnum()) 152 symndx, shndx); 155 return shndx; 180 Object::section_contents(unsigned int shndx, section_size_type* plen, 182 { return this->do_section_contents(shndx, plen, cache); } 217 // the warning to be issued. SHNDX is the section index. Retur 1012 elfcpp::Elf_Word shndx = local 1910 unsigned int shndx = deferred->shndx_; local 2146 unsigned int shndx = this->adjust_sym_shndx(i, sym.get_st_shndx(), local 2260 unsigned int shndx = lv_in->input_shndx(&is_ordinary); local [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...] |
/toolchain/binutils/binutils-2.25/elfcpp/ |
elfcpp_file.h | 194 // Return the location of the header of section SHNDX. 196 section_header(unsigned int shndx) 198 return typename File::Location(this->section_header_offset(shndx), 202 // Return the name of section SHNDX. 204 section_name(unsigned int shndx) const; 206 // Return the location of the contents of section SHNDX. 208 section_contents(unsigned int shndx); 210 // Return the size of section SHNDX. 212 section_size(unsigned int shndx); 214 // Return the flags of section SHNDX [all...] |
/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;
|
/external/elfutils/libelf/ |
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;
|
gelf_getsymshndx.c | 49 Elf32_Word shndx = 0; local 74 shndx = ((Elf32_Word *) shndxdata_scn->d.d_buf)[ndx]; 128 *dstshndx = shndx;
|
/external/elfutils/libdwfl/ |
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...] |
/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) {
|
/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)
|