[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: |
Wed, 18 May 2016 09:18:07 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=20022
--- Comment #9 from Nick Clifton <nickc at redhat dot com> ---
Created attachment 9274
--> https://sourceware.org/bugzilla/attachment.cgi?id=9274&action=edit
Revised patch
Hi H.J.
Of course, you are right. Plus the error message was wrong - it is not
undefined orphan section symbols that are the problem, it is defined ones.
Plus, really this ought to be a warning, not an error, since garbage collection
will work if the orphan section is referred to by non start/stop symbols.
So here is a revised patch. What do you think ?
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, 2016/05/10
- [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 <=
- [Bug ld/20022] --gc-sections is broken with __start_ and shared library, hjl.tools at gmail dot com, 2016/05/18