mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-28 22:40:24 +00:00
* gas/arm/wince.s: New test.
* gas/arm/wince.d: New test.
This commit is contained in:
parent
f0927246c4
commit
e486c55d69
@ -1,3 +1,8 @@
|
|||||||
|
2006-08-04 Pedro Alves <pedro_alves@portugalmail.pt>
|
||||||
|
|
||||||
|
* gas/arm/wince.s: New test.
|
||||||
|
* gas/arm/wince.d: New test.
|
||||||
|
|
||||||
2006-08-03 Joseph Myers <joseph@codesourcery.com>
|
2006-08-03 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
* gas/arm/iwmmxt-bad.s: Test invalid register names for wldrw and
|
* gas/arm/iwmmxt-bad.s: Test invalid register names for wldrw and
|
||||||
|
30
gas/testsuite/gas/arm/wince.d
Normal file
30
gas/testsuite/gas/arm/wince.d
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
#objdump: -dr --prefix-addresses --show-raw-insn
|
||||||
|
#name: ARM WinCE basic tests
|
||||||
|
#as: -mcpu=arm7m -EL
|
||||||
|
#source: wince.s
|
||||||
|
#not-skip: *-wince-*
|
||||||
|
|
||||||
|
# Some WinCE specific tests.
|
||||||
|
|
||||||
|
.*: +file format .*arm.*
|
||||||
|
|
||||||
|
Disassembly of section .text:
|
||||||
|
0+000 <global_data> 00000007 andeq r0, r0, r7
|
||||||
|
0: ARM_32 global_data
|
||||||
|
0+004 <global_sym> e1a00000 nop \(mov r0,r0\)
|
||||||
|
0+008 <global_sym\+0x4> e1a00000 nop \(mov r0,r0\)
|
||||||
|
0+000c <global_sym\+0x8> e1a00000 nop \(mov r0,r0\)
|
||||||
|
0+010 <global_sym\+0xc> eafffffb b f+ff8 <global_sym\+0xf+ff4>
|
||||||
|
10: ARM_26D global_sym\+0xf+ffc
|
||||||
|
0+018 <global_sym\+0x14> ebfffffa bl f+ff4 <global_sym\+0xf+ff0>
|
||||||
|
14: ARM_26D global_sym\+0xf+ffc
|
||||||
|
0+01c <global_sym\+0x18> 0afffff9 beq f+ff0 <global_sym\+0xf+fec>
|
||||||
|
18: ARM_26D global_sym\+0xf+ffc
|
||||||
|
0+020 <global_sym\+0x1c> eafffff8 b 0+008 <global_sym\+0x4>
|
||||||
|
0+024 <global_sym\+0x20> ebfffff7 bl 0+008 <global_sym\+0x4>
|
||||||
|
0+028 <global_sym\+0x24> 0afffff6 beq 0+008 <global_sym\+0x4>
|
||||||
|
0+02c <global_sym\+0x28> eafffff5 b 0+008 <global_sym\+0x4>
|
||||||
|
0+030 <global_sym\+0x2c> ebfffff4 bl 0+008 <global_sym\+0x4>
|
||||||
|
0+034 <global_sym\+0x30> e51f0034 ldr r0, \[pc, #-52\] ; 0+008 <global_sym\+0x4>
|
||||||
|
0+038 <global_sym\+0x34> e51f0038 ldr r0, \[pc, #-56\] ; 0+008 <global_sym\+0x4>
|
||||||
|
0+03c <global_sym\+0x38> e51f003c ldr r0, \[pc, #-60\] ; 0+008 <global_sym\+0x4>
|
25
gas/testsuite/gas/arm/wince.s
Normal file
25
gas/testsuite/gas/arm/wince.s
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
.global global_data
|
||||||
|
.text
|
||||||
|
.global global_sym
|
||||||
|
.def global_sym; .scl 2; .type 32; .endef
|
||||||
|
|
||||||
|
global_data:
|
||||||
|
.word global_data+7
|
||||||
|
|
||||||
|
global_sym:
|
||||||
|
def_sym:
|
||||||
|
undef_sym:
|
||||||
|
nop
|
||||||
|
nop
|
||||||
|
nop
|
||||||
|
b global_sym
|
||||||
|
bl global_sym
|
||||||
|
beq global_sym
|
||||||
|
b def_sym
|
||||||
|
bl def_sym
|
||||||
|
beq def_sym
|
||||||
|
b undef_sym
|
||||||
|
bl undef_sym
|
||||||
|
ldr r0, global_sym
|
||||||
|
ldr r0, def_sym
|
||||||
|
ldr r0, undef_sym
|
Loading…
Reference in New Issue
Block a user