This is the mail archive of the
mailing list for the GCC project.
Re: -fpatchable-function-entry: leverage multi-byte NOP on x86
On Mon, 6 Jan 2020, Martin Liška wrote:
> You are right, we do not leverage multi-byte NOPs. Note that the support
> on a CPU model (-march) and the similar code is quite complex in binutils:
> I'm not sure how worthy would it be to implement that?
Huh? Surely the right move would be to ask Binutils to expose that via
a new pseudo-op, like .balign but requesting a specific space rather
than aligning up to a boundary.