https://sourceware.org/bugzilla/show_bug.cgi?id=18270
--- Comment #3 from Jiong Wang <jiwang at gcc dot gnu.org> ---
AArch64 have counted the got entry in check_relocs for local symbol, while we
haven't do any thing during entry allocation, and when doing the final
relocation in elfNN_aarch64_final_link_relocate, we only update the relocation
value to got entry offset for global symbol. Needs support for local symbol as
well.
4837 case BFD_RELOC_AARCH64_LD64_GOT_LO12_NC:
4838 case BFD_RELOC_AARCH64_LD32_GOT_LO12_NC:
4839 case BFD_RELOC_AARCH64_ADR_GOT_PAGE:
4840 case BFD_RELOC_AARCH64_GOT_LD_PREL19:
4841 if (globals->root.sgot == NULL)
4842 BFD_ASSERT (h != NULL);
4843
4844 if (h != NULL)
4845 {
4846 value = aarch64_calculate_got_entry_vma (h, globals, info,
value,
4847 output_bfd,
4848 unresolved_reloc_p);
4849 value = _bfd_aarch64_elf_resolve_relocation (bfd_r_type, place,
value,
4850 0, weak_undef_p);
4851 }
4852 break
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils