Lines Matching refs:stub

1390   add_reloc_stub(The_reloc_stub* stub, const The_reloc_stub_key& key);
1395 add_erratum_stub(The_erratum_stub* stub);
1410 erratum_stub_address(The_erratum_stub* stub) const in erratum_stub_address()
1414 r += stub->offset(); in erratum_stub_address()
1509 Stub_table<size, big_endian>::add_erratum_stub(The_erratum_stub* stub) in add_erratum_stub() argument
1512 this->erratum_stubs_.insert(stub); in add_erratum_stub()
1516 stub->set_offset(this->erratum_stubs_size_); in add_erratum_stub()
1517 this->erratum_stubs_size_ += stub->stub_size(); in add_erratum_stub()
1534 The_erratum_stub* stub(*i); in find_erratum_stub() local
1535 gold_assert(stub->erratum_insn() != 0); in find_erratum_stub()
1536 return stub; in find_erratum_stub()
1572 The_reloc_stub* stub, const The_reloc_stub_key& key) in add_reloc_stub() argument
1574 gold_assert(stub->type() == key.type()); in add_reloc_stub()
1575 this->reloc_stubs_[key] = stub; in add_reloc_stub()
1581 stub->set_offset(this->reloc_stubs_size_); in add_reloc_stub()
1582 this->reloc_stubs_size_ += stub->stub_size(); in add_reloc_stub()
1649 relocate_stub(The_reloc_stub* stub, in relocate_stub() argument
1658 section_size_type offset = stub->offset(); in relocate_stub()
1659 section_size_type stub_size = stub->stub_size(); in relocate_stub()
1663 target_aarch64->relocate_stub(stub, relinfo, output_section, in relocate_stub()
1683 The_reloc_stub* stub = p->second; in do_write() local
1684 AArch64_address address = this->address() + stub->offset(); in do_write()
1687 stub->write(oview + stub->offset(), stub->stub_size()); in do_write()
1696 The_erratum_stub* stub(*p); in do_write() local
1697 stub->write(oview + erratum_stub_start_offset + stub->offset(), in do_write()
1698 stub->stub_size()); in do_write()
1954 The_erratum_stub* stub = *p; in fix_errata() local
1959 gold_assert(pview.address + stub->sh_offset() in fix_errata()
1960 == stub->erratum_address()); in fix_errata()
1965 reinterpret_cast<Insntype*>(pview.view + stub->sh_offset()); in fix_errata()
1967 stub->update_erratum_insn(insn_to_fix); in fix_errata()
1971 if (!try_fix_erratum_843419_optimized(stub, pview)) in fix_errata()
1975 stub_table->erratum_stub_address(stub); in fix_errata()
1976 unsigned int b_offset = stub_address - stub->erratum_address(); in fix_errata()
1978 pview.view + stub->sh_offset(), b_offset & 0xfffffff); in fix_errata()
1995 The_erratum_stub* stub, in try_fix_erratum_843419_optimized() argument
1998 if (stub->type() != ST_E_843419) in try_fix_erratum_843419_optimized()
2004 reinterpret_cast<E843419_stub<size, big_endian>*>(stub); in try_fix_erratum_843419_optimized()
3761 The_reloc_stub* stub = stub_table->find_reloc_stub(key); in scan_reloc_for_stub() local
3762 if (stub == NULL) in scan_reloc_for_stub()
3764 stub = new The_reloc_stub(stub_type); in scan_reloc_for_stub()
3765 stub_table->add_reloc_stub(stub, key); in scan_reloc_for_stub()
3767 stub->set_destination_address(destination); in scan_reloc_for_stub()
3996 relocate_stub(The_reloc_stub* stub, in relocate_stub() argument
4008 int insn_number = stub->insn_num(); in relocate_stub()
4009 const uint32_t* insns = stub->insns(); in relocate_stub()
4017 Address dest = stub->destination_address(); in relocate_stub()
4019 switch(stub->type()) in relocate_stub()
5394 The_reloc_stub* stub = stub_table->find_reloc_stub(stub_key); in maybe_apply_stub() local
5395 gold_assert(stub != NULL); in maybe_apply_stub()
5397 Address new_branch_target = stub_table->address() + stub->offset(); in maybe_apply_stub()
8067 The_erratum_stub* stub; in create_erratum_stub() local
8069 stub = new The_erratum_stub(relobj, erratum_type, shndx, in create_erratum_stub()
8072 stub = new E843419_stub<size, big_endian>( in create_erratum_stub()
8076 stub->set_erratum_insn(erratum_insn); in create_erratum_stub()
8077 stub->set_erratum_address(erratum_address); in create_erratum_stub()
8080 stub->set_destination_address(erratum_address + BPI); in create_erratum_stub()
8081 stub_table->add_erratum_stub(stub); in create_erratum_stub()