[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/18270] [AArch64] relocation truncated to fit: R_AARCH64_LD64_GOT
From: |
jiwang at gcc dot gnu.org |
Subject: |
[Bug ld/18270] [AArch64] relocation truncated to fit: R_AARCH64_LD64_GOT_LO12_NC against |
Date: |
Fri, 17 Apr 2015 13:22:07 +0000 |
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 ld/18270] New: [AArch64] relocation truncated to fit: R_AARCH64_LD64_GOT_LO12_NC against, david.abdurachmanov at gmail dot com, 2015/04/16
- [Bug ld/18270] [AArch64] relocation truncated to fit: R_AARCH64_LD64_GOT_LO12_NC against, david.abdurachmanov at gmail dot com, 2015/04/16
- [Bug ld/18270] [AArch64] relocation truncated to fit: R_AARCH64_LD64_GOT_LO12_NC against, david.abdurachmanov at gmail dot com, 2015/04/16
- [Bug ld/18270] [AArch64] relocation truncated to fit: R_AARCH64_LD64_GOT_LO12_NC against, jiwang at gcc dot gnu.org, 2015/04/16
- [Bug ld/18270] [AArch64] relocation truncated to fit: R_AARCH64_LD64_GOT_LO12_NC against, jiwang at gcc dot gnu.org, 2015/04/16
- [Bug ld/18270] [AArch64] relocation truncated to fit: R_AARCH64_LD64_GOT_LO12_NC against,
jiwang at gcc dot gnu.org <=
- [Bug ld/18270] [AArch64] relocation truncated to fit: R_AARCH64_LD64_GOT_LO12_NC against, jiwang at gcc dot gnu.org, 2015/04/17
- [Bug ld/18270] [AArch64] relocation truncated to fit: R_AARCH64_LD64_GOT_LO12_NC against, jiwang at gcc dot gnu.org, 2015/04/20
- [Bug ld/18270] [AArch64] relocation truncated to fit: R_AARCH64_LD64_GOT_LO12_NC against, david.abdurachmanov at gmail dot com, 2015/04/20
- [Bug ld/18270] [AArch64] relocation truncated to fit: R_AARCH64_LD64_GOT_LO12_NC against, cvs-commit at gcc dot gnu.org, 2015/04/24