bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/20882] GNU ld discards sections required by relocations in .debu


From: amodra at gmail dot com
Subject: [Bug ld/20882] GNU ld discards sections required by relocations in .debug_info with --gc-sections
Date: Thu, 18 May 2017 12:04:11 +0000

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

--- Comment #12 from Alan Modra <amodra at gmail dot com> ---
The crx and xgate FAILs are due to broken relocation processing.  I don't think
they should be swept under the rug.  HJ has already pointed out why mips is
failing in https://sourceware.org/ml/binutils/2017-05/msg00195.html.  I've
looked into the arm failure, which is due to .ARM.attributes being marked KEEP
and then  _bfd_elf_gc_mark_extra_sections setting some_kept.  A possible fix is
to only set some_kept when an *alloc* section is kept.  Testing that 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]