[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.
- [Bug ld/26080] New: Incorrect "Common symbol override test", hjl.tools at gmail dot com, 2020/06/03
- [Bug ld/26080] Incorrect "Common symbol override test", address@hidden, 2020/06/03
- [Bug ld/26080] Incorrect "Common symbol override test", hjl.tools at gmail dot com, 2020/06/03
- [Bug ld/26080] Incorrect "Common symbol override test", hjl.tools at gmail dot com, 2020/06/03
- [Bug ld/26080] Incorrect "Common symbol override test", hjl.tools at gmail dot com, 2020/06/03
- [Bug ld/26080] Incorrect "Common symbol override test",
address@hidden <=
- [Bug ld/26080] Incorrect "Common symbol override test", hjl.tools at gmail dot com, 2020/06/03
- [Bug ld/26080] Incorrect "Common symbol override test", hjl.tools at gmail dot com, 2020/06/03
- [Bug ld/26080] Incorrect "Common symbol override test", cvs-commit at gcc dot gnu.org, 2020/06/04
- [Bug ld/26080] Incorrect "Common symbol override test", hjl.tools at gmail dot com, 2020/06/04