bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/22874] GAS does not emit multibyte nops before a function symbo


From: amodra at gmail dot com
Subject: [Bug gas/22874] GAS does not emit multibyte nops before a function symbol
Date: Thu, 22 Feb 2018 22:23:33 +0000

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

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amodra at gmail dot com
           Severity|normal                      |enhancement

--- Comment #2 from Alan Modra <amodra at gmail dot com> ---
Those nops are emitted by the linker, not the assembler.  We currently have no
generic infrastructure for emitting fancy nop sequences in linker generated
padding, but see emultempl/ppc32elf.em:no_zero_padding.

However, I question whether emitting multi-byte nops in padding on x86 is a
good idea.  If you somehow execute those nops, what happens when you jump into
the middle of a multi-byte nop?

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