bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/26080] Incorrect "Common symbol override test"


From: address@hidden
Subject: [Bug ld/26080] Incorrect "Common symbol override test"
Date: Wed, 03 Jun 2020 17:15:26 +0000

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

--- Comment #5 from Maciej W. Rozycki <macro@linux-mips.org> ---
(In reply to H.J. Lu from comment #2)
> > Your statement makes sense to me, however silently discarding relocations
> > against an existing symbol from a debug section makes me nervous as to
> > the impact on debugging.  Would you be able to provide a backing
> > quotation from the relevant standard (DWARF, likely)?
> 
> This is very typical for symbol addresses in debug info in shared library.
> Debuggers can find symbol addresses at run-time by other meanings.
Right, it makes no sense to produce a dynamic relocation for a reference
from a !SEC_ALLOC section, as it won't be relocated at run time anyway.

Can the bfd/elfxx-mips.c part of commit 21d790b94321 ("MIPS/BFD: Don't
make debug section relocs dynamic"),
<https://sourceware.org/ml/binutils/2010-09/msg00216.html>, be reverted
as a part of your change?  I suspect it might become dead code now.

-- 
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]