Lines Matching defs:off

129   set_no_toc_opt(Address off)
134 off /= size / 8;
135 if (off < this->no_toc_opt_.size())
136 this->no_toc_opt_[off] = true;
149 no_toc_opt(Address off) const
153 off /= size / 8;
154 if (off >= this->no_toc_opt_.size())
156 return this->no_toc_opt_[off];
195 *value = this->opd_ent_[ndx].off;
206 this->opd_ent_[ndx].off = value;
389 Address off;
403 opd_ent_ndx(size_t off) const
404 { return off >> 4;}
507 *value = this->opd_ent_[ndx].off;
518 this->opd_ent_[ndx].off = value;
549 Address off;
554 opd_ent_ndx(size_t off) const
555 { return off >> 4;}
924 unsigned int off = this->branch_lookup_table_.size() * (size / 8);
925 this->branch_lookup_table_.insert(std::make_pair(to, off));
2027 Address off = (*value + this->toc_base_offset()
2033 if (off >= this->section_size(this->toc_shndx()))
2036 if (this->no_toc_opt(off))
2041 Address addr = elfcpp::Swap<size, big_endian>::readval(view + off);
3148 Address off = object->get_output_section_offset((*p)->shndx());
3149 gold_assert(off != invalid_address);
3151 (*p)->set_address_and_size(os, off);
3217 Address off = 0;
3223 off = align_address(off, i->addralign());
3225 i->relobj()->set_section_offset(i->shndx(), off);
3231 Address stub_table_size = stub_table->set_address_and_size(os, off);
3232 off += stub_table_size;
3240 off += i->data_size();
3453 section_size_type off = this->current_data_size();
3454 if (off == 0)
3455 off += this->first_plt_entry_offset();
3456 gsym->set_plt_offset(off);
3459 this->rel_->add_global(gsym, dynrel, this, off, 0);
3460 off += this->plt_entry_size();
3461 this->set_current_data_size(off);
3473 section_size_type off = this->current_data_size();
3474 gsym->set_plt_offset(off);
3478 this->rel_->add_symbolless_global_addend(gsym, dynrel, this, off, 0);
3479 off += this->plt_entry_size();
3480 this->set_current_data_size(off);
3494 section_size_type off = this->current_data_size();
3495 relobj->set_local_plt_offset(local_sym_index, off);
3500 this, off, 0);
3501 off += this->plt_entry_size();
3502 this->set_current_data_size(off);
3712 add_reloc(Address to, unsigned int off)
3713 { this->rel_->add_relative(elfcpp::R_POWERPC_RELATIVE, this, off, to); }
3981 can_reach_stub(Address from, unsigned int off, unsigned int r_type)
3987 Address loc = off + this->stub_address();
4007 set_address_and_size(const Output_section* os, Address off)
4009 Address start_off = off;
4010 off += this->orig_data_size_;
4015 off = align_address(off, this->stub_align());
4017 my_size += off - start_off;
4177 Address off = plt_addr - got_addr;
4178 unsigned int bytes = 4 * 4 + 4 * (ha(off) != 0);
4186 + 4 * (ha(off + 8 + 8 * static_chain) != ha(off)));
4350 unsigned int off = this->plt_size_;
4353 = this->plt_call_stubs_.insert(std::make_pair(ent, off));
4355 this->plt_size_ = off + this->plt_call_size(p.first);
4356 return this->can_reach_stub(from, off, r_type);
4369 unsigned int off = this->plt_size_;
4372 = this->plt_call_stubs_.insert(std::make_pair(ent, off));
4374 this->plt_size_ = off + this->plt_call_size(p.first);
4375 return this->can_reach_stub(from, off, r_type);
4439 Address off = this->branch_size_;
4441 = this->long_branch_stubs_.insert(std::make_pair(ent, off));
4449 this->branch_size_ = off + stub_size;
4454 return this->can_reach_stub(from, off, r_type);
4713 const section_size_type off = this->stub_offset();
4715 convert_to_section_size_type(this->data_size() - (off - start_off));
4716 unsigned char* const oview = of->get_output_view(off, oview_size);
4751 Address off = plt_addr - got_addr;
4753 if (off + 0x80008000 > 0xffffffff || (off & 7) != 0)
4779 + 4 * (ha(off) != 0)
4780 + 4 * (ha(off + 8 + 8 * static_chain) != ha(off))
4787 if (ha(off) != 0)
4793 write_insn<big_endian>(p, addis_11_2 + ha(off));
4795 write_insn<big_endian>(p, ld_12_11 + l(off));
4800 write_insn<big_endian>(p, addis_12_2 + ha(off));
4802 write_insn<big_endian>(p, ld_12_12 + l(off));
4806 && ha(off + 8 + 8 * static_chain) != ha(off))
4808 write_insn<big_endian>(p, addi_11_11 + l(off));
4810 off = 0;
4823 write_insn<big_endian>(p, ld_2_11 + l(off + 8));
4827 write_insn<big_endian>(p, ld_11_11 + l(off + 16));
4836 write_insn<big_endian>(p, ld_12_2 + l(off));
4839 && ha(off + 8 + 8 * static_chain) != ha(off))
4841 write_insn<big_endian>(p, addi_2_2 + l(off));
4843 off = 0;
4858 write_insn<big_endian>(p, ld_11_2 + l(off + 16));
4861 write_insn<big_endian>(p, ld_2_2 + l(off + 8));
4966 Address off = plt_addr - got_addr;
4967 if (ha(off) == 0)
4969 write_insn<big_endian>(p + 0, lwz_11_30 + l(off));
4975 write_insn<big_endian>(p + 0, addis_11_30 + ha(off));
4976 write_insn<big_endian>(p + 4, lwz_11_11 + l(off));
5039 const section_size_type off = this->offset();
5042 unsigned char* const oview = of->get_output_view(off, oview_size);
5135 Address off = plt_addr - my_addr;
5137 if (off + 0x80008000 > 0xffffffff || (off & 3) != 0)
5142 write_insn<big_endian>(p, addis_12_12 + ha(off)), p += 4;
5143 write_insn<big_endian>(p, ld_12_12 + l(off)), p += 4;
5229 of->write_output_view(off, oview_size, oview);
5558 const section_size_type off = this->offset();
5561 unsigned char* const oview = of->get_output_view(off, oview_size);
5563 of->write_output_view(off, oview_size, oview);
6049 Address off = reloc.get_r_offset();
6053 && ppc_object->get_opd_discard(off - 8))
6061 object, data_shndx, off,
6212 unsigned int off;
6213 off = got->add_constant(0);
6214 object->set_local_got_offset(r_sym, GOT_TYPE_STANDARD, off);
6221 got, off, 0, false);
6308 unsigned int off = got->add_constant(0);
6309 object->set_local_got_offset(r_sym, GOT_TYPE_TPREL, off);
6314 got, off, 0);
6389 section_size_type off =
6391 if (off < slen)
6393 uint32_t insn = elfcpp::Swap<32, big_endian>::readval(view + off);
6436 section_size_type off =
6439 if (off < slen
6440 && (view[off] & (0x3f << 2)) == 58u << 2)
6571 Address off = reloc.get_r_offset();
6574 && ppc_object->get_opd_discard(off - 8))
6585 object, data_shndx, off,
6812 unsigned int off = got->add_constant(0);
6813 gsym->set_got_offset(GOT_TYPE_STANDARD, off);
6826 rela_dyn->add_global_relative(gsym, dynrel, got, off, 0, false);
6831 rela_dyn->add_global(gsym, dynrel, got, off, 0);
6878 unsigned int off = got->add_constant(0);
6879 gsym->set_got_offset(GOT_TYPE_TPREL, off);
6882 got, off, 0);
6959 unsigned int off = got->add_constant(0);
6960 gsym->set_got_offset(GOT_TYPE_TPREL, off);
6963 got, off, 0);
7030 section_size_type off =
7032 if (off < slen)
7034 uint32_t insn = elfcpp::Swap<32, big_endian>::readval(view + off);
7081 section_size_type off =
7084 if (off < slen
7085 && (view[off] & (0x3f << 2)) == (58u << 2))
7276 Address off = loc->offset - ppc_object->opd_address();
7277 loc->shndx = ppc_object->get_opd_ent(off, &dest_off);
7779 Address off = target->glink_section()->find_global_entry(gsym);
7780 if (off != invalid_address)
7782 value = target->glink_section()->global_entry_address() + off;
7798 Address off;
7800 off = stub_table->find_plt_call_entry(object, gsym, r_type,
7803 off = stub_table->find_plt_call_entry(object, r_sym, r_type,
7805 if (off != invalid_address)
7807 value = stub_table->stub_address() + off;
8182 Address off = stub_table->find_long_branch_entry(object, value);
8183 if (off != invalid_address)
8186 + off);
9399 Address off = (*p)->find_plt_call_entry(gsym);
9400 if (off != invalid_address)
9401 return (*p)->stub_address() + off;
9406 Address off = this->glink_section()->find_global_entry(gsym);
9407 if (off != invalid_address)
9408 return this->glink_section()->global_entry_address() + off;
9428 Address off = (*p)->find_plt_call_entry(relobj->sized_relobj(),
9430 if (off != invalid_address)
9431 return (*p)->stub_address() + off;
9449 Address off = (*p)->find_plt_call_entry(gsym);
9450 if (off != invalid_address)
9451 return (*p)->stub_address() + off;
9456 Address off = this->glink_section()->find_global_entry(gsym);
9457 if (off != invalid_address)
9458 return this->glink_section()->global_entry_address() + off;
9481 unsigned int off = ppc_object->local_got_offset(symndx, got_type);
9483 off += size / 8;
9484 if (off == got_indx * (size / 8))
9511 unsigned int off = gsym->got_offset(got_type);
9513 off += size / 8;
9514 if (off == got_indx * (size / 8))