/toolchain/binutils/binutils-2.27/gold/ |
D | mapfile.cc | 205 const Sized_relobj_file<size, big_endian>* relobj, in print_input_section_symbols() argument 208 unsigned int symcount = relobj->symbol_count(); in print_input_section_symbols() 209 for (unsigned int i = relobj->local_symbol_count(); i < symcount; ++i) in print_input_section_symbols() 211 const Symbol* sym = relobj->global_symbol(i); in print_input_section_symbols() 215 && sym->object() == relobj in print_input_section_symbols() 236 Mapfile::print_input_section(Relobj* relobj, unsigned int shndx) in print_input_section() argument 240 std::string name = relobj->section_name(shndx); in print_input_section() 247 if (!relobj->is_section_included(shndx)) in print_input_section() 254 os = relobj->output_section(shndx); in print_input_section() 255 addr = relobj->output_section_offset(shndx); in print_input_section() [all …]
|
D | output.h | 1148 Sized_relobj<size, big_endian>* relobj, 1154 Output_reloc(Sized_relobj<size, big_endian>* relobj, 1160 Output_reloc(Sized_relobj<size, big_endian>* relobj, 1172 Sized_relobj<size, big_endian>* relobj, unsigned int shndx, 1180 Output_reloc(unsigned int type, Sized_relobj<size, big_endian>* relobj, 1191 Sized_relobj<size, big_endian>* relobj, 1253 return this->u2_.relobj; in get_relobj() 1310 Sized_relobj<size, big_endian>* relobj; member 1326 Sized_relobj<size, big_endian>* relobj; member 1386 Sized_relobj<size, big_endian>* relobj, in Output_reloc() argument [all …]
|
D | output.cc | 733 Sized_relobj<size, big_endian>* relobj, in Output_reloc() argument 747 this->u2_.relobj = relobj; in Output_reloc() 756 Sized_relobj<size, big_endian>* relobj, in Output_reloc() argument 774 this->u1_.relobj = relobj; in Output_reloc() 782 Sized_relobj<size, big_endian>* relobj, in Output_reloc() argument 801 this->u1_.relobj = relobj; in Output_reloc() 802 this->u2_.relobj = relobj; in Output_reloc() 834 Sized_relobj<size, big_endian>* relobj, in Output_reloc() argument 846 this->u2_.relobj = relobj; in Output_reloc() 867 this->u1_.relobj = NULL; in Output_reloc() [all …]
|
D | aarch64.cc | 452 Sized_relobj_file<size, big_endian>* relobj, in add_static_reloc() argument 455 this->static_relocs_.push_back(Static_reloc(got_offset, r_type, relobj, in add_static_reloc() 497 Sized_relobj_file<size, big_endian>* object = reloc.relobj(); in do_write() 499 reloc.relobj()->local_symbol(reloc.index()); in do_write() 513 reloc.index(), reloc.relobj()->name().c_str()); in do_write() 587 Sized_relobj_file<size, big_endian>* relobj, unsigned int index) in Static_reloc() argument 590 this->u_.local.relobj = relobj; in Static_reloc() 619 relobj() const in relobj() function in __anon468f29090111::Output_data_got_aarch64::Static_reloc 622 return this->u_.local.relobj; in relobj() 651 Sized_relobj_file<size, big_endian>* relobj; member [all …]
|
D | arm.cc | 515 Key(Stub_type stub_type, const Symbol* symbol, const Relobj* relobj, in Key() argument 526 gold_assert(relobj != NULL && r_sym != invalid_index); in Key() 528 this->u_.relobj = relobj; in Key() 555 relobj() const in relobj() function in __anonf511bcc00111::Reloc_stub::Key 556 { return this->r_sym_ != invalid_index ? this->u_.relobj : NULL; } in relobj() 565 ? (this->u_.relobj == k.u_.relobj) in eq() 578 ? this->u_.relobj->name().c_str() in hash_value() 617 const Relobj* relobj; member 677 relobj() const in relobj() function in __anonf511bcc00111::Cortex_a8_stub 707 Cortex_a8_stub(const Stub_template* stub_template, Relobj* relobj, in Cortex_a8_stub() argument [all …]
|
D | symtab.cc | 359 Relobj* relobj = static_cast<Relobj*>(this->object()); in should_add_dynsym_entry() local 363 && !relobj->is_section_included(shndx) in should_add_dynsym_entry() 364 && !symtab->is_section_folded(relobj, shndx)) in should_add_dynsym_entry() 495 Relobj* relobj = static_cast<Relobj*>(this->u_.from_object.object); in output_section() local 496 return relobj->output_section(shndx); in output_section() 659 Relobj* relobj = static_cast<Relobj*>(sym->object()); in gc_mark_symbol() local 660 this->gc_->worklist().push_back(Section_id(relobj, shndx)); in gc_mark_symbol() 1152 Sized_relobj_file<size, big_endian>* relobj, in add_from_relobj() argument 1167 const bool just_symbols = relobj->just_symbols(); in add_from_relobj() 1179 relobj->error(_("bad global symbol name offset %u at %zu"), in add_from_relobj() [all …]
|
D | copy-relocs.h | 105 Sized_relobj_file<size, big_endian>* relobj, in Copy_reloc_entry() 109 : sym_(sym), reloc_type_(reloc_type), relobj_(relobj), in Copy_reloc_entry()
|
D | merge.cc | 241 Output_merge_base::record_input_section(Relobj* relobj, unsigned int shndx) in record_input_section() argument 243 gold_assert(this->keeps_input_sections_ && relobj != NULL); in record_input_section() 248 this->first_relobj_ = relobj; in record_input_section() 253 this->input_sections_.insert(Section_id(relobj, shndx)); in record_input_section()
|
D | mips.cc | 1607 as_mips_relobj(Relobj* relobj) in as_mips_relobj() argument 1608 { return static_cast<Mips_relobj<size, big_endian>*>(relobj); } in as_mips_relobj() 1613 as_mips_relobj(const Relobj* relobj) in as_mips_relobj() argument 1614 { return static_cast<const Mips_relobj<size, big_endian>*>(relobj); } in as_mips_relobj() 2030 Sized_relobj_file<size, big_endian>* relobj, in add_static_reloc() argument 2033 this->static_relocs_.push_back(Static_reloc(got_offset, r_type, relobj, in add_static_reloc() 2223 Sized_relobj_file<size, big_endian>* relobj, unsigned int index) in Static_reloc() argument 2226 this->u_.local.relobj = relobj; in Static_reloc() 2255 relobj() const in relobj() function in __anon1e60feb90111::Mips_output_data_got::Static_reloc 2258 return this->u_.local.relobj; in relobj() [all …]
|
D | script-sections.cc | 1460 relobj() const in relobj() function in gold::Input_section_info 1461 { return this->input_section_.relobj(); } in relobj() 1603 if (isi1.relobj()->name() != isi2.relobj()->name()) in operator ()() 1604 return (isi1.relobj()->name() < isi2.relobj()->name()); in operator ()() 1668 Relobj* relobj = p->relobj(); in set_section_addresses() local 1680 Task_lock_obj<Object> tl(task, relobj); in set_section_addresses() 1682 isi.set_section_name(relobj->section_name(shndx)); in set_section_addresses() 1692 isi.set_size(relobj->section_size(shndx)); in set_section_addresses() 1693 isi.set_addralign(relobj->section_addralign(shndx)); in set_section_addresses() 1697 if (!this->match_file_name(relobj->name().c_str())) in set_section_addresses()
|
D | powerpc.cc | 1083 Sized_relobj_file<size, big_endian>* relobj, in local_reloc_may_be_function_pointer() argument 1096 <Powerpc_relobj<size, big_endian>*>(relobj); in local_reloc_may_be_function_pointer() 1108 Sized_relobj_file<size, big_endian>* relobj, in global_reloc_may_be_function_pointer() argument 1119 <Powerpc_relobj<size, big_endian>*>(relobj); in global_reloc_may_be_function_pointer() 2689 start_addr += i->relobj()->output_section_offset(i->shndx()); in can_add_to_stub_group() 2700 i->relobj()->name().c_str(), in can_add_to_stub_group() 2701 i->relobj()->section_name(i->shndx()).c_str()); in can_add_to_stub_group() 2705 i->relobj()->name().c_str(), in can_add_to_stub_group() 2706 i->relobj()->section_name(i->shndx()).c_str(), in can_add_to_stub_group() 2807 <Powerpc_relobj<size, big_endian>*>(i->relobj()); in group_sections() [all …]
|
D | layout.cc | 800 Layout::is_ctors_in_init_array(Relobj* relobj, unsigned int shndx) const in is_ctors_in_init_array() argument 802 return (ctors_sections_in_init_array.find(Section_id(relobj, shndx)) in is_ctors_in_init_array() 890 Layout::keep_input_section(const Relobj* relobj, const char* name) in keep_input_section() argument 896 const char* file_name = relobj == NULL ? NULL : relobj->name().c_str(); in keep_input_section() 937 Layout::choose_output_section(const Relobj* relobj, const char* name, in choose_output_section() argument 954 const char* file_name = relobj == NULL ? NULL : relobj->name().c_str(); in choose_output_section() 1053 name = parameters->target().output_section_name(relobj, name, &len); in choose_output_section() 1055 name = Layout::output_section_name(relobj, orig_name, &len); in choose_output_section() 5116 Layout::output_section_name(const Relobj* relobj, const char* name, in output_section_name() argument 5197 if (relobj == NULL in output_section_name() [all …]
|
D | i386.cc | 96 Sized_relobj_file<32, false>* relobj, 489 do_plt_address_for_local(const Relobj* relobj, unsigned int symndx) const in do_plt_address_for_local() argument 490 { return this->plt_section()->address_for_local(relobj, symndx); } in do_plt_address_for_local() 815 Sized_relobj_file<32, false>* relobj, 1149 Sized_relobj_file<32, false>* relobj, in add_local_ifunc_entry() argument 1163 rel->add_symbolless_local_addend(relobj, local_sym_index, in add_local_ifunc_entry() 1168 li.object = relobj; in add_local_ifunc_entry() 1540 Sized_relobj_file<32, false>* relobj, in make_local_ifunc_plt_entry() argument 1543 if (relobj->local_has_plt_offset(local_sym_index)) in make_local_ifunc_plt_entry() 1548 relobj, in make_local_ifunc_plt_entry() [all …]
|
D | layout.h | 775 match_file_name(const Relobj* relobj, const char* file_name); 781 is_ctors_in_init_array(Relobj* relobj, unsigned int shndx) const; 1150 choose_output_section(const Relobj* relobj, const char* name,
|
D | sparc.cc | 179 do_plt_address_for_local(const Relobj* relobj, unsigned int symndx) const in do_plt_address_for_local() argument 180 { return this->plt_section()->address_for_local(relobj, symndx); } in do_plt_address_for_local() 376 Sized_relobj_file<size, big_endian>* relobj, 1314 Sized_relobj_file<size, big_endian>* relobj, 1530 Sized_relobj_file<size, big_endian>* relobj, in add_local_ifunc_entry() argument 1543 li.object = relobj; in add_local_ifunc_entry() 1859 Sized_relobj_file<size, big_endian>* relobj, in make_local_ifunc_plt_entry() argument 1862 if (relobj->local_has_plt_offset(local_sym_index)) in make_local_ifunc_plt_entry() 1867 relobj, in make_local_ifunc_plt_entry() 1869 relobj->set_local_plt_offset(local_sym_index, plt_offset); in make_local_ifunc_plt_entry()
|
D | merge.h | 258 record_input_section(Relobj* relobj, unsigned int shndx);
|
D | target.h | 453 output_section_name(const Relobj* relobj, in output_section_name() argument 456 { return this->do_output_section_name(relobj, name, plen); } in output_section_name()
|
D | x86_64.cc | 132 Sized_relobj_file<size, false>* relobj, 591 do_plt_address_for_local(const Relobj* relobj, unsigned int symndx) const in do_plt_address_for_local() argument 592 { return this->plt_section()->address_for_local(relobj, symndx); } in do_plt_address_for_local() 1049 Sized_relobj_file<size, false>* relobj, 1493 Sized_relobj_file<size, false>* relobj, in add_local_ifunc_entry() argument 1507 rela->add_symbolless_local_addend(relobj, local_sym_index, in add_local_ifunc_entry() 1937 Sized_relobj_file<size, false>* relobj, in make_local_ifunc_plt_entry() argument 1940 if (relobj->local_has_plt_offset(local_sym_index)) in make_local_ifunc_plt_entry() 1945 relobj, in make_local_ifunc_plt_entry() 1947 relobj->set_local_plt_offset(local_sym_index, plt_offset); in make_local_ifunc_plt_entry()
|
D | s390.cc | 396 do_plt_address_for_local(const Relobj* relobj, unsigned int symndx) const in do_plt_address_for_local() argument 397 { return this->plt_section()->address_for_local(relobj, symndx); } in do_plt_address_for_local() 670 Sized_relobj_file<size, true>* relobj, 1120 Sized_relobj_file<size, true>* relobj, in add_local_ifunc_entry() argument 1134 rela->add_symbolless_local_addend(relobj, local_sym_index, in add_local_ifunc_entry() 1764 Sized_relobj_file<size, true>* relobj, in make_local_ifunc_plt_entry() argument 1767 if (relobj->local_has_plt_offset(local_sym_index)) in make_local_ifunc_plt_entry() 1772 relobj, in make_local_ifunc_plt_entry() 1774 relobj->set_local_plt_offset(local_sym_index, plt_offset); in make_local_ifunc_plt_entry()
|
D | tilegx.cc | 356 do_plt_address_for_local(const Relobj* relobj, unsigned int symndx) const in do_plt_address_for_local() argument 357 { return this->plt_section()->address_for_local(relobj, symndx); } in do_plt_address_for_local() 569 Sized_relobj_file<size, big_endian>* relobj, 2112 Sized_relobj_file<size, big_endian>* relobj, in add_local_ifunc_entry() argument 2127 rela->add_symbolless_local_addend(relobj, local_sym_index, in add_local_ifunc_entry() 2572 Sized_relobj_file<size, big_endian>* relobj, in make_local_ifunc_plt_entry() argument 2575 if (relobj->local_has_plt_offset(local_sym_index)) in make_local_ifunc_plt_entry() 2580 relobj, in make_local_ifunc_plt_entry() 2582 relobj->set_local_plt_offset(local_sym_index, plt_offset); in make_local_ifunc_plt_entry()
|
D | incremental.cc | 1557 const Relobj* relobj = static_cast<const Relobj*>(obj); in write_info_blocks() local 1562 off_t locals_offset = relobj->local_symbol_offset(); in write_info_blocks() 1563 unsigned int nlocals = relobj->output_local_symbol_count(); in write_info_blocks() 1564 unsigned int first_dynrel = relobj->first_dyn_reloc(); in write_info_blocks() 1565 unsigned int ndynrel = relobj->dyn_reloc_count(); in write_info_blocks()
|
D | symtab.h | 1426 add_from_relobj(Sized_relobj_file<size, big_endian>* relobj,
|
D | ChangeLog-0815 | 6959 (Layout::output_section_name): Add relobj parameter. Change all 7476 * output.cc (Output_reloc::Output_reloc): Adjust type of relobj 7478 (set_needs_dynsym_index): Convert relobj to derived class pointer. 7487 * output.h (Output_reloc::Output_reloc): Adjust type of relobj 7490 (Output_reloc::u1_.relobj, Output_reloc::u2_.relobj): Adjust type. 7491 (Output_data_reloc_base::add): Convert relobj to derived class pointer. 7492 (Output_data_reloc::add_global): Adjust type of relobj. 10263 * output.cc (Output_section::Input_section::relobj): Move method 10295 (Output_section::Input_section::relobj): Move defintion out of class 13700 (Output_section::Input_section::relobj, [all …]
|
/toolchain/binutils/binutils-2.27/gold/testsuite/ |
D | binary_unittest.cc | 122 Sized_relobj_file<size, big_endian>* relobj = in Sized_binary_test() local 126 CHECK(relobj->symbol_section_and_value(0, &value, &is_ordinary) == 0); in Sized_binary_test() 129 CHECK(relobj->symbol_section_and_value(1, &value, &is_ordinary) == 1); in Sized_binary_test() 132 CHECK(relobj->symbol_section_and_value(2, &value, &is_ordinary) == 1); in Sized_binary_test() 135 CHECK(relobj->symbol_section_and_value(3, &value, &is_ordinary) in Sized_binary_test()
|