* gas/cris/rd-bcnst.d, gas/cris/rd-bcnst.d: New test.
This commit is contained in:
parent
eb78484829
commit
c79b382e06
3 changed files with 29 additions and 0 deletions
|
@ -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.
|
||||
|
|
22
gas/testsuite/gas/cris/rd-bcnst.d
Normal file
22
gas/testsuite/gas/cris/rd-bcnst.d
Normal file
|
@ -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
|
3
gas/testsuite/gas/cris/rd-bcnst.s
Normal file
3
gas/testsuite/gas/cris/rd-bcnst.s
Normal file
|
@ -0,0 +1,3 @@
|
|||
bmi 0xbadb00
|
||||
bmi 0xb00
|
||||
bmi 0x42
|
Loading…
Add table
Reference in a new issue