diff options
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gas/testsuite/gas/sh/pcrel2.d | 20 |
2 files changed, 23 insertions, 1 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 1b625c5..6ba1a19 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2002-10-03 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * testsuite/gas/sh/pcrel2.d: Check code also. + 2002-10-02 Stephen Clarke <stephen.clarke@superh.com> * gas/sh/sh64/ptc32-noexp-1.d: Adjust for changes to *ABS* diff --git a/gas/testsuite/gas/sh/pcrel2.d b/gas/testsuite/gas/sh/pcrel2.d index 9b363af..60a01df 100644 --- a/gas/testsuite/gas/sh/pcrel2.d +++ b/gas/testsuite/gas/sh/pcrel2.d @@ -1,5 +1,23 @@ #as: -big -#objdump: -r +#objdump: -drj.text #name: PC-relative loads .*: file format .*sh.* + +Disassembly of section \.text: + +00000000 <code>: + 0: 8b 01 bf 6 <foo> + 2: d0 02 mov\.l c <bar>,r0 ! 0x6 + 4: 90 02 mov\.w c <bar>,r0 ! 0x0 + +00000006 <foo>: + 6: af fe bra 6 <foo> + 8: 00 09 nop + a: 00 09 nop + +0000000c <bar>: + c: 00 00 .*[ ]*.* + e: 00 06 .*[ ]*.* + 10: 00 0a .*[ ]*.* + 12: 0c 00 .*[ ]*.* |