From 8f065d3b4a814b5a69b3f39700fea7034c79c492 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 27 Feb 2018 14:45:48 -0800 Subject: gas: Rename .nop directive to .nops Since directives of NO_PSEUDO_DOT targets don't have the leading '.' and "nop" can be a valid instruction, rename .nop directive to .nops to avoid conflict. * NEWS: Rename .nop to .nops. * doc/as.texinfo: Likewise. * read.c (potable): Add "nops". Remove "nop". (s_nop): Renamed to ... (s_nops): This. * read.h (s_nop): Renamed to ... (s_nops): This. * write.c (cvt_frag_to_fill): Rename .nop to .nops. (md_generate_nops): Likewise. (relax_segment): Likewise. * testsuite/gas/i386/nop-1.d: Updated. * testsuite/gas/i386/nop-1.s: Likewise. * testsuite/gas/i386/nop-2.d: Likewise. * testsuite/gas/i386/nop-2.s: Likewise. * testsuite/gas/i386/nop-3.d: Likewise. * testsuite/gas/i386/nop-3.s: Likewise. * testsuite/gas/i386/nop-4.d: Likewise. * testsuite/gas/i386/nop-4.s: Likewise. * testsuite/gas/i386/nop-5.d: Likewise. * testsuite/gas/i386/nop-5.s: Likewise. * testsuite/gas/i386/nop-6.d: Likewise. * testsuite/gas/i386/nop-6.s: Likewise. * testsuite/gas/i386/nop-bad-1.l: Likewise. * testsuite/gas/i386/nop-bad-1.s: Likewise. * testsuite/gas/i386/x86-64-nop-1.d: Likewise. * testsuite/gas/i386/x86-64-nop-2.d: Likewise. * testsuite/gas/i386/x86-64-nop-3.d: Likewise. * testsuite/gas/i386/x86-64-nop-4.d: Likewise. * testsuite/gas/i386/x86-64-nop-5.d: Likewise. * testsuite/gas/i386/x86-64-nop-6.d: Likewise. --- gas/NEWS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gas/NEWS') diff --git a/gas/NEWS b/gas/NEWS index 8a9d3a2..8a4b93a 100644 --- a/gas/NEWS +++ b/gas/NEWS @@ -3,7 +3,7 @@ * Add -O[2|s] command-line options to x86 assembler to enable alternate shorter instruction encoding. -* Add support for .nop directive. It is currently supported only for +* Add support for .nops directive. It is currently supported only for x86 targets. Changes in 2.30: -- cgit v1.1