bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/21532] AArch64: Symbol address inconsistency across compilation


From: jiwang at gcc dot gnu.org
Subject: [Bug ld/21532] AArch64: Symbol address inconsistency across compilation units
Date: Tue, 06 Jun 2017 11:14:23 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=21532

--- Comment #2 from Jiong Wang <jiwang at gcc dot gnu.org> ---
Hi Nick,

  Looks like AArch64 could avoid emiting COPY relocation if it's a relocation
against writable section. We could adopt similar code from
elf_x86_64_adjust_dynamic_symbol or ppc64_elf_adjust_dynamic_symbol.

> It looks like the linker creates a copy of IEEEsingle in the executable but
> then the GOT entry for IEEEsingle is not updated in libLLVM.so, causing any
> accesses to IEEEsingle in libLLVM.so to refer to the original definition

  Does this means this is a glibc bug as well? dynamic linker needs to redirect
the reference in the .so to the copy as well?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]