aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-10-10 08:12:53 +0000
committerNick Clifton <nickc@redhat.com>2005-10-10 08:12:53 +0000
commitdf3b293657ae8cee24fb8b6444e18612c16d1ddd (patch)
treeec112c873d6bc05231e3db2628c594a7c882de79
parent2336bb5846e37f77a40ab8d3f565c8c7bd6b05f7 (diff)
downloadgdb-df3b293657ae8cee24fb8b6444e18612c16d1ddd.zip
gdb-df3b293657ae8cee24fb8b6444e18612c16d1ddd.tar.gz
gdb-df3b293657ae8cee24fb8b6444e18612c16d1ddd.tar.bz2
* gas/sh/reg-prefix.s: Use mov.l instruction in preference to movli.l.
* gas/sh/reg-prefix.d: Force little endian assembly.
-rw-r--r--gas/testsuite/ChangeLog6
-rw-r--r--gas/testsuite/gas/sh/reg-prefix.d5
-rw-r--r--gas/testsuite/gas/sh/reg-prefix.s3
3 files changed, 11 insertions, 3 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 6896141..ab3ce31 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2005-10-10 Nick Clifton <nickc@redhat.com>
+
+ * gas/sh/reg-prefix.s: Use mov.l instruction in preference to
+ movli.l.
+ * gas/sh/reg-prefix.d: Force little endian assembly.
+
2005-10-08 Paul Brook <paul@codesourcery.com>
* gas/arm/eabi_attr_1.s: New test.
diff --git a/gas/testsuite/gas/sh/reg-prefix.d b/gas/testsuite/gas/sh/reg-prefix.d
index 82896c6..1821bbc 100644
--- a/gas/testsuite/gas/sh/reg-prefix.d
+++ b/gas/testsuite/gas/sh/reg-prefix.d
@@ -1,9 +1,10 @@
#objdump: -dr --prefix-addresses --show-raw-insn
-#as: --allow-reg-prefix
+#as: --allow-reg-prefix -little
#name: SH --allow-reg-prefix option
# Test SH register names prefixed with $:
.*: file format elf.*sh.*
Disassembly of section .text:
-0x00000000 01 63 movli.l @r1,r0
+0x00000000 12 60 mov\.l @r1,r0
+
diff --git a/gas/testsuite/gas/sh/reg-prefix.s b/gas/testsuite/gas/sh/reg-prefix.s
index 13a7c12..8600af1 100644
--- a/gas/testsuite/gas/sh/reg-prefix.s
+++ b/gas/testsuite/gas/sh/reg-prefix.s
@@ -1,2 +1,3 @@
.text
- movli.l @r1,$r0
+ mov.l @r1,$r0
+