gas: Rename .nop directive to .nops
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 27 Feb 2018 22:45:48 +0000 (14:45 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 27 Feb 2018 22:46:03 +0000 (14:46 -0800)
commit8f065d3b4a814b5a69b3f39700fea7034c79c492
treea170e1535a729ac8e30224e1a941fe28f5fff564
parente05cac70d855cd404eae9aeea5fcfb83ce8aabcf
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.
26 files changed:
gas/ChangeLog
gas/NEWS
gas/doc/as.texinfo
gas/read.c
gas/read.h
gas/testsuite/gas/i386/nop-1.d
gas/testsuite/gas/i386/nop-1.s
gas/testsuite/gas/i386/nop-2.d
gas/testsuite/gas/i386/nop-2.s
gas/testsuite/gas/i386/nop-3.d
gas/testsuite/gas/i386/nop-3.s
gas/testsuite/gas/i386/nop-4.d
gas/testsuite/gas/i386/nop-4.s
gas/testsuite/gas/i386/nop-5.d
gas/testsuite/gas/i386/nop-5.s
gas/testsuite/gas/i386/nop-6.d
gas/testsuite/gas/i386/nop-6.s
gas/testsuite/gas/i386/nop-bad-1.l
gas/testsuite/gas/i386/nop-bad-1.s
gas/testsuite/gas/i386/x86-64-nop-1.d
gas/testsuite/gas/i386/x86-64-nop-2.d
gas/testsuite/gas/i386/x86-64-nop-3.d
gas/testsuite/gas/i386/x86-64-nop-4.d
gas/testsuite/gas/i386/x86-64-nop-5.d
gas/testsuite/gas/i386/x86-64-nop-6.d
gas/write.c