bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/20022] --gc-sections is broken with __start_ and shared library


From: nickc at redhat dot com
Subject: [Bug ld/20022] --gc-sections is broken with __start_ and shared library
Date: Tue, 10 May 2016 10:17:32 +0000

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

--- Comment #5 from Nick Clifton <nickc at redhat dot com> ---
(In reply to H.J. Lu from comment #4)

> Somewhere in _bfd_elf_is_start_stop?

I don't think that will work.  We only want to trigger if an orphan section
is being referenced solely via its start/stop symbols, and I don't think that
we can determine this in _bfd_elf_is_start_stop.

Still if you have a potential patch to suggest I would be happy to take a look.

I think that the patch should produce a warning/error message, rather than an
abort however, since the user is not doing anything wrong.

Cheers
  Nick

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