This is the mail archive of the
mailing list for the binutils project.
Re: [PATCH] x86: Add .nop directive to assembler
On Fri, Feb 16, 2018 at 6:59 PM, H.J. Lu <email@example.com> wrote:
> On Fri, Feb 16, 2018 at 4:49 PM, Alan Modra <firstname.lastname@example.org> 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.
Here is a patch for gas/NEWS.
diff --git a/gas/NEWS b/gas/NEWS
index a591a7b200..27ee306f2f 100644
@@ -1,5 +1,8 @@
-*- text -*-
+* Add support for .nop directive. It is currently supported only for
+ x86 targets.
Changes in 2.30:
* Add support for loaction views in DWARF debug line information.