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: hjl.tools at gmail dot com
Subject: [Bug ld/21562] Refs to __start_SCN of non-orphan sections affect --gc-sections
Date: Sat, 10 Jun 2017 22:49:23 +0000

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

--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Alexander Monakov from comment #5)
> 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.
> 

I posted a patch to always define referenced __start_SECNAME/__stop_SECNAME:

https://sourceware.org/ml/binutils/2017-06/msg00105.html

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