/toolchain/binutils/binutils-2.25/gold/ |
D | i386.cc | 162 unsigned int got_offset, in fill_plt_entry() argument 166 return this->do_fill_plt_entry(pov, got_address, got_offset, in fill_plt_entry() 180 unsigned int got_offset, 218 unsigned int got_offset; member 227 unsigned int got_offset; member 306 unsigned int got_offset, 336 unsigned int got_offset, 1080 section_offset_type got_offset = in add_entry() local 1082 this->got_irelative_->set_current_data_size(got_offset + 4); in add_entry() 1085 this->got_irelative_, got_offset); in add_entry() [all …]
|
D | x86_64.cc | 138 unsigned int got_offset); 142 reserve_tlsdesc_entry(unsigned int got_offset) in reserve_tlsdesc_entry() argument 143 { this->tlsdesc_got_offset_ = got_offset; } in reserve_tlsdesc_entry() 232 unsigned int got_offset, in fill_plt_entry() argument 237 got_offset, plt_offset, plt_index); in fill_plt_entry() 266 unsigned int got_offset, 374 unsigned int got_offset, 1251 section_offset_type got_offset; in add_entry() local 1282 got_offset = (plt_index - offset + reserved) * 8; in add_entry() 1283 gold_assert(got_offset == got->current_data_size()); in add_entry() [all …]
|
D | tilegx.cc | 2003 section_offset_type got_offset; in add_entry() local 2058 got_offset = (plt_index + reserved) * (size / 8); in add_entry() 2059 gold_assert(got_offset == got->current_data_size()); in add_entry() 2064 got->set_current_data_size(got_offset + size / 8); in add_entry() 2081 got_offset = (plt_index + reserved) * (size / 8); in add_entry() 2087 this->add_relocation(symtab, layout, gsym, got_offset); in add_entry() 2109 section_offset_type got_offset = this->got_irelative_->current_data_size(); in add_local_ifunc_entry() local 2113 this->got_irelative_->set_current_data_size(got_offset + size / 8); in add_local_ifunc_entry() 2119 this->got_irelative_, got_offset, 0); in add_local_ifunc_entry() 2131 unsigned int got_offset) in add_relocation() argument [all …]
|
D | mips.cc | 1894 add_static_reloc(unsigned int got_offset, unsigned int r_type, in add_static_reloc() argument 1896 { this->static_relocs_.push_back(Static_reloc(got_offset, r_type, gsym)); } in add_static_reloc() 1902 add_static_reloc(unsigned int got_offset, unsigned int r_type, in add_static_reloc() argument 1906 this->static_relocs_.push_back(Static_reloc(got_offset, r_type, relobj, in add_static_reloc() 1913 add_secondary_got_reloc(unsigned int got_offset, unsigned int r_type, in add_secondary_got_reloc() argument 1916 this->secondary_got_relocs_.push_back(Static_reloc(got_offset, in add_secondary_got_reloc() 1988 unsigned int got_offset(const Symbol* gsym, unsigned int got_type, in got_offset() function in __anona7e08b770111::Mips_output_data_got 1992 return gsym->got_offset(got_type); in got_offset() 1997 return gsym->got_offset(g->multigot_got_type(got_type)); in got_offset() 2004 got_offset(unsigned int symndx, unsigned int got_type, in got_offset() function in __anona7e08b770111::Mips_output_data_got [all …]
|
D | aarch64.cc | 439 add_static_reloc(unsigned int got_offset, unsigned int r_type, Symbol* gsym) in add_static_reloc() argument 440 { this->static_relocs_.push_back(Static_reloc(got_offset, r_type, gsym)); } in add_static_reloc() 447 add_static_reloc(unsigned int got_offset, unsigned int r_type, in add_static_reloc() argument 451 this->static_relocs_.push_back(Static_reloc(got_offset, r_type, relobj, in add_static_reloc() 543 unsigned got_offset = reloc.got_offset(); in do_write() local 544 gold_assert(got_offset < oview_size); in do_write() 547 Valtype* wv = reinterpret_cast<Valtype*>(oview + got_offset); in do_write() 578 Static_reloc(unsigned int got_offset, unsigned int r_type, Symbol* gsym) in Static_reloc() argument 579 : got_offset_(got_offset), r_type_(r_type), symbol_is_global_(true) in Static_reloc() 582 Static_reloc(unsigned int got_offset, unsigned int r_type, in Static_reloc() argument [all …]
|
D | output.cc | 1468 unsigned int got_offset = this->add_got_entry(Got_entry(gsym, false)); in add_global() local 1469 gsym->set_got_offset(got_type, got_offset); in add_global() 1483 unsigned int got_offset = this->add_got_entry(Got_entry(gsym, true)); in add_global_plt() local 1484 gsym->set_got_offset(got_type, got_offset); in add_global_plt() 1502 unsigned int got_offset = this->add_got_entry(Got_entry()); in add_global_with_rel() local 1503 gsym->set_got_offset(got_type, got_offset); in add_global_with_rel() 1504 rel_dyn->add_global_generic(gsym, r_type, this, got_offset, 0); in add_global_with_rel() 1522 unsigned int got_offset = this->add_got_entry_pair(Got_entry(), Got_entry()); in add_global_pair_with_rel() local 1523 gsym->set_got_offset(got_type, got_offset); in add_global_pair_with_rel() 1524 rel_dyn->add_global_generic(gsym, r_type_1, this, got_offset, 0); in add_global_pair_with_rel() [all …]
|
D | arm.cc | 1915 add_static_reloc(unsigned int got_offset, unsigned int r_type, Symbol* gsym) in add_static_reloc() argument 1916 { this->static_relocs_.push_back(Static_reloc(got_offset, r_type, gsym)); } in add_static_reloc() 1922 add_static_reloc(unsigned int got_offset, unsigned int r_type, in add_static_reloc() argument 1926 this->static_relocs_.push_back(Static_reloc(got_offset, r_type, relobj, in add_static_reloc() 1955 Static_reloc(unsigned int got_offset, unsigned int r_type, Symbol* gsym) in Static_reloc() argument 1956 : got_offset_(got_offset), r_type_(r_type), symbol_is_global_(true) in Static_reloc() 1959 Static_reloc(unsigned int got_offset, unsigned int r_type, in Static_reloc() argument 1961 : got_offset_(got_offset), r_type_(r_type), symbol_is_global_(false) in Static_reloc() 1969 got_offset() const in got_offset() function in __anon5653a9be0111::Arm_output_data_got::Static_reloc 3450 typename elfcpp::Swap<32, big_endian>::Valtype got_offset) in got_brel() argument [all …]
|
D | object.h | 218 Got_offset_list(unsigned int got_type, unsigned int got_offset) in Got_offset_list() argument 219 : got_type_(got_type), got_offset_(got_offset), got_next_(NULL) in Got_offset_list() 242 set_offset(unsigned int got_type, unsigned int got_offset) in set_offset() argument 247 this->got_offset_ = got_offset; in set_offset() 255 g->got_offset_ = got_offset; in set_offset() 259 Got_offset_list* g = new Got_offset_list(got_type, got_offset); in set_offset() 1114 unsigned int got_offset) in set_local_got_offset() argument 1115 { this->do_set_local_got_offset(symndx, got_type, got_offset); } in set_local_got_offset() 1310 unsigned int got_offset) = 0; 2001 unsigned int got_offset) in do_set_local_got_offset() argument [all …]
|
D | sparc.cc | 1900 unsigned int got_offset; in got_mod_index_entry() local 1903 got_offset = got->add_constant(0); in got_mod_index_entry() 1908 got_offset, 0); in got_mod_index_entry() 1910 this->got_mod_index_offset_ = got_offset; in got_mod_index_entry() 3232 unsigned int got_offset = 0; in relocate() local 3247 got_offset = psymval->value(object, 0) - target->got_address(); in relocate() 3257 got_offset = gsym->got_offset(GOT_TYPE_STANDARD); in relocate() 3263 got_offset = object->local_got_offset(r_sym, GOT_TYPE_STANDARD); in relocate() 3367 Reloc::lo10(view, got_offset, addend); in relocate() 3387 Reloc::gdop_lox10(view, got_offset, addend); in relocate() [all …]
|
D | symtab.h | 421 got_offset(unsigned int got_type) const in got_offset() function 423 unsigned int got_offset = this->got_offsets_.get_offset(got_type); in got_offset() local 424 gold_assert(got_offset != -1U); in got_offset() 425 return got_offset; in got_offset() 430 set_got_offset(unsigned int got_type, unsigned int got_offset) in set_got_offset() argument 431 { this->got_offsets_.set_offset(got_type, got_offset); } in set_got_offset()
|
/toolchain/binutils/binutils-2.25/bfd/ |
D | elfnn-ia64.c | 55 bfd_vma got_offset; member 1625 bfd_vma curr, prev, got_offset; in sort_dyn_sym_info() local 1632 got_offset = info [0].got_offset; in sort_dyn_sym_info() 1639 if (got_offset == (bfd_vma) -1) in sort_dyn_sym_info() 1640 got_offset = info [i].got_offset; in sort_dyn_sym_info() 1643 got_offset = info [i].got_offset; in sort_dyn_sym_info() 1658 if (got_offset != (bfd_vma) -1) in sort_dyn_sym_info() 1659 info [kept].got_offset = got_offset; in sort_dyn_sym_info() 1662 got_offset = info [i].got_offset; in sort_dyn_sym_info() 1674 if (got_offset == (bfd_vma) -1) in sort_dyn_sym_info() [all …]
|
D | elf64-ia64-vms.c | 70 bfd_vma got_offset; member 1393 bfd_vma curr, prev, got_offset; in sort_dyn_sym_info() local 1400 got_offset = info [0].got_offset; in sort_dyn_sym_info() 1407 if (got_offset == (bfd_vma) -1) in sort_dyn_sym_info() 1408 got_offset = info [i].got_offset; in sort_dyn_sym_info() 1411 got_offset = info [i].got_offset; in sort_dyn_sym_info() 1426 if (got_offset != (bfd_vma) -1) in sort_dyn_sym_info() 1427 info [kept].got_offset = got_offset; in sort_dyn_sym_info() 1430 got_offset = info [i].got_offset; in sort_dyn_sym_info() 1442 if (got_offset == (bfd_vma) -1) in sort_dyn_sym_info() [all …]
|
D | elf32-s390.c | 3392 bfd_vma got_offset; in elf_s390_finish_ifunc_symbol() local 3413 got_offset = igotiplt_offset + gotplt->output_offset; in elf_s390_finish_ifunc_symbol() 3437 + got_offset), in elf_s390_finish_ifunc_symbol() 3440 else if (got_offset < 4096) in elf_s390_finish_ifunc_symbol() 3451 bfd_put_16 (output_bfd, (bfd_vma)0xc000 | got_offset, in elf_s390_finish_ifunc_symbol() 3458 else if (got_offset < 32768) in elf_s390_finish_ifunc_symbol() 3468 bfd_put_16 (output_bfd, (bfd_vma)got_offset, in elf_s390_finish_ifunc_symbol() 3486 bfd_put_32 (output_bfd, got_offset, in elf_s390_finish_ifunc_symbol() 3504 rela.r_offset = gotplt->output_section->vma + got_offset; in elf_s390_finish_ifunc_symbol() 3543 bfd_vma got_offset; in elf_s390_finish_dynamic_symbol() local [all …]
|
D | elf64-alpha.c | 118 int got_offset; member 1722 gotent->got_offset = -1; in get_got_entry() 2412 gotent->got_offset = *plge; in elf64_alpha_calc_got_offsets_for_symbol() 2443 bfd_size_type got_offset = alpha_elf_tdata(i)->got->size; in elf64_alpha_calc_got_offsets() local 2459 gotent->got_offset = got_offset; in elf64_alpha_calc_got_offsets() 2460 got_offset += alpha_got_entry_size (gotent->reloc_type); in elf64_alpha_calc_got_offsets() 2464 alpha_elf_tdata(i)->got->size = got_offset; in elf64_alpha_calc_got_offsets() 3752 tprel_gotent->got_offset = -1; in elf64_alpha_relax_tls_get_addr() 4422 sgot->contents + gotent->got_offset); in elf64_alpha_relocate_section() 4429 gotent->got_offset, 0, in elf64_alpha_relocate_section() [all …]
|
D | elf32-vax.c | 1358 bfd_vma got_offset; in elf_vax_relocate_section() local 1527 got_offset = (plt_index + 3) * 4; in elf_vax_relocate_section() 1533 + got_offset); in elf_vax_relocate_section() 1765 bfd_vma got_offset; in elf_vax_finish_dynamic_symbol() local 1791 got_offset = (plt_index + 3) * 4; in elf_vax_finish_dynamic_symbol() 1810 sgot->contents + got_offset); in elf_vax_finish_dynamic_symbol() 1815 + got_offset); in elf_vax_finish_dynamic_symbol()
|
D | elf32-cris.c | 1141 bfd_vma got_offset; in cris_elf_relocate_section() local 1146 got_offset in cris_elf_relocate_section() 1149 relocation = got_offset; in cris_elf_relocate_section() 2119 bfd_vma got_offset in elf_cris_finish_dynamic_symbol() local 2144 bfd_put_32 (output_bfd, got_base + got_offset, in elf_cris_finish_dynamic_symbol() 2151 bfd_put_32 (output_bfd, got_offset, in elf_cris_finish_dynamic_symbol() 2176 sgotplt->contents + got_offset); in elf_cris_finish_dynamic_symbol() 2181 + got_offset); in elf_cris_finish_dynamic_symbol() 2695 bfd_size_type got_offset; in cris_elf_plt_sym_val() local 2703 got_offset = bfd_get_32 (abfd, gotoffs_raw); in cris_elf_plt_sym_val() [all …]
|
D | elf32-microblaze.c | 1257 bfd_vma got_offset; in microblaze_elf_relocate_section() local 1259 got_offset = (htab->sgot->output_section->vma in microblaze_elf_relocate_section() 1275 got_offset, 0); in microblaze_elf_relocate_section() 1290 got_offset, indx ? 0 : static_value); in microblaze_elf_relocate_section() 1298 got_offset = (htab->sgot->output_section->vma in microblaze_elf_relocate_section() 1316 got_offset, indx ? 0 : static_value); in microblaze_elf_relocate_section() 1337 got_offset, static_value); in microblaze_elf_relocate_section() 3204 bfd_vma got_offset; in microblaze_elf_finish_dynamic_symbol() local 3217 got_offset = (plt_index + 3) * 4; /* 3 reserved ??? */ in microblaze_elf_finish_dynamic_symbol() 3218 got_addr = got_offset; in microblaze_elf_finish_dynamic_symbol() [all …]
|
D | elf64-sh64.c | 3603 bfd_vma got_offset; in sh64_elf64_finish_dynamic_symbol() local 3626 got_offset = (plt_index + 3) * 8; in sh64_elf64_finish_dynamic_symbol() 3629 got_offset -= GOT_BIAS; in sh64_elf64_finish_dynamic_symbol() 3644 + got_offset), in sh64_elf64_finish_dynamic_symbol() 3666 movi_shori_putval (output_bfd, got_offset, in sh64_elf64_finish_dynamic_symbol() 3672 got_offset += GOT_BIAS; in sh64_elf64_finish_dynamic_symbol() 3685 sgot->contents + got_offset); in sh64_elf64_finish_dynamic_symbol() 3690 + got_offset); in sh64_elf64_finish_dynamic_symbol()
|
D | elf32-i386.c | 4441 bfd_vma got_offset; in elf_i386_finish_dynamic_symbol() local 4486 got_offset = h->plt.offset / plt_entry_size - 1; in elf_i386_finish_dynamic_symbol() 4487 got_offset = (got_offset + 3) * 4; in elf_i386_finish_dynamic_symbol() 4491 got_offset = h->plt.offset / plt_entry_size; in elf_i386_finish_dynamic_symbol() 4492 got_offset = got_offset * 4; in elf_i386_finish_dynamic_symbol() 4503 + got_offset), in elf_i386_finish_dynamic_symbol() 4538 + got_offset); in elf_i386_finish_dynamic_symbol() 4548 bfd_put_32 (output_bfd, got_offset, in elf_i386_finish_dynamic_symbol() 4559 gotplt->contents + got_offset); in elf_i386_finish_dynamic_symbol() 4564 + got_offset); in elf_i386_finish_dynamic_symbol() [all …]
|
D | elf64-s390.c | 3318 bfd_vma got_offset; in elf_s390_finish_ifunc_symbol() local 3332 got_offset = plt_index * GOT_ENTRY_SIZE; in elf_s390_finish_ifunc_symbol() 3343 gotplt->output_offset + got_offset in elf_s390_finish_ifunc_symbol() 3364 gotplt->contents + got_offset); in elf_s390_finish_ifunc_symbol() 3369 + got_offset); in elf_s390_finish_ifunc_symbol() 3411 bfd_vma got_offset; in elf_s390_finish_dynamic_symbol() local 3443 got_offset = (plt_index + 3) * GOT_ENTRY_SIZE; in elf_s390_finish_dynamic_symbol() 3452 htab->elf.sgotplt->output_offset + got_offset in elf_s390_finish_dynamic_symbol() 3472 htab->elf.sgotplt->contents + got_offset); in elf_s390_finish_dynamic_symbol() 3477 + got_offset); in elf_s390_finish_dynamic_symbol()
|
D | elf32-m68k.c | 3699 bfd_vma got_offset; in elf_m68k_relocate_section() local 3730 got_offset = got->offset; in elf_m68k_relocate_section() 3737 got_offset = 0; in elf_m68k_relocate_section() 3740 got_offset = got->offset; in elf_m68k_relocate_section() 3744 rel->r_addend += sgot_output_offset + got_offset; in elf_m68k_relocate_section() 4242 bfd_vma got_offset; in elf_m68k_finish_dynamic_symbol() local 4266 got_offset = (plt_index + 3) * 4; in elf_m68k_finish_dynamic_symbol() 4275 + got_offset)); in elf_m68k_finish_dynamic_symbol() 4291 sgot->contents + got_offset); in elf_m68k_finish_dynamic_symbol() 4296 + got_offset); in elf_m68k_finish_dynamic_symbol()
|
D | elf32-m32r.c | 3127 bfd_vma got_offset; in m32r_elf_finish_dynamic_symbol() local 3149 got_offset = (plt_index + 3) * 4; in m32r_elf_finish_dynamic_symbol() 3158 + got_offset) >> 16) & 0xffff)), in m32r_elf_finish_dynamic_symbol() 3164 + got_offset) & 0xffff)), in m32r_elf_finish_dynamic_symbol() 3180 PLT_ENTRY_WORD0 + got_offset, in m32r_elf_finish_dynamic_symbol() 3202 sgot->contents + got_offset); in m32r_elf_finish_dynamic_symbol() 3207 + got_offset); in m32r_elf_finish_dynamic_symbol()
|
D | elf32-sh.c | 6699 bfd_vma got_offset; in sh_elf_finish_dynamic_symbol() local 6730 got_offset = plt_index * 8 + 12 - sgotplt->size; in sh_elf_finish_dynamic_symbol() 6734 got_offset = (plt_index + 3) * 4; in sh_elf_finish_dynamic_symbol() 6738 got_offset -= GOT_BIAS; in sh_elf_finish_dynamic_symbol() 6751 r = install_movi20_field (output_bfd, got_offset, in sh_elf_finish_dynamic_symbol() 6758 install_plt_field (output_bfd, FALSE, got_offset, in sh_elf_finish_dynamic_symbol() 6770 + got_offset), in sh_elf_finish_dynamic_symbol() 6816 got_offset += GOT_BIAS; in sh_elf_finish_dynamic_symbol() 6819 got_offset = plt_index * 8; in sh_elf_finish_dynamic_symbol() 6834 sgotplt->contents + got_offset); in sh_elf_finish_dynamic_symbol() [all …]
|
D | elf32-or1k.c | 1884 bfd_vma got_offset; in or1k_elf_finish_dynamic_symbol() local 1906 got_offset = (plt_index + 3) * 4; in or1k_elf_finish_dynamic_symbol() 1907 got_addr = got_offset; in or1k_elf_finish_dynamic_symbol() 1945 sgot->contents + got_offset); in or1k_elf_finish_dynamic_symbol() 1950 + got_offset); in or1k_elf_finish_dynamic_symbol()
|
D | elfxx-sparc.c | 4218 bfd_vma got_offset) in sparc_vxworks_build_plt_entry() argument 4243 bfd_put_32 (output_bfd, plt_entry[0] + ((got_base + got_offset) >> 10), in sparc_vxworks_build_plt_entry() 4245 bfd_put_32 (output_bfd, plt_entry[1] + ((got_base + got_offset) & 0x3ff), in sparc_vxworks_build_plt_entry() 4270 htab->elf.sgotplt->contents + got_offset); in sparc_vxworks_build_plt_entry() 4283 rela.r_addend = got_offset; in sparc_vxworks_build_plt_entry() 4296 + got_offset); in sparc_vxworks_build_plt_entry() 4325 bfd_vma r_offset, got_offset; in _bfd_sparc_elf_finish_dynamic_symbol() local 4353 got_offset = (rela_index + 3) * 4; in _bfd_sparc_elf_finish_dynamic_symbol() 4356 rela_index, got_offset); in _bfd_sparc_elf_finish_dynamic_symbol() 4363 + got_offset); in _bfd_sparc_elf_finish_dynamic_symbol()
|