Commit | Line | Data |
---|---|---|
796d6298 TC |
1 | #PROG: objcopy |
2 | #source: out-of-order.s | |
3 | #ld: -T out-of-order.T | |
4 | #objdump: -D | |
2b2ed245 | 5 | #skip: *-*-pe *-wince-* *-*-coff |
796d6298 TC |
6 | #name: Check if disassembler can handle all sections in different order than header |
7 | ||
8 | .*: +file format .*arm.* | |
9 | ||
10 | Disassembly of section \.global: | |
11 | ||
05805feb TC |
12 | .+ <\.global>: |
13 | ... | |
796d6298 TC |
14 | |
15 | Disassembly of section \.func2: | |
16 | ||
05805feb TC |
17 | .+ <\.func2>: |
18 | [^:]+: e0800001 add r0, r0, r1 | |
796d6298 TC |
19 | |
20 | Disassembly of section \.func1: | |
21 | ||
05805feb TC |
22 | .+ <v1>: |
23 | [^:]+: e0800001 add r0, r0, r1 | |
24 | [^:]+: 00000000 andeq r0, r0, r0 | |
796d6298 TC |
25 | |
26 | Disassembly of section \.func3: | |
27 | ||
05805feb TC |
28 | .+ <\.func3>: |
29 | [^:]+: e0800001 add r0, r0, r1 | |
30 | [^:]+: e0800001 add r0, r0, r1 | |
31 | [^:]+: e0800001 add r0, r0, r1 | |
32 | [^:]+: e0800001 add r0, r0, r1 | |
33 | [^:]+: e0800001 add r0, r0, r1 | |
34 | [^:]+: 00000000 andeq r0, r0, r0 | |
796d6298 TC |
35 | |
36 | Disassembly of section \.rodata: | |
37 | ||
05805feb TC |
38 | .+ <\.rodata>: |
39 | [^:]+: 00000000 andeq r0, r0, r0 | |
796d6298 TC |
40 | |
41 | Disassembly of section \.ARM\.attributes: | |
42 | ||
05805feb TC |
43 | .+ <\.ARM\.attributes>: |
44 | [^:]+: .+ | |
45 | [^:]+: .+ | |
46 | [^:]+: .+ | |
47 | [^:]+: .+ | |
48 | [^:]+: .+ | |
796d6298 | 49 |