bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/27495] -z start_stop_gc isn't compatible with --gc-sections


From: amodra at gmail dot com
Subject: [Bug ld/27495] -z start_stop_gc isn't compatible with --gc-sections
Date: Mon, 01 Mar 2021 21:59:17 +0000

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

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |NOTABUG

--- Comment #1 from Alan Modra <amodra at gmail dot com> ---
Every one of these tests has --gc-sections and is testing the behaviour of
__start_* or __stop_*.  -z start-stop-gc is designed to drop sections that are
only kept due to magically defined __start/__stop symbols, so the fact that
these tests now fail with undefined references is exactly what you should
expect.  -z start-stop-gc is *not* an option that you can turn on by default.

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