bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/27753] -mx86-used-note= defaulting to yes regresses


From: hjl.tools at gmail dot com
Subject: [Bug gas/27753] -mx86-used-note= defaulting to yes regresses
Date: Mon, 21 Jun 2021 19:41:51 +0000

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]