[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.
- [Bug ld/20022] --gc-sections is broken with __start_ and shared library, nickc at redhat dot com, 2016/05/09
- [Bug ld/20022] --gc-sections is broken with __start_ and shared library, hjl.tools at gmail dot com, 2016/05/09
- [Bug ld/20022] --gc-sections is broken with __start_ and shared library, nickc at redhat dot com, 2016/05/09
- [Bug ld/20022] --gc-sections is broken with __start_ and shared library, hjl.tools at gmail dot com, 2016/05/09
- [Bug ld/20022] --gc-sections is broken with __start_ and shared library,
nickc at redhat dot com <=
- [Bug ld/20022] --gc-sections is broken with __start_ and shared library, hjl.tools at gmail dot com, 2016/05/11
- [Bug ld/20022] --gc-sections is broken with __start_ and shared library, nickc at redhat dot com, 2016/05/17
- [Bug ld/20022] --gc-sections is broken with __start_ and shared library, hjl.tools at gmail dot com, 2016/05/17
- [Bug ld/20022] --gc-sections is broken with __start_ and shared library, nickc at redhat dot com, 2016/05/18
- [Bug ld/20022] --gc-sections is broken with __start_ and shared library, hjl.tools at gmail dot com, 2016/05/18