Extend unaligned test to check .uaword with mulitple arguments
authorNick Clifton <nickc@redhat.com>
Sun, 12 Aug 2001 08:59:29 +0000 (08:59 +0000)
committerNick Clifton <nickc@redhat.com>
Sun, 12 Aug 2001 08:59:29 +0000 (08:59 +0000)
gas/testsuite/ChangeLog
gas/testsuite/gas/sparc/unalign.d
gas/testsuite/gas/sparc/unalign.s

index d411abc..2e3c63f 100644 (file)
@@ -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.
index 8227b50..9bc765b 100644 (file)
@@ -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
index b9e1108..077c18e 100644 (file)
@@ -9,4 +9,5 @@ foo:
        .byte 0x3
        .byte 0x4
        .byte 0x5
+       .uaword         baz, bar
        .byte 0x6