bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/28398] binutils: ld: KEEP ignored


From: amodra at gmail dot com
Subject: [Bug ld/28398] binutils: ld: KEEP ignored
Date: Wed, 13 Oct 2021 03:23:26 +0000

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

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #4 from Alan Modra <amodra at gmail dot com> ---
> The expected behavior is that unreferenced sections .sbilist* are retained 
> due to > the KEEP statement.
Your expectation is not correct.  KEEP is for controlling garbage collection of
sections part of objects loaded by ld.  The behaviour of unix archives is
orthogonal to this, as Jessica commented.

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