Lines Matching refs:stub

905   add_reloc_stub(Reloc_stub* stub, const Reloc_stub::Key& key)  in add_reloc_stub()  argument
907 const Stub_template* stub_template = stub->stub_template(); in add_reloc_stub()
909 this->reloc_stubs_[key] = stub; in add_reloc_stub()
915 stub->set_offset(this->reloc_stubs_size_); in add_reloc_stub()
925 add_cortex_a8_stub(Arm_address address, Cortex_a8_stub* stub) in add_cortex_a8_stub() argument
927 std::pair<Arm_address, Cortex_a8_stub*> value(address, stub); in add_cortex_a8_stub()
934 add_arm_v4bx_stub(Arm_v4bx_stub* stub) in add_arm_v4bx_stub() argument
936 gold_assert(stub != NULL && this->arm_v4bx_stubs_[stub->reg()] == NULL); in add_arm_v4bx_stub()
937 this->arm_v4bx_stubs_[stub->reg()] = stub; in add_arm_v4bx_stub()
3711 Arm_v4bx_stub* stub = stub_table->find_arm_v4bx_stub(reg); in v4bx() local
3712 gold_assert(stub != NULL); in v4bx()
3715 stub_table->address() + stub->offset() - 8 - address; in v4bx()
3992 Reloc_stub* stub = NULL; in arm_branch_common() local
4012 stub = stub_table->find_reloc_stub(stub_key); in arm_branch_common()
4013 gold_assert(stub != NULL); in arm_branch_common()
4014 thumb_bit = stub->stub_template()->entry_in_thumb_mode() ? 1 : 0; in arm_branch_common()
4015 branch_target = stub_table->address() + stub->offset() + addend; in arm_branch_common()
4153 Reloc_stub* stub = stub_table->find_reloc_stub(stub_key); in thumb_branch_common() local
4154 gold_assert(stub != NULL); in thumb_branch_common()
4155 thumb_bit = stub->stub_template()->entry_in_thumb_mode() ? 1 : 0; in thumb_branch_common()
4156 branch_target = stub_table->address() + stub->offset() + addend; in thumb_branch_common()
4958 Stub* stub, in relocate_stub() argument
4966 const Stub_template* stub_template = stub->stub_template(); in relocate_stub()
4970 section_size_type offset = stub->offset(); in relocate_stub()
4974 arm_target->relocate_stub(stub, relinfo, output_section, view + offset, in relocate_stub()
5038 Reloc_stub* stub = p->second; in do_write() local
5039 Arm_address address = this->address() + stub->offset(); in do_write()
5042 stub->stub_template()->alignment())); in do_write()
5043 stub->write(oview + stub->offset(), stub->stub_template()->size(), in do_write()
5052 Cortex_a8_stub* stub = p->second; in do_write() local
5053 Arm_address address = this->address() + stub->offset(); in do_write()
5056 stub->stub_template()->alignment())); in do_write()
5057 stub->write(oview + stub->offset(), stub->stub_template()->size(), in do_write()
5198 Cortex_a8_stub* stub = p->second; in finalize_stubs() local
5199 const Stub_template* stub_template = stub->stub_template(); in finalize_stubs()
5202 stub->set_offset(off); in finalize_stubs()
5208 Arm_relobj<big_endian>::as_arm_relobj(stub->relobj()); in finalize_stubs()
5209 arm_relobj->mark_section_for_cortex_a8_workaround(stub->shndx()); in finalize_stubs()
5251 const Cortex_a8_stub* stub = p->second; in apply_cortex_a8_workaround_to_address_range() local
5252 Arm_address stub_address = this->address() + stub->offset(); in apply_cortex_a8_workaround_to_address_range()
5259 arm_target->apply_cortex_a8_workaround(stub, stub_address, in apply_cortex_a8_workaround_to_address_range()
11730 Reloc_stub* stub = NULL; in scan_reloc_for_stub() local
11745 stub = stub_table->find_reloc_stub(stub_key); in scan_reloc_for_stub()
11746 if (stub == NULL) in scan_reloc_for_stub()
11749 stub = this->stub_factory().make_reloc_stub(stub_type); in scan_reloc_for_stub()
11750 stub_table->add_reloc_stub(stub, stub_key); in scan_reloc_for_stub()
11754 stub->set_destination_address(destination in scan_reloc_for_stub()
11770 new Cortex_a8_reloc(stub, r_type, in scan_reloc_for_stub()
11873 Arm_v4bx_stub* stub = in scan_reloc_section_for_stubs() local
11875 gold_assert(stub != NULL); in scan_reloc_section_for_stubs()
11876 stub_table->add_arm_v4bx_stub(stub); in scan_reloc_section_for_stubs()
12314 Stub* stub, in relocate_stub() argument
12322 const Stub_template* stub_template = stub->stub_template(); in relocate_stub()
12334 Arm_address target = stub->reloc_target(i) + insn->reloc_addend(); in relocate_stub()
12553 Cortex_a8_stub* stub = in scan_span_for_cortex_a8_erratum() local
12561 stub_table->add_cortex_a8_stub(address + i, stub); in scan_span_for_cortex_a8_erratum()
12577 const Cortex_a8_stub* stub, in apply_cortex_a8_workaround() argument
12589 switch (stub->stub_template()->type()) in apply_cortex_a8_workaround()