[PATCH] x86: Add .nop directive to assembler

H.J. Lu hjl.tools@gmail.com
Sat Feb 17 02:59:00 GMT 2018


On Fri, Feb 16, 2018 at 4:49 PM, Alan Modra <amodra@gmail.com> wrote:
> On Fri, Feb 16, 2018 at 08:07:50AM -0800, H.J. Lu wrote:
>> Good points.  Here is the updated patch.   OK for master?
>
> OK, except for one quibble with the default md_generate_nops.  I think
> that should error rather than filling with zeros (which is likely to
> be an illegal instruction or trap).
>

Fixed.  This is the patch I will check in tomorrow.

Thanks.

-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-.nop-assembler-directive.patch
Type: text/x-patch
Size: 42989 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20180217/4e9d709f/attachment.bin>


More information about the Binutils mailing list