diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2018-02-27 14:45:48 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2018-02-27 14:46:03 -0800 |
commit | 8f065d3b4a814b5a69b3f39700fea7034c79c492 (patch) | |
tree | a170e1535a729ac8e30224e1a941fe28f5fff564 /gas/testsuite/gas/i386/nop-2.s | |
parent | e05cac70d855cd404eae9aeea5fcfb83ce8aabcf (diff) | |
download | binutils-gdb-8f065d3b4a814b5a69b3f39700fea7034c79c492.tar.gz |
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.
Diffstat (limited to 'gas/testsuite/gas/i386/nop-2.s')
-rw-r--r-- | gas/testsuite/gas/i386/nop-2.s | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gas/testsuite/gas/i386/nop-2.s b/gas/testsuite/gas/i386/nop-2.s index 2b71b9786d8..9f7a3729c0e 100644 --- a/gas/testsuite/gas/i386/nop-2.s +++ b/gas/testsuite/gas/i386/nop-2.s @@ -1,22 +1,22 @@ .text .code16 single: - .nop 0 + .nops 0 nop pseudo_1: - .nop 1 + .nops 1 pseudo_8: - .nop 8 + .nops 8 pseudo_8_4: - .nop 8, 4 + .nops 8, 4 pseudo_20: - .nop 20 + .nops 20 pseudo_30: - .nop 30 + .nops 30 xor %eax, %eax |