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.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to