diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2002-11-26 08:19:09 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2002-11-26 08:19:09 +0000 |
commit | c79b382e0643c3033a0a0d10c47aaadd1d66c7d3 (patch) | |
tree | 14edb429c9401d221a4fe74e8315469527085b42 /gas | |
parent | eb78484829c67075caaa4ac984dd8b50b5d750bc (diff) | |
download | gdb-c79b382e0643c3033a0a0d10c47aaadd1d66c7d3.zip gdb-c79b382e0643c3033a0a0d10c47aaadd1d66c7d3.tar.gz gdb-c79b382e0643c3033a0a0d10c47aaadd1d66c7d3.tar.bz2 |
* gas/cris/rd-bcnst.d, gas/cris/rd-bcnst.d: New test.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gas/testsuite/gas/cris/rd-bcnst.d | 22 | ||||
-rw-r--r-- | gas/testsuite/gas/cris/rd-bcnst.s | 3 |
3 files changed, 29 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 7606e6e..6023ba1 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2002-11-26 Hans-Peter Nilsson <hp@axis.com> + + * gas/cris/rd-bcnst.d, gas/cris/rd-bcnst.d: New test. + 2002-11-25 DJ Delorie <dj@redhat.com> * gas/xstormy16/allinsn.d: Fix sdiv/sdivlh encodings. diff --git a/gas/testsuite/gas/cris/rd-bcnst.d b/gas/testsuite/gas/cris/rd-bcnst.d new file mode 100644 index 0000000..f210666 --- /dev/null +++ b/gas/testsuite/gas/cris/rd-bcnst.d @@ -0,0 +1,22 @@ +#objdump: -dr + +# Catches an error in the relaxation machinery and checks that there's no +# confusion between section offset and absolute address. + +.*: file format .*-cris + +Disassembly of section \.text: + +0+ <\.text>: +[ ]+0:[ ]+08e0[ ]+ba 0xa +[ ]+2:[ ]+0f05[ ]+nop +[ ]+4:[ ]+3f0d 00db ba00[ ]+jump 0xbadb00 +[ ]+a:[ ]+f970[ ]+bmi 0x4 +[ ]+c:[ ]+08e0[ ]+ba 0x16 +[ ]+e:[ ]+0f05[ ]+nop +[ ]+10:[ ]+3f0d 000b 0000[ ]+jump 0xb00 +[ ]+16:[ ]+f970[ ]+bmi 0x10 +[ ]+18:[ ]+08e0[ ]+ba 0x22 +[ ]+1a:[ ]+0f05[ ]+nop +[ ]+1c:[ ]+3f0d 4200 0000[ ]+jump 0x42 +[ ]+22:[ ]+f970[ ]+bmi 0x1c diff --git a/gas/testsuite/gas/cris/rd-bcnst.s b/gas/testsuite/gas/cris/rd-bcnst.s new file mode 100644 index 0000000..8f86e33 --- /dev/null +++ b/gas/testsuite/gas/cris/rd-bcnst.s @@ -0,0 +1,3 @@ + bmi 0xbadb00 + bmi 0xb00 + bmi 0x42 |