• Home
  • Raw
  • Download

Lines Matching refs:root

219   (((htab)->root.srelplt == NULL) ? 0			\
220 : (htab)->root.srelplt->reloc_count * GOT_ENTRY_SIZE)
1642 struct bfd_hash_entry root; member
1723 struct elf_obj_tdata root; member
1766 struct elf_link_hash_entry root; member
1818 struct elf_link_hash_table root; member
2005 e.root.indx = sec->id; in elfNN_aarch64_get_local_sym_hash()
2006 e.root.dynstr_index = ELFNN_R_SYM (rel->r_info); in elfNN_aarch64_get_local_sym_hash()
2016 return &ret->root; in elfNN_aarch64_get_local_sym_hash()
2025 ret->root.indx = sec->id; in elfNN_aarch64_get_local_sym_hash()
2026 ret->root.dynstr_index = ELFNN_R_SYM (rel->r_info); in elfNN_aarch64_get_local_sym_hash()
2027 ret->root.dynindx = -1; in elfNN_aarch64_get_local_sym_hash()
2030 return &ret->root; in elfNN_aarch64_get_local_sym_hash()
2076 if (ind->root.type == bfd_link_hash_indirect) in elfNN_aarch64_copy_indirect_symbol()
2119 (&ret->root, abfd, elfNN_aarch64_link_hash_newfunc, in elfNN_aarch64_link_hash_table_create()
2148 ret->root.root.hash_table_free = elfNN_aarch64_link_hash_table_free; in elfNN_aarch64_link_hash_table_create()
2150 return &ret->root.root; in elfNN_aarch64_link_hash_table_create()
2200 via_plt_p = (globals->root.splt != NULL && hash != NULL in aarch64_type_of_stub()
2201 && hash->root.plt.offset != (bfd_vma) - 1); in aarch64_type_of_stub()
2240 len = 8 + 1 + strlen (hash->root.root.root.string) + 1 + 16 + 1; in elfNN_aarch64_stub_name()
2245 hash->root.root.root.string, in elfNN_aarch64_stub_name()
3617 while (hash->root.root.type == bfd_link_hash_indirect in elfNN_aarch64_size_stubs()
3618 || hash->root.root.type == bfd_link_hash_warning) in elfNN_aarch64_size_stubs()
3620 hash->root.root.u.i.link); in elfNN_aarch64_size_stubs()
3622 if (hash->root.root.type == bfd_link_hash_defined in elfNN_aarch64_size_stubs()
3623 || hash->root.root.type == bfd_link_hash_defweak) in elfNN_aarch64_size_stubs()
3627 sym_sec = hash->root.root.u.def.section; in elfNN_aarch64_size_stubs()
3628 sym_value = hash->root.root.u.def.value; in elfNN_aarch64_size_stubs()
3633 if (globals->root.splt != NULL && hash != NULL in elfNN_aarch64_size_stubs()
3634 && hash->root.plt.offset != (bfd_vma) - 1) in elfNN_aarch64_size_stubs()
3636 sym_sec = globals->root.splt; in elfNN_aarch64_size_stubs()
3637 sym_value = hash->root.plt.offset; in elfNN_aarch64_size_stubs()
3649 else if (hash->root.root.type == bfd_link_hash_undefined in elfNN_aarch64_size_stubs()
3650 || (hash->root.root.type in elfNN_aarch64_size_stubs()
3660 if (globals->root.splt != NULL && hash != NULL in elfNN_aarch64_size_stubs()
3661 && hash->root.plt.offset != (bfd_vma) - 1) in elfNN_aarch64_size_stubs()
3663 sym_sec = globals->root.splt; in elfNN_aarch64_size_stubs()
3664 sym_value = hash->root.plt.offset; in elfNN_aarch64_size_stubs()
3679 st_type = ELF_ST_TYPE (hash->root.type); in elfNN_aarch64_size_stubs()
3680 sym_name = hash->root.root.root.string; in elfNN_aarch64_size_stubs()
3912 asection *basegot = globals->root.sgot; in aarch64_calculate_got_entry_vma()
3913 bfd_boolean dyn = globals->root.dynamic_sections_created; in aarch64_calculate_got_entry_vma()
3924 && h->root.type == bfd_link_hash_undefweak)) in aarch64_calculate_got_entry_vma()
4058 if (h && h->root.type == bfd_link_hash_undefweak) in aarch64_can_relax_tls()
4440 weak_undef_p = (h ? h->root.type == bfd_link_hash_undefweak in elfNN_aarch64_final_link_relocate()
4459 plt = globals->root.splt ? globals->root.splt : globals->root.iplt; in elfNN_aarch64_final_link_relocate()
4465 if (h->root.root.string) in elfNN_aarch64_final_link_relocate()
4466 name = h->root.root.string; in elfNN_aarch64_final_link_relocate()
4480 if (h->root.root.string) in elfNN_aarch64_final_link_relocate()
4481 name = h->root.root.string; in elfNN_aarch64_final_link_relocate()
4519 outrel.r_addend = (h->root.u.def.value in elfNN_aarch64_final_link_relocate()
4520 + h->root.u.def.section->output_section->vma in elfNN_aarch64_final_link_relocate()
4521 + h->root.u.def.section->output_offset); in elfNN_aarch64_final_link_relocate()
4529 sreloc = globals->root.irelifunc; in elfNN_aarch64_final_link_relocate()
4551 base_got = globals->root.sgot; in elfNN_aarch64_final_link_relocate()
4565 if (globals->root.splt != NULL) in elfNN_aarch64_final_link_relocate()
4570 base_got = globals->root.sgotplt; in elfNN_aarch64_final_link_relocate()
4576 base_got = globals->root.igotplt; in elfNN_aarch64_final_link_relocate()
4630 if (((info->shared == TRUE) || globals->root.is_relocatable_executable) in elfNN_aarch64_final_link_relocate()
4634 || h->root.type != bfd_link_hash_undefweak)) in elfNN_aarch64_final_link_relocate()
4711 asection *splt = globals->root.splt; in elfNN_aarch64_final_link_relocate()
4799 if (globals->root.sgot == NULL) in elfNN_aarch64_final_link_relocate()
4817 if (globals->root.sgot == NULL) in elfNN_aarch64_final_link_relocate()
4821 + globals->root.sgot->output_section->vma in elfNN_aarch64_final_link_relocate()
4822 + globals->root.sgot->output_offset); in elfNN_aarch64_final_link_relocate()
4849 if (globals->root.sgot == NULL) in elfNN_aarch64_final_link_relocate()
4852 + globals->root.sgotplt->output_section->vma in elfNN_aarch64_final_link_relocate()
4853 + globals->root.sgotplt->output_offset in elfNN_aarch64_final_link_relocate()
5115 h->root.u.def.value = sym->st_value; in elfNN_aarch64_relocate_section()
5116 h->root.u.def.section = sec; in elfNN_aarch64_relocate_section()
5139 name = h->root.root.string; in elfNN_aarch64_relocate_section()
5152 || h->root.type == bfd_link_hash_defined in elfNN_aarch64_relocate_section()
5153 || h->root.type == bfd_link_hash_defweak) in elfNN_aarch64_relocate_section()
5219 || h->root.type != bfd_link_hash_undefweak); in elfNN_aarch64_relocate_section()
5221 BFD_ASSERT (globals->root.srelgot != NULL); in elfNN_aarch64_relocate_section()
5228 rela.r_offset = globals->root.sgot->output_section->vma + in elfNN_aarch64_relocate_section()
5229 globals->root.sgot->output_offset + off; in elfNN_aarch64_relocate_section()
5232 loc = globals->root.srelgot->contents; in elfNN_aarch64_relocate_section()
5233 loc += globals->root.srelgot->reloc_count++ in elfNN_aarch64_relocate_section()
5241 globals->root.sgot->contents + off in elfNN_aarch64_relocate_section()
5253 (globals->root.sgot->output_section->vma in elfNN_aarch64_relocate_section()
5254 + globals->root.sgot->output_offset + off in elfNN_aarch64_relocate_section()
5257 loc = globals->root.srelgot->contents; in elfNN_aarch64_relocate_section()
5258 loc += globals->root.srelgot->reloc_count++ in elfNN_aarch64_relocate_section()
5262 globals->root.sgot->contents + off in elfNN_aarch64_relocate_section()
5269 globals->root.sgot->contents + off); in elfNN_aarch64_relocate_section()
5272 globals->root.sgot->contents + off in elfNN_aarch64_relocate_section()
5297 || h->root.type != bfd_link_hash_undefweak); in elfNN_aarch64_relocate_section()
5299 BFD_ASSERT (globals->root.srelgot != NULL); in elfNN_aarch64_relocate_section()
5311 rela.r_offset = globals->root.sgot->output_section->vma + in elfNN_aarch64_relocate_section()
5312 globals->root.sgot->output_offset + off; in elfNN_aarch64_relocate_section()
5314 loc = globals->root.srelgot->contents; in elfNN_aarch64_relocate_section()
5315 loc += globals->root.srelgot->reloc_count++ in elfNN_aarch64_relocate_section()
5321 globals->root.sgot->contents + off); in elfNN_aarch64_relocate_section()
5325 globals->root.sgot->contents + off); in elfNN_aarch64_relocate_section()
5352 || h->root.type != bfd_link_hash_undefweak); in elfNN_aarch64_relocate_section()
5354 BFD_ASSERT (globals->root.srelgot != NULL); in elfNN_aarch64_relocate_section()
5355 BFD_ASSERT (globals->root.sgot != NULL); in elfNN_aarch64_relocate_section()
5364 rela.r_offset = (globals->root.sgotplt->output_section->vma in elfNN_aarch64_relocate_section()
5365 + globals->root.sgotplt->output_offset in elfNN_aarch64_relocate_section()
5379 loc = globals->root.srelplt->contents; in elfNN_aarch64_relocate_section()
5380 loc += globals->root.srelplt->reloc_count++ in elfNN_aarch64_relocate_section()
5386 globals->root.sgotplt->contents + off + in elfNN_aarch64_relocate_section()
5389 globals->root.sgotplt->contents + off + in elfNN_aarch64_relocate_section()
5418 h->root.root.string); in elfNN_aarch64_relocate_section()
5431 h->root.type != bfd_link_hash_undefined) in elfNN_aarch64_relocate_section()
5433 (info, (h ? &h->root : NULL), name, howto->name, in elfNN_aarch64_relocate_section()
5663 while (h->root.type == bfd_link_hash_indirect in elfNN_aarch64_gc_sweep_hook()
5664 || h->root.type == bfd_link_hash_warning) in elfNN_aarch64_gc_sweep_hook()
5665 h = (struct elf_link_hash_entry *) h->root.u.i.link; in elfNN_aarch64_gc_sweep_hook()
5800 && h->root.type == bfd_link_hash_undefweak)))) in elfNN_aarch64_adjust_dynamic_symbol()
5827 BFD_ASSERT (h->u.weakdef->root.type == bfd_link_hash_defined in elfNN_aarch64_adjust_dynamic_symbol()
5828 || h->u.weakdef->root.type == bfd_link_hash_defweak); in elfNN_aarch64_adjust_dynamic_symbol()
5829 h->root.u.def.section = h->u.weakdef->root.u.def.section; in elfNN_aarch64_adjust_dynamic_symbol()
5830 h->root.u.def.value = h->u.weakdef->root.u.def.value; in elfNN_aarch64_adjust_dynamic_symbol()
5870 if ((h->root.u.def.section->flags & SEC_ALLOC) != 0 && h->size != 0) in elfNN_aarch64_adjust_dynamic_symbol()
6027 h->root.type = bfd_link_hash_defined; in elfNN_aarch64_check_relocs()
6035 while (h->root.type == bfd_link_hash_indirect in elfNN_aarch64_check_relocs()
6036 || h->root.type == bfd_link_hash_warning) in elfNN_aarch64_check_relocs()
6037 h = (struct elf_link_hash_entry *) h->root.u.i.link; in elfNN_aarch64_check_relocs()
6041 h->root.non_ir_ref = 1; in elfNN_aarch64_check_relocs()
6067 if (htab->root.dynobj == NULL) in elfNN_aarch64_check_relocs()
6068 htab->root.dynobj = abfd; in elfNN_aarch64_check_relocs()
6069 if (!_bfd_elf_create_ifunc_sections (htab->root.dynobj, info)) in elfNN_aarch64_check_relocs()
6076 h->root.non_ir_ref = 1; in elfNN_aarch64_check_relocs()
6111 if (htab->root.dynobj == NULL) in elfNN_aarch64_check_relocs()
6112 htab->root.dynobj = abfd; in elfNN_aarch64_check_relocs()
6115 (sec, htab->root.dynobj, LOG_FILE_ALIGN, abfd, /*rela? */ TRUE); in elfNN_aarch64_check_relocs()
6158 bfd_zalloc (htab->root.dynobj, amt)); in elfNN_aarch64_check_relocs()
6251 if (htab->root.dynobj == NULL) in elfNN_aarch64_check_relocs()
6252 htab->root.dynobj = abfd; in elfNN_aarch64_check_relocs()
6253 if (! aarch64_elf_create_got_section (htab->root.dynobj, info)) in elfNN_aarch64_check_relocs()
6269 (h) ? h->root.root.string : "a local symbol"); in elfNN_aarch64_check_relocs()
6645 if (h->root.type == bfd_link_hash_indirect) in elfNN_aarch64_output_plt_map()
6648 if (h->root.type == bfd_link_hash_warning) in elfNN_aarch64_output_plt_map()
6652 h = (struct elf_link_hash_entry *) h->root.u.i.link; in elfNN_aarch64_output_plt_map()
6796 if (!htab->root.splt || htab->root.splt->size == 0) in elfNN_aarch64_output_arch_local_syms()
6801 (output_bfd, htab->root.splt->output_section); in elfNN_aarch64_output_arch_local_syms()
6802 osi.sec = htab->root.splt; in elfNN_aarch64_output_arch_local_syms()
6804 elf_link_hash_traverse (&htab->root, elfNN_aarch64_output_plt_map, in elfNN_aarch64_output_arch_local_syms()
6911 if (h->root.type == bfd_link_hash_indirect) in elfNN_aarch64_allocate_dynrelocs()
6914 if (h->root.type == bfd_link_hash_warning) in elfNN_aarch64_allocate_dynrelocs()
6915 h = (struct elf_link_hash_entry *) h->root.u.i.link; in elfNN_aarch64_allocate_dynrelocs()
6925 else if (htab->root.dynamic_sections_created && h->plt.refcount > 0) in elfNN_aarch64_allocate_dynrelocs()
6937 asection *s = htab->root.splt; in elfNN_aarch64_allocate_dynrelocs()
6953 h->root.u.def.section = s; in elfNN_aarch64_allocate_dynrelocs()
6954 h->root.u.def.value = h->plt.offset; in elfNN_aarch64_allocate_dynrelocs()
6964 htab->root.sgotplt->size += GOT_ENTRY_SIZE; in elfNN_aarch64_allocate_dynrelocs()
6967 htab->root.srelplt->size += RELOC_SIZE (htab); in elfNN_aarch64_allocate_dynrelocs()
6982 htab->root.srelplt->reloc_count++; in elfNN_aarch64_allocate_dynrelocs()
7006 dyn = htab->root.dynamic_sections_created; in elfNN_aarch64_allocate_dynrelocs()
7021 h->got.offset = htab->root.sgot->size; in elfNN_aarch64_allocate_dynrelocs()
7022 htab->root.sgot->size += GOT_ENTRY_SIZE; in elfNN_aarch64_allocate_dynrelocs()
7024 || h->root.type != bfd_link_hash_undefweak) in elfNN_aarch64_allocate_dynrelocs()
7028 htab->root.srelgot->size += RELOC_SIZE (htab); in elfNN_aarch64_allocate_dynrelocs()
7037 (htab->root.sgotplt->size in elfNN_aarch64_allocate_dynrelocs()
7039 htab->root.sgotplt->size += GOT_ENTRY_SIZE * 2; in elfNN_aarch64_allocate_dynrelocs()
7045 h->got.offset = htab->root.sgot->size; in elfNN_aarch64_allocate_dynrelocs()
7046 htab->root.sgot->size += GOT_ENTRY_SIZE * 2; in elfNN_aarch64_allocate_dynrelocs()
7051 h->got.offset = htab->root.sgot->size; in elfNN_aarch64_allocate_dynrelocs()
7052 htab->root.sgot->size += GOT_ENTRY_SIZE; in elfNN_aarch64_allocate_dynrelocs()
7057 || h->root.type != bfd_link_hash_undefweak) in elfNN_aarch64_allocate_dynrelocs()
7064 htab->root.srelplt->size += RELOC_SIZE (htab); in elfNN_aarch64_allocate_dynrelocs()
7074 htab->root.srelgot->size += RELOC_SIZE (htab) * 2; in elfNN_aarch64_allocate_dynrelocs()
7077 htab->root.srelgot->size += RELOC_SIZE (htab); in elfNN_aarch64_allocate_dynrelocs()
7120 if (eh->dyn_relocs != NULL && h->root.type == bfd_link_hash_undefweak) in elfNN_aarch64_allocate_dynrelocs()
7143 || (htab->root.dynamic_sections_created in elfNN_aarch64_allocate_dynrelocs()
7144 && (h->root.type == bfd_link_hash_undefweak in elfNN_aarch64_allocate_dynrelocs()
7145 || h->root.type == bfd_link_hash_undefined)))) in elfNN_aarch64_allocate_dynrelocs()
7201 if (h->root.type == bfd_link_hash_indirect) in elfNN_aarch64_allocate_ifunc_dynrelocs()
7204 if (h->root.type == bfd_link_hash_warning) in elfNN_aarch64_allocate_ifunc_dynrelocs()
7205 h = (struct elf_link_hash_entry *) h->root.u.i.link; in elfNN_aarch64_allocate_ifunc_dynrelocs()
7237 || h->root.type != bfd_link_hash_defined) in elfNN_aarch64_allocate_local_dynrelocs()
7256 || h->root.type != bfd_link_hash_defined) in elfNN_aarch64_allocate_local_ifunc_dynrelocs()
7275 dynobj = htab->root.dynobj; in elfNN_aarch64_size_dynamic_sections()
7279 if (htab->root.dynamic_sections_created) in elfNN_aarch64_size_dynamic_sections()
7333 srel = htab->root.srelgot; in elfNN_aarch64_size_dynamic_sections()
7344 (htab->root.sgotplt->size in elfNN_aarch64_size_dynamic_sections()
7346 htab->root.sgotplt->size += GOT_ENTRY_SIZE * 2; in elfNN_aarch64_size_dynamic_sections()
7352 locals[i].got_offset = htab->root.sgot->size; in elfNN_aarch64_size_dynamic_sections()
7353 htab->root.sgot->size += GOT_ENTRY_SIZE * 2; in elfNN_aarch64_size_dynamic_sections()
7358 locals[i].got_offset = htab->root.sgot->size; in elfNN_aarch64_size_dynamic_sections()
7359 htab->root.sgot->size += GOT_ENTRY_SIZE; in elfNN_aarch64_size_dynamic_sections()
7374 htab->root.srelplt->size += RELOC_SIZE (htab); in elfNN_aarch64_size_dynamic_sections()
7380 htab->root.srelgot->size += RELOC_SIZE (htab) * 2; in elfNN_aarch64_size_dynamic_sections()
7383 htab->root.srelgot->size += RELOC_SIZE (htab); in elfNN_aarch64_size_dynamic_sections()
7396 elf_link_hash_traverse (&htab->root, elfNN_aarch64_allocate_dynrelocs, in elfNN_aarch64_size_dynamic_sections()
7401 elf_link_hash_traverse (&htab->root, elfNN_aarch64_allocate_ifunc_dynrelocs, in elfNN_aarch64_size_dynamic_sections()
7420 if (htab->root.srelplt) in elfNN_aarch64_size_dynamic_sections()
7425 if (htab->root.splt->size == 0) in elfNN_aarch64_size_dynamic_sections()
7426 htab->root.splt->size += PLT_ENTRY_SIZE; in elfNN_aarch64_size_dynamic_sections()
7428 htab->tlsdesc_plt = htab->root.splt->size; in elfNN_aarch64_size_dynamic_sections()
7429 htab->root.splt->size += PLT_TLSDESC_ENTRY_SIZE; in elfNN_aarch64_size_dynamic_sections()
7435 htab->dt_tlsdesc_got = htab->root.sgot->size; in elfNN_aarch64_size_dynamic_sections()
7436 htab->root.sgot->size += GOT_ENTRY_SIZE; in elfNN_aarch64_size_dynamic_sections()
7458 if (s == htab->root.splt in elfNN_aarch64_size_dynamic_sections()
7459 || s == htab->root.sgot in elfNN_aarch64_size_dynamic_sections()
7460 || s == htab->root.sgotplt in elfNN_aarch64_size_dynamic_sections()
7461 || s == htab->root.iplt in elfNN_aarch64_size_dynamic_sections()
7462 || s == htab->root.igotplt || s == htab->sdynbss) in elfNN_aarch64_size_dynamic_sections()
7469 if (s->size != 0 && s != htab->root.srelplt) in elfNN_aarch64_size_dynamic_sections()
7474 if (s != htab->root.srelplt) in elfNN_aarch64_size_dynamic_sections()
7512 if (htab->root.dynamic_sections_created) in elfNN_aarch64_size_dynamic_sections()
7528 if (htab->root.splt->size != 0) in elfNN_aarch64_size_dynamic_sections()
7590 if (htab->root.splt != NULL) in elfNN_aarch64_create_small_pltn_entry()
7592 plt = htab->root.splt; in elfNN_aarch64_create_small_pltn_entry()
7593 gotplt = htab->root.sgotplt; in elfNN_aarch64_create_small_pltn_entry()
7594 relplt = htab->root.srelplt; in elfNN_aarch64_create_small_pltn_entry()
7598 plt = htab->root.iplt; in elfNN_aarch64_create_small_pltn_entry()
7599 gotplt = htab->root.igotplt; in elfNN_aarch64_create_small_pltn_entry()
7600 relplt = htab->root.irelplt; in elfNN_aarch64_create_small_pltn_entry()
7614 if (plt == htab->root.splt) in elfNN_aarch64_create_small_pltn_entry()
7667 rela.r_addend = (h->root.u.def.value in elfNN_aarch64_create_small_pltn_entry()
7668 + h->root.u.def.section->output_section->vma in elfNN_aarch64_create_small_pltn_entry()
7669 + h->root.u.def.section->output_offset); in elfNN_aarch64_create_small_pltn_entry()
7748 if (htab->root.splt != NULL) in elfNN_aarch64_finish_dynamic_symbol()
7750 plt = htab->root.splt; in elfNN_aarch64_finish_dynamic_symbol()
7751 gotplt = htab->root.sgotplt; in elfNN_aarch64_finish_dynamic_symbol()
7752 relplt = htab->root.srelplt; in elfNN_aarch64_finish_dynamic_symbol()
7756 plt = htab->root.iplt; in elfNN_aarch64_finish_dynamic_symbol()
7757 gotplt = htab->root.igotplt; in elfNN_aarch64_finish_dynamic_symbol()
7758 relplt = htab->root.irelplt; in elfNN_aarch64_finish_dynamic_symbol()
7792 if (htab->root.sgot == NULL || htab->root.srelgot == NULL) in elfNN_aarch64_finish_dynamic_symbol()
7795 rela.r_offset = (htab->root.sgot->output_section->vma in elfNN_aarch64_finish_dynamic_symbol()
7796 + htab->root.sgot->output_offset in elfNN_aarch64_finish_dynamic_symbol()
7817 plt = htab->root.splt ? htab->root.splt : htab->root.iplt; in elfNN_aarch64_finish_dynamic_symbol()
7821 htab->root.sgot->contents in elfNN_aarch64_finish_dynamic_symbol()
7833 rela.r_addend = (h->root.u.def.value in elfNN_aarch64_finish_dynamic_symbol()
7834 + h->root.u.def.section->output_section->vma in elfNN_aarch64_finish_dynamic_symbol()
7835 + h->root.u.def.section->output_offset); in elfNN_aarch64_finish_dynamic_symbol()
7842 htab->root.sgot->contents + h->got.offset); in elfNN_aarch64_finish_dynamic_symbol()
7847 loc = htab->root.srelgot->contents; in elfNN_aarch64_finish_dynamic_symbol()
7848 loc += htab->root.srelgot->reloc_count++ * RELOC_SIZE (htab); in elfNN_aarch64_finish_dynamic_symbol()
7860 || (h->root.type != bfd_link_hash_defined in elfNN_aarch64_finish_dynamic_symbol()
7861 && h->root.type != bfd_link_hash_defweak) in elfNN_aarch64_finish_dynamic_symbol()
7865 rela.r_offset = (h->root.u.def.value in elfNN_aarch64_finish_dynamic_symbol()
7866 + h->root.u.def.section->output_section->vma in elfNN_aarch64_finish_dynamic_symbol()
7867 + h->root.u.def.section->output_offset); in elfNN_aarch64_finish_dynamic_symbol()
7924 memcpy (htab->root.splt->contents, elfNN_aarch64_small_plt0_entry, in elfNN_aarch64_init_small_plt0_entry()
7926 elf_section_data (htab->root.splt->output_section)->this_hdr.sh_entsize = in elfNN_aarch64_init_small_plt0_entry()
7929 plt_got_2nd_ent = (htab->root.sgotplt->output_section->vma in elfNN_aarch64_init_small_plt0_entry()
7930 + htab->root.sgotplt->output_offset in elfNN_aarch64_init_small_plt0_entry()
7933 plt_base = htab->root.splt->output_section->vma + in elfNN_aarch64_init_small_plt0_entry()
7934 htab->root.splt->output_offset; in elfNN_aarch64_init_small_plt0_entry()
7939 htab->root.splt->contents + 4, in elfNN_aarch64_init_small_plt0_entry()
7943 htab->root.splt->contents + 8, in elfNN_aarch64_init_small_plt0_entry()
7947 htab->root.splt->contents + 12, in elfNN_aarch64_init_small_plt0_entry()
7960 dynobj = htab->root.dynobj; in elfNN_aarch64_finish_dynamic_sections()
7963 if (htab->root.dynamic_sections_created) in elfNN_aarch64_finish_dynamic_sections()
7967 if (sdyn == NULL || htab->root.sgot == NULL) in elfNN_aarch64_finish_dynamic_sections()
7985 s = htab->root.sgotplt; in elfNN_aarch64_finish_dynamic_sections()
7990 dyn.d_un.d_ptr = htab->root.srelplt->output_section->vma; in elfNN_aarch64_finish_dynamic_sections()
7994 s = htab->root.srelplt; in elfNN_aarch64_finish_dynamic_sections()
8006 if (htab->root.srelplt != NULL) in elfNN_aarch64_finish_dynamic_sections()
8008 s = htab->root.srelplt; in elfNN_aarch64_finish_dynamic_sections()
8014 s = htab->root.splt; in elfNN_aarch64_finish_dynamic_sections()
8020 s = htab->root.sgot; in elfNN_aarch64_finish_dynamic_sections()
8032 if (htab->root.splt && htab->root.splt->size > 0) in elfNN_aarch64_finish_dynamic_sections()
8036 elf_section_data (htab->root.splt->output_section)-> in elfNN_aarch64_finish_dynamic_sections()
8043 htab->root.sgot->contents + htab->dt_tlsdesc_got); in elfNN_aarch64_finish_dynamic_sections()
8045 memcpy (htab->root.splt->contents + htab->tlsdesc_plt, in elfNN_aarch64_finish_dynamic_sections()
8051 htab->root.splt->output_section->vma in elfNN_aarch64_finish_dynamic_sections()
8052 + htab->root.splt->output_offset + htab->tlsdesc_plt + 4; in elfNN_aarch64_finish_dynamic_sections()
8057 htab->root.sgot->output_section->vma in elfNN_aarch64_finish_dynamic_sections()
8058 + htab->root.sgot->output_offset; in elfNN_aarch64_finish_dynamic_sections()
8061 htab->root.sgotplt->output_section->vma in elfNN_aarch64_finish_dynamic_sections()
8062 + htab->root.sgotplt->output_offset; in elfNN_aarch64_finish_dynamic_sections()
8067 htab->root.splt->contents + htab->tlsdesc_plt; in elfNN_aarch64_finish_dynamic_sections()
8098 if (htab->root.sgotplt) in elfNN_aarch64_finish_dynamic_sections()
8100 if (bfd_is_abs_section (htab->root.sgotplt->output_section)) in elfNN_aarch64_finish_dynamic_sections()
8103 (_("discarded output section: `%A'"), htab->root.sgotplt); in elfNN_aarch64_finish_dynamic_sections()
8108 if (htab->root.sgotplt->size > 0) in elfNN_aarch64_finish_dynamic_sections()
8110 bfd_put_NN (output_bfd, (bfd_vma) 0, htab->root.sgotplt->contents); in elfNN_aarch64_finish_dynamic_sections()
8115 htab->root.sgotplt->contents + GOT_ENTRY_SIZE); in elfNN_aarch64_finish_dynamic_sections()
8118 htab->root.sgotplt->contents + GOT_ENTRY_SIZE * 2); in elfNN_aarch64_finish_dynamic_sections()
8121 if (htab->root.sgot) in elfNN_aarch64_finish_dynamic_sections()
8123 if (htab->root.sgot->size > 0) in elfNN_aarch64_finish_dynamic_sections()
8127 bfd_put_NN (output_bfd, addr, htab->root.sgot->contents); in elfNN_aarch64_finish_dynamic_sections()
8131 elf_section_data (htab->root.sgotplt->output_section)-> in elfNN_aarch64_finish_dynamic_sections()
8135 if (htab->root.sgot && htab->root.sgot->size > 0) in elfNN_aarch64_finish_dynamic_sections()
8136 elf_section_data (htab->root.sgot->output_section)->this_hdr.sh_entsize in elfNN_aarch64_finish_dynamic_sections()