aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-08-12 08:59:29 +0000
committerNick Clifton <nickc@redhat.com>2001-08-12 08:59:29 +0000
commitd8b6305a45989e1260db502c8fd13fba53d44c45 (patch)
treec19ec02c711060d153e996156534d4ac86d92d6d /gas
parent4ffadb11c84984e2470d3f7eb8551fd40e5dc1f7 (diff)
downloadgdb-d8b6305a45989e1260db502c8fd13fba53d44c45.zip
gdb-d8b6305a45989e1260db502c8fd13fba53d44c45.tar.gz
gdb-d8b6305a45989e1260db502c8fd13fba53d44c45.tar.bz2
Extend unaligned test to check .uaword with mulitple arguments
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog7
-rw-r--r--gas/testsuite/gas/sparc/unalign.d6
-rw-r--r--gas/testsuite/gas/sparc/unalign.s1
3 files changed, 13 insertions, 1 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index d411abc..2e3c63f 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2001-08-12 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * gas/sparc/unalign.s: Extend test to check .uaword with multiple
+ arguments.
+ * gas/sparc/unalign.d: Extend to expect unaligned relocs for both
+ arguments to .uaword.
+
2001-08-10 H.J. Lu <hjl@gnu.org>
* gas/mips/e32-rel2.d: Updated for the objdump output change.
diff --git a/gas/testsuite/gas/sparc/unalign.d b/gas/testsuite/gas/sparc/unalign.d
index 8227b50..9bc765b 100644
--- a/gas/testsuite/gas/sparc/unalign.d
+++ b/gas/testsuite/gas/sparc/unalign.d
@@ -12,4 +12,8 @@ Disassembly of section .data:
1: R_SPARC_UA32 fred
4: 00 02 00 00 (unimp|illtrap) 0x20000
6: R_SPARC_UA16 jim
- 8: 03 04 05 06 sethi %hi\(0x10141800\), %g1
+ 8: 03 04 05 00 sethi %hi\(0x10140000\), %g1
+ b: R_SPARC_UA32 baz
+ c: 00 00 00 00 unimp 0
+ f: R_SPARC_UA32 bar
+ 10: 00 00 00 06 unimp 0x6
diff --git a/gas/testsuite/gas/sparc/unalign.s b/gas/testsuite/gas/sparc/unalign.s
index b9e1108..077c18e 100644
--- a/gas/testsuite/gas/sparc/unalign.s
+++ b/gas/testsuite/gas/sparc/unalign.s
@@ -9,4 +9,5 @@ foo:
.byte 0x3
.byte 0x4
.byte 0x5
+ .uaword baz, bar
.byte 0x6