https://sourceware.org/bugzilla/show_bug.cgi?id=27753
--- Comment #10 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Jan Beulich from comment #9)
> (In reply to H.J. Lu from comment #8)
> > If you don't need NOTE sections, just discard them in the linker script.
>
> As per above there's no linker script involved here, and for the simple
> purposes here there imo shouldn't be such a requirement imposed by changes
> to binutils. IOW I don't view this as an answer to my request.
Please try this linker script:
SECTIONS { /DISCARD/ : { *(.note.*) } }
INSERT AFTER .text;
This should discard all note sections.
--
You are receiving this mail because:
You are on the CC list for the bug.