Lines Matching refs:off

138       *value = this->opd_ent_[ndx].off;  in get_opd_ent()
149 this->opd_ent_[ndx].off = value; in set_opd_ent()
322 Address off; member
336 opd_ent_ndx(size_t off) const in opd_ent_ndx()
337 { return off >> 4;} in opd_ent_ndx()
429 *value = this->opd_ent_[ndx].off; in get_opd_ent()
440 this->opd_ent_[ndx].off = value; in set_opd_ent()
471 Address off; member
476 opd_ent_ndx(size_t off) const in opd_ent_ndx()
477 { return off >> 4;} in opd_ent_ndx()
801 unsigned int off = this->branch_lookup_table_.size() * (size / 8); in add_branch_lookup_table() local
802 this->branch_lookup_table_.insert(std::make_pair(to, off)); in add_branch_lookup_table()
2845 Address off = object->get_output_section_offset((*p)->shndx()); in do_relax() local
2846 gold_assert(off != invalid_address); in do_relax()
2848 (*p)->set_address_and_size(os, off); in do_relax()
2914 Address off = 0; in do_relax() local
2920 off = align_address(off, i->addralign()); in do_relax()
2922 i->relobj()->set_section_offset(i->shndx(), off); in do_relax()
2928 off += stub_table->set_address_and_size(os, off); in do_relax()
2931 off += i->data_size(); in do_relax()
3114 section_size_type off = this->current_data_size(); in add_entry() local
3115 if (off == 0) in add_entry()
3116 off += this->first_plt_entry_offset(); in add_entry()
3117 gsym->set_plt_offset(off); in add_entry()
3120 this->rel_->add_global(gsym, dynrel, this, off, 0); in add_entry()
3121 off += this->plt_entry_size(); in add_entry()
3122 this->set_current_data_size(off); in add_entry()
3134 section_size_type off = this->current_data_size(); in add_ifunc_entry() local
3135 gsym->set_plt_offset(off); in add_ifunc_entry()
3139 this->rel_->add_symbolless_global_addend(gsym, dynrel, this, off, 0); in add_ifunc_entry()
3140 off += this->plt_entry_size(); in add_ifunc_entry()
3141 this->set_current_data_size(off); in add_ifunc_entry()
3155 section_size_type off = this->current_data_size(); in add_local_ifunc_entry() local
3156 relobj->set_local_plt_offset(local_sym_index, off); in add_local_ifunc_entry()
3161 this, off, 0); in add_local_ifunc_entry()
3162 off += this->plt_entry_size(); in add_local_ifunc_entry()
3163 this->set_current_data_size(off); in add_local_ifunc_entry()
3361 add_reloc(Address to, unsigned int off) in add_reloc() argument
3362 { this->rel_->add_relative(elfcpp::R_POWERPC_RELATIVE, this, off, to); } in add_reloc()
3627 can_reach_stub(Address from, unsigned int off, unsigned int r_type) in can_reach_stub() argument
3633 Address loc = off + this->stub_address(); in can_reach_stub()
3652 set_address_and_size(const Output_section* os, Address off) in set_address_and_size() argument
3654 Address start_off = off; in set_address_and_size()
3655 off += this->orig_data_size_; in set_address_and_size()
3658 off = align_address(off, this->stub_align()); in set_address_and_size()
3660 my_size += off - start_off; in set_address_and_size()
3804 Address off = plt_addr - got_addr; in plt_call_size() local
3805 unsigned int bytes = 4 * 4 + 4 * (ha(off) != 0); in plt_call_size()
3813 + 4 * (ha(off + 8 + 8 * static_chain) != ha(off))); in plt_call_size()
3965 unsigned int off = this->plt_size_; in add_plt_call_entry() local
3967 = this->plt_call_stubs_.insert(std::make_pair(ent, off)); in add_plt_call_entry()
3969 this->plt_size_ = off + this->plt_call_size(p.first); in add_plt_call_entry()
3970 return this->can_reach_stub(from, off, r_type); in add_plt_call_entry()
3983 unsigned int off = this->plt_size_; in add_plt_call_entry() local
3985 = this->plt_call_stubs_.insert(std::make_pair(ent, off)); in add_plt_call_entry()
3987 this->plt_size_ = off + this->plt_call_size(p.first); in add_plt_call_entry()
3988 return this->can_reach_stub(from, off, r_type); in add_plt_call_entry()
4051 Address off = this->branch_size_; in add_long_branch_entry() local
4052 if (this->long_branch_stubs_.insert(std::make_pair(ent, off)).second) in add_long_branch_entry()
4055 this->branch_size_ = off + stub_size; in add_long_branch_entry()
4059 return this->can_reach_stub(from, off, r_type); in add_long_branch_entry()
4241 const section_size_type off = this->stub_offset(); in do_write() local
4243 convert_to_section_size_type(this->data_size() - (off - start_off)); in do_write()
4244 unsigned char* const oview = of->get_output_view(off, oview_size); in do_write()
4279 Address off = plt_addr - got_addr; in do_write() local
4281 if (off + 0x80008000 > 0xffffffff || (off & 7) != 0) in do_write()
4307 + 4 * (ha(off) != 0) in do_write()
4308 + 4 * (ha(off + 8 + 8 * static_chain) != ha(off)) in do_write()
4315 if (ha(off) != 0) in do_write()
4321 write_insn<big_endian>(p, addis_11_2 + ha(off)); in do_write()
4323 write_insn<big_endian>(p, ld_12_11 + l(off)); in do_write()
4328 write_insn<big_endian>(p, addis_12_2 + ha(off)); in do_write()
4330 write_insn<big_endian>(p, ld_12_12 + l(off)); in do_write()
4334 && ha(off + 8 + 8 * static_chain) != ha(off)) in do_write()
4336 write_insn<big_endian>(p, addi_11_11 + l(off)); in do_write()
4338 off = 0; in do_write()
4351 write_insn<big_endian>(p, ld_2_11 + l(off + 8)); in do_write()
4355 write_insn<big_endian>(p, ld_11_11 + l(off + 16)); in do_write()
4364 write_insn<big_endian>(p, ld_12_2 + l(off)); in do_write()
4367 && ha(off + 8 + 8 * static_chain) != ha(off)) in do_write()
4369 write_insn<big_endian>(p, addi_2_2 + l(off)); in do_write()
4371 off = 0; in do_write()
4386 write_insn<big_endian>(p, ld_11_2 + l(off + 16)); in do_write()
4389 write_insn<big_endian>(p, ld_2_2 + l(off + 8)); in do_write()
4492 Address off = plt_addr - got_addr; in do_write() local
4493 if (ha(off) == 0) in do_write()
4495 write_insn<big_endian>(p + 0, lwz_11_30 + l(off)); in do_write()
4501 write_insn<big_endian>(p + 0, addis_11_30 + ha(off)); in do_write()
4502 write_insn<big_endian>(p + 4, lwz_11_11 + l(off)); in do_write()
4557 const section_size_type off = this->offset(); in do_write() local
4560 unsigned char* const oview = of->get_output_view(off, oview_size); in do_write()
4653 Address off = plt_addr - my_addr; in do_write() local
4655 if (off + 0x80008000 > 0xffffffff || (off & 3) != 0) in do_write()
4660 write_insn<big_endian>(p, addis_12_12 + ha(off)), p += 4; in do_write()
4661 write_insn<big_endian>(p, ld_12_12 + l(off)), p += 4; in do_write()
4747 of->write_output_view(off, oview_size, oview); in do_write()
5070 const section_size_type off = this->offset(); in do_write() local
5073 unsigned char* const oview = of->get_output_view(off, oview_size); in do_write()
5075 of->write_output_view(off, oview_size, oview); in do_write()
5522 Address off = reloc.get_r_offset(); in local() local
5526 && ppc_object->get_opd_discard(off - 8)) in local()
5534 object, data_shndx, off, in local()
5682 unsigned int off; in local() local
5683 off = got->add_constant(0); in local()
5684 object->set_local_got_offset(r_sym, GOT_TYPE_STANDARD, off); in local()
5691 got, off, 0, false); in local()
5778 unsigned int off = got->add_constant(0); in local() local
5779 object->set_local_got_offset(r_sym, GOT_TYPE_TPREL, off); in local()
5784 got, off, 0); in local()
5896 Address off = reloc.get_r_offset(); in global() local
5899 && ppc_object->get_opd_discard(off - 8)) in global()
5910 object, data_shndx, off, in global()
6130 unsigned int off = got->add_constant(0); in global() local
6131 gsym->set_got_offset(GOT_TYPE_STANDARD, off); in global()
6144 rela_dyn->add_global_relative(gsym, dynrel, got, off, 0, false); in global()
6149 rela_dyn->add_global(gsym, dynrel, got, off, 0); in global()
6196 unsigned int off = got->add_constant(0); in global() local
6197 gsym->set_got_offset(GOT_TYPE_TPREL, off); in global()
6200 got, off, 0); in global()
6277 unsigned int off = got->add_constant(0); in global() local
6278 gsym->set_got_offset(GOT_TYPE_TPREL, off); in global()
6281 got, off, 0); in global()
6462 Address off = loc->offset - ppc_object->opd_address(); in do_function_location() local
6463 loc->shndx = ppc_object->get_opd_ent(off, &dest_off); in do_function_location()
6837 Address off = target->glink_section()->find_global_entry(gsym); in relocate() local
6838 if (off != invalid_address) in relocate()
6840 value = target->glink_section()->global_entry_address() + off; in relocate()
6856 Address off; in relocate() local
6858 off = stub_table->find_plt_call_entry(object, gsym, r_type, in relocate()
6861 off = stub_table->find_plt_call_entry(object, r_sym, r_type, in relocate()
6863 if (off != invalid_address) in relocate()
6865 value = stub_table->stub_address() + off; in relocate()
7244 Address off = stub_table->find_long_branch_entry(object, value); in relocate() local
7245 if (off != invalid_address) in relocate()
7248 + off); in relocate()
8234 Address off = (*p)->find_plt_call_entry(gsym); in do_dynsym_value() local
8235 if (off != invalid_address) in do_dynsym_value()
8236 return (*p)->stub_address() + off; in do_dynsym_value()
8241 Address off = this->glink_section()->find_global_entry(gsym); in do_dynsym_value() local
8242 if (off != invalid_address) in do_dynsym_value()
8243 return this->glink_section()->global_entry_address() + off; in do_dynsym_value()
8263 Address off = (*p)->find_plt_call_entry(relobj->sized_relobj(), in do_plt_address_for_local() local
8265 if (off != invalid_address) in do_plt_address_for_local()
8266 return (*p)->stub_address() + off; in do_plt_address_for_local()
8284 Address off = (*p)->find_plt_call_entry(gsym); in do_plt_address_for_global() local
8285 if (off != invalid_address) in do_plt_address_for_global()
8286 return (*p)->stub_address() + off; in do_plt_address_for_global()
8291 Address off = this->glink_section()->find_global_entry(gsym); in do_plt_address_for_global() local
8292 if (off != invalid_address) in do_plt_address_for_global()
8293 return this->glink_section()->global_entry_address() + off; in do_plt_address_for_global()
8316 unsigned int off = ppc_object->local_got_offset(symndx, got_type); in do_tls_offset_for_local() local
8318 off += size / 8; in do_tls_offset_for_local()
8319 if (off == got_indx * (size / 8)) in do_tls_offset_for_local()
8346 unsigned int off = gsym->got_offset(got_type); in do_tls_offset_for_global() local
8348 off += size / 8; in do_tls_offset_for_global()
8349 if (off == got_indx * (size / 8)) in do_tls_offset_for_global()