bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/21562] Refs to __start_SCN of non-orphan sections affect --gc-se


From: amonakov at gmail dot com
Subject: [Bug ld/21562] Refs to __start_SCN of non-orphan sections affect --gc-sections
Date: Sat, 10 Jun 2017 14:46:40 +0000

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

--- Comment #5 from Alexander Monakov <amonakov at gmail dot com> ---
The patch looks wrong, it appears to ensure that __start_scnfoo is defined. The
linker manual says it shouldn't get defined (scnfoo is not orphan), and
therefore scnfoo should be eliminated due to --gc-sections.

(note that bug 20022 and bug 19167 are both for orphan sections, linker scripts
are not involved there)

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