aarch64: override default elf .set handling in gas
[deliverable/binutils-gdb.git] / gas / testsuite / gas / xgate / insns-dwarf2.d
CommitLineData
f6c1a2d5
NC
1#objdump: -S
2#as: -gdwarf2
3#name: Dwarf2 test on insns.s
4#source: insns.s
5
6# Test handling of basic instructions.
7
8.*: +file format elf32\-xgate
9
10Disassembly of section .text:
11
120+0000 <_start>:
13
14 .globl _start
15 .sect .text
16
17_start:
18 ldw R2, #block\+1024
19 0: f2 00 ldl R2, #0x00
20 2: fa 04 ldh R2, #0x04 Abs\* 0x400 <block_end>
21 ldw R3, #block
22 4: f3 00 ldl R3, #0x00
23 6: fb 00 ldh R3, #0x00 Abs\* 0x0 <_start>
24 ldw R1, #1
25 8: f1 01 ldl R1, #0x01
26 a: f9 00 ldh R1, #0x00 Abs\* 0x1 <_start\+0x1>
27
280+000c <Loop>:
29Loop:
30 bra test
31 c: 3c 04 bra \*10 Abs\* 0x16 <test>
32 nop
33 e: 01 00 nop
34 bne Loop
35 10: 25 fd bne \*-4 Abs\* 0xc <Loop>
36
370+0012 <Stop>:
38 12: cd 03 subh R5, #0x03
39Stop:
40
41 .byte 0xcd
42 .byte 3
43 bra _start
44 14: 3f f5 bra \*-20 Abs\* 0x0 <_start>
45
460+0016 <test>:
47
48test:
49 ldw R5, #2
50 16: f5 02 ldl R5, #0x02
51 18: fd 00 ldh R5, #0x00 Abs\* 0x2 <_start\+0x2>
52 bra test2
53 1a: 3c 01 bra \*4 Abs\* 0x1e <test2>
54 rts
55 1c: 02 00 rts
56
570+001e <test2>:
58
59value = 23
60
61 .globl test2
62test2:
63 ldw R3, #value
64 1e: f3 17 ldl R3, #0x17
65 20: fb 00 ldh R3, #0x00 Abs\* 0x17 <test\+0x1>
66 stw R4, \(R3, #0\)
67 22: 5c 60 stw R4, \(R3, #0x0\)
68 ldw R4, #24\+_start\-44
69 24: f4 ec ldl R4, #0xec
70 26: fc ff ldh R4, #0xff Abs\* 0xffec <block_end\+0xfbec>
71 bra Stop
72 28: 3f f4 bra \*-22 Abs\* 0x12 <Stop>
73
740+002a <L1>:
75L1:
76 ldw R1, test2
77 2a: f1 1e ldl R1, #0x1e
78 2c: f9 00 ldh R1, #0x00 Abs\* 0x1e <test2>
79 ldw R2, test2
80 2e: f2 1e ldl R2, #0x1e
81 30: fa 00 ldh R2, #0x00 Abs\* 0x1e <test2>
82 rts
83 32: 02 00 rts
84
This page took 0.364535 seconds and 4 git commands to generate.