diff options
author | Nick Clifton <nickc@redhat.com> | 2001-08-12 08:59:29 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-08-12 08:59:29 +0000 |
commit | 5705874961302aff1a880d688fbdc38981902e56 (patch) | |
tree | 59520537c477ff17879dcf86f4e43fefd20c534e | |
parent | e16ee2a378f2650c81e1df8e293c6dd10aa45fc7 (diff) | |
download | binutils-redhat-5705874961302aff1a880d688fbdc38981902e56.tar.gz |
Extend unaligned test to check .uaword with mulitple arguments
-rw-r--r-- | gas/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gas/testsuite/gas/sparc/unalign.d | 6 | ||||
-rw-r--r-- | gas/testsuite/gas/sparc/unalign.s | 1 |
3 files changed, 13 insertions, 1 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index d411abccdd..2e3c63f078 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 8227b509e4..9bc765bae6 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 b9e1108779..077c18e249 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 |