#PROG: objcopy
#ld: -T out-of-order.T
-#objdump: -D
+#objdump: -d
#name: Check if disassembler can handle sections in different order than header
.*: +file format .*aarch64.*
-Disassembly of section \.global:
-
-00000000ffe00000 <\.global>:
- ffe00000: 00000001 \.word 0x00000001
- ffe00004: 00000000 \.word 0x00000000
- ffe00008: 00000001 \.word 0x00000001
- ffe0000c: 00000000 \.word 0x00000000
- ffe00010: 00000001 \.word 0x00000001
- ffe00014: 00000000 \.word 0x00000000
-
Disassembly of section \.func2:
0000000004018280 <\.func2>:
401500c: 8b010000 add x0, x0, x1
4015010: 8b010000 add x0, x0, x1
4015014: 00000000 \.word 0x00000000
-
-Disassembly of section \.rodata:
-
-0000000004015018 <\.rodata>:
- 4015018: 00000004 \.word 0x00000004