aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2011-04-13 13:20:24 +0000
committerNick Clifton <nickc@redhat.com>2011-04-13 13:20:24 +0000
commit7d063384af231365d6f623f89f09f1af909478f8 (patch)
tree9fdeedb4f261902f0bb371645f36351fd34d3608 /gas
parentdb17156eaa6dbb38436c6a01712688e35389e773 (diff)
downloadgdb-7d063384af231365d6f623f89f09f1af909478f8.zip
gdb-7d063384af231365d6f623f89f09f1af909478f8.tar.gz
gdb-7d063384af231365d6f623f89f09f1af909478f8.tar.bz2
* v850-dis.c (disassemble): Always print a closing square brace if
an opening square brace was printed.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/gas/v850/v850e1.d1
-rw-r--r--gas/testsuite/gas/v850/v850e1.s1
3 files changed, 7 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 3f9b878..16abb00 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2011-04-13 Nick Clifton <nickc@redhat.com>
+
+ * gas/v850/v850e1.s: Add a insn using reg+offset addressing.
+ * gas/v850/v850e1.d: Add expected disassembly.
+
2011-04-12 Nick Clifton <nickc@redhat.com>
PR binutils/12534
diff --git a/gas/testsuite/gas/v850/v850e1.d b/gas/testsuite/gas/v850/v850e1.d
index 8172b09..9ba03ea 100644
--- a/gas/testsuite/gas/v850/v850e1.d
+++ b/gas/testsuite/gas/v850/v850e1.d
@@ -42,3 +42,4 @@ Disassembly of section .text:
0x0+76 ff 07 e6 00 [ ]*tst1 r0, lp
0x0+7a 83 00 [ ]*zxb sp
0x0+7c c4 00 [ ]*zxh gp
+0x0+7e 63 ff 9d 00[ ]*st.w lp, 156\[sp\]
diff --git a/gas/testsuite/gas/v850/v850e1.s b/gas/testsuite/gas/v850/v850e1.s
index 5013261..2e6d640 100644
--- a/gas/testsuite/gas/v850/v850e1.s
+++ b/gas/testsuite/gas/v850/v850e1.s
@@ -36,3 +36,4 @@
tst1 r0, [r31]
zxb r3
zxh r4
+ st.w lp, 156[sp]