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: 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]