HomeSort by relevance Sort by last modified time
    Searched full:shndx (Results 1 - 25 of 164) sorted by null

1 2 3 4 5 6 7

  /external/llvm/test/Object/
objdump-shndx.test 1 RUN: llvm-objdump -r %p/Inputs/shndx.elf | FileCheck %s
3 Test that llvm-objdump can handle shndx. The relocation points to a section
5 has to use the shndx section.
  /toolchain/binutils/binutils-2.27/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.27/gold/
merge.cc 49 Object_merge_map::get_input_merge_map(unsigned int shndx) const
51 gold_assert(shndx != -1U);
56 if (i->first == shndx)
66 const Output_section_data* output_data, unsigned int shndx) {
67 Input_merge_map* map = this->get_input_merge_map(shndx);
79 maps.push_back(std::make_pair(shndx, new_map));
87 unsigned int shndx,
92 Input_merge_map* map = this->get_or_make_input_merge_map(output_data, shndx);
138 Object_merge_map::get_output_offset(unsigned int shndx,
142 Input_merge_map* map = this->get_input_merge_map(shndx);
    [all...]
copy-relocs.cc 43 unsigned int shndx,
50 if (this->need_copy_reloc(sym, object, shndx))
56 this->save(sym, object, shndx, output_section,
62 // The relocation is begin applied to section SHNDX in OBJECT.
69 unsigned int shndx) const
81 if ((object->section_flags(shndx) & elfcpp::SHF_WRITE) == 0)
141 unsigned int shndx = sym->shndx(&is_ordinary); local
152 addralign = obj->section_addralign(shndx);
192 unsigned int shndx,
    [all...]
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...]
object.h 194 adjust_shndx(unsigned int shndx)
196 if (shndx >= elfcpp::SHN_LORESERVE)
197 shndx += this->large_shndx_offset_;
198 return shndx;
553 section_contents(unsigned int shndx, section_size_type* plen, bool cache);
556 // of the symbol and SHNDX is the symbol's section from
562 adjust_sym_shndx(unsigned int symndx, unsigned int shndx, bool* is_ordinary)
564 if (shndx < elfcpp::SHN_LORESERVE)
566 else if (shndx == elfcpp::SHN_XINDEX)
570 shndx = this->xindex_->sym_xindex_to_shndx(this, symndx)
    [all...]
merge.h 51 // + LENGTH in the input section SHNDX to OUTPUT_OFFSET in the
56 add_mapping(const Output_section_data*, unsigned int shndx,
62 // is at offset OFFSET in section SHNDX. This sets *OUTPUT_OFFSET
68 get_output_offset(unsigned int shndx,
73 find_merge_section(unsigned int shndx) const;
76 // section SHNDX. STARTING_ADDRESS is the output address of the
81 unsigned int shndx,
137 // Get or make the Input_merge_map to use for the section SHNDX
141 unsigned int shndx);
157 // section SHNDX, or NULL
490 unsigned int shndx; member in struct:gold::Output_merge_string::Merged_strings_list
    [all...]
output.h 304 set_out_shndx(unsigned int shndx)
305 { this->do_set_out_shndx(shndx); }
787 add_input_section(Relobj* object, unsigned int shndx)
788 { return this->do_add_input_section(object, shndx); }
790 // Given an input OBJECT, an input section index SHNDX within that
797 output_offset(const Relobj* object, unsigned int shndx,
800 { return this->do_output_offset(object, shndx, offset, poutput); }
1149 unsigned int shndx, Address address, bool is_relative,
1162 unsigned int shndx, Address address, bool is_relative,
1172 Sized_relobj<size, big_endian>* relobj, unsigned int shndx,
3317 shndx() const function in class:gold::Output_relaxed_input_section
    [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
72 unsigned int shndx,
106 unsigned int shndx,
110 shndx_(shndx), output_section_(output_section),
140 unsigned int shndx) const;
146 unsigned int shndx,
icf.h 96 // Unfolds the section denoted by OBJ and SHNDX if folded.
98 unfold_section(Relobj* obj, unsigned int shndx);
103 is_section_folded(Relobj* obj, unsigned int shndx);
108 section_has_function_pointers(Relobj* obj, unsigned int shndx)
110 return (this->fptr_section_id_.find(Section_id(obj, shndx))
117 set_section_has_function_pointers(Relobj* obj, unsigned int shndx)
119 this->fptr_section_id_.insert(Section_id(obj, shndx));
dynobj.h 211 do_section_size(unsigned int shndx)
212 { return this->elf_file_.section_size(shndx); }
216 do_section_name(unsigned int shndx) const
217 { return this->elf_file_.section_name(shndx); }
222 do_section_contents(unsigned int shndx, section_size_type* plen,
225 Location loc(this->elf_file_.section_contents(shndx));
237 do_section_flags(unsigned int shndx)
238 { return this->elf_file_.section_flags(shndx); }
247 do_section_address(unsigned int shndx)
248 { return this->elf_file_.section_addr(shndx); }
    [all...]
object.cc 131 unsigned int shndx = elfcpp::Swap<32, big_endian>::readval(contents + i); local
133 this->symtab_xindex_.push_back(this->adjust_shndx(shndx));
149 unsigned int shndx = this->symtab_xindex_[symndx]; local
150 if (shndx < elfcpp::SHN_LORESERVE || shndx >= object->shnum())
153 symndx, shndx);
156 return shndx;
181 Object::section_contents(unsigned int shndx, section_size_type* plen,
183 { return this->do_section_contents(shndx, plen, cache); }
218 // the warning to be issued. SHNDX is the section index. Retur
1076 elfcpp::Elf_Word shndx = local
1974 unsigned int shndx = deferred->shndx_; local
2212 unsigned int shndx = this->adjust_sym_shndx(i, sym.get_st_shndx(), local
2330 unsigned int shndx = lv_in->input_shndx(&is_ordinary); 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...]
ehframe.h 167 Fde(Relobj* object, unsigned int shndx, section_offset_type input_offset,
172 this->u_.from_object.shndx = shndx;
199 this->object_->add_merge_mapping(output_data, this->u_.from_object.shndx,
231 unsigned int shndx; member in struct:gold::Fde::__anon4443::__anon4444
270 Cie(Relobj* object, unsigned int shndx, section_offset_type input_offset,
274 shndx_(shndx),
382 // Add the input section SHNDX in OBJECT. SYMBOLS is the contents
396 unsigned int shndx, unsigned int reloc_shndx,
419 do_output_offset(const Relobj*, unsigned int shndx,
    [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);
mapfile.h 82 print_input_section(Relobj*, unsigned int shndx);
104 unsigned int shndx);
incremental-dump.cc 211 for (unsigned int shndx = 0; shndx < nsections; ++shndx)
214 input_file.get_input_section(shndx));
215 printf(" %3d %6d %8lld %8lld %s\n", shndx + 1,
294 "outndx", "shndx", "offset", "chain", "#relocs", "rbase");
329 info.shndx() == -1U ? -1 : info.shndx(),
334 (info.shndx() == -1U
336 : info.shndx() == 0 ? "UNDEF" : "DEF")
    [all...]
  /toolchain/binutils/binutils-2.27/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;
plugin_section_alignment.cc 195 unsigned shndx; local
206 for (shndx = 0; shndx < count; ++shndx) {
210 section.shndx = shndx;
217 si.plugin_section.shndx = shndx;
257 si.plugin_section.shndx, si.name.c_str(), si.align,
  /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...]
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);
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/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/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) {

Completed in 1642 milliseconds

1 2 3 4 5 6 7