* gas/cris/rd-bcnst2-pic.d, gas/cris/rd-bcnst2.d,
gas/cris/rd-bcnst2.s: New tests.
This commit is contained in:
parent
f6ce267ce1
commit
00be4d3aff
|
@ -1,3 +1,8 @@
|
|||
2008-11-12 Hans-Peter Nilsson <hp@axis.com>
|
||||
|
||||
* gas/cris/rd-bcnst2-pic.d, gas/cris/rd-bcnst2.d,
|
||||
gas/cris/rd-bcnst2.s: New tests.
|
||||
|
||||
2008-11-06 Adam Nemet <anemet@caviumnetworks.com>
|
||||
|
||||
* gas/mips/mips1-fp.s, testsuite/gas/mips/mips1-fp.d,
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
#objdump: -dr
|
||||
#as: --pic --underscore --em=criself
|
||||
#source: rd-bcnst2.s
|
||||
|
||||
# Catches an error in the relaxation machinery.
|
||||
|
||||
.*: file format elf32.*-cris
|
||||
|
||||
Disassembly of section \.text:
|
||||
|
||||
0+ <\.text>:
|
||||
[ ]+0:[ ]+0ae0[ ]+ba 0xc
|
||||
[ ]+2:[ ]+0f05[ ]+nop
|
||||
[ ]+4:[ ]+6ffd 0000 0000 3f0e[ ]+move \[pc=pc\+0x0\],p0
|
||||
[ ]+6:[ ]+R_CRIS_32_PCREL[ ]+x0x42
|
||||
[ ]+c:[ ]+f770[ ]+bmi 0x4
|
||||
[ ]+e:[ ]+0f05[ ]+nop
|
|
@ -0,0 +1,17 @@
|
|||
#objdump: -dr
|
||||
#as: --underscore --em=criself
|
||||
|
||||
# Consistency check, corresponding to rd-bcnst2-pic.d.
|
||||
|
||||
.*: file format .*-cris
|
||||
|
||||
Disassembly of section \.text:
|
||||
|
||||
0+ <\.text>:
|
||||
[ ]+0:[ ]+08e0[ ]+ba 0xa
|
||||
[ ]+2:[ ]+0f05[ ]+nop
|
||||
[ ]+4:[ ]+3f0d 0000 0000[ ]+jump 0x0
|
||||
[ ]+6:[ ]+R_CRIS_32[ ]+x0x42
|
||||
[ ]+a:[ ]+f970[ ]+bmi 0x4
|
||||
[ ]+c:[ ]+0f05[ ]+nop
|
||||
[ ]+\.\.\.
|
|
@ -0,0 +1,2 @@
|
|||
bmi x0x42
|
||||
nop
|
Loading…
Reference in New Issue