From d8b6305a45989e1260db502c8fd13fba53d44c45 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Sun, 12 Aug 2001 08:59:29 +0000 Subject: [PATCH] Extend unaligned test to check .uaword with mulitple arguments --- gas/testsuite/ChangeLog | 7 +++++++ gas/testsuite/gas/sparc/unalign.d | 6 +++++- gas/testsuite/gas/sparc/unalign.s | 1 + 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index d411abccddd..2e3c63f078d 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2001-08-12 Nick Clifton + + * 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 * 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 8227b509e45..9bc765bae63 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 b9e1108779e..077c18e249b 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 -- 2.30.2