2 #source: out-of-order.s
5 #name: Check if disassembler can handle all sections in different order than header
7 .*: +file format .*arm.*
9 Disassembly of section \.global:
12 ffe00000: 00000001 andeq r0, r0, r1
13 ffe00004: 00000001 andeq r0, r0, r1
14 ffe00008: 00000001 andeq r0, r0, r1
16 Disassembly of section \.func2:
19 4018280: e0800001 add r0, r0, r1
21 Disassembly of section \.func1:
24 4005000: e0800001 add r0, r0, r1
25 4005004: 00000000 andeq r0, r0, r0
27 Disassembly of section \.func3:
30 4015000: e0800001 add r0, r0, r1
31 4015004: e0800001 add r0, r0, r1
32 4015008: e0800001 add r0, r0, r1
33 401500c: e0800001 add r0, r0, r1
34 4015010: e0800001 add r0, r0, r1
35 4015014: 00000000 andeq r0, r0, r0
37 Disassembly of section \.rodata:
40 4015018: 00000004 andeq r0, r0, r4
42 Disassembly of section \.ARM\.attributes:
44 00000000 <\.ARM\.attributes>:
45 0: 00001141 andeq r1, r0, r1, asr #2
46 4: 61656100 cmnvs r5, r0, lsl #2
47 8: 01006962 tsteq r0, r2, ror #18
48 c: 00000007 andeq r0, r0, r7
49 10: Address 0x0000000000000010 is out of bounds.