summaryrefslogtreecommitdiff
path: root/binutils/testsuite/binutils-all/aarch64/out-of-order-all.d
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/testsuite/binutils-all/aarch64/out-of-order-all.d')
-rw-r--r--binutils/testsuite/binutils-all/aarch64/out-of-order-all.d43
1 files changed, 43 insertions, 0 deletions
diff --git a/binutils/testsuite/binutils-all/aarch64/out-of-order-all.d b/binutils/testsuite/binutils-all/aarch64/out-of-order-all.d
new file mode 100644
index 00000000000..3020deff9c9
--- /dev/null
+++ b/binutils/testsuite/binutils-all/aarch64/out-of-order-all.d
@@ -0,0 +1,43 @@
+#PROG: objcopy
+#source: out-of-order.s
+#ld: -T out-of-order.T
+#objdump: -D
+#name: Check if disassembler can handle all sections in different order than header
+
+.*: +file format .*aarch64.*
+
+Disassembly of section \.global:
+
+00000000ffe00000 <\.global>:
+ ffe00000: 00000001 \.inst 0x00000001 ; undefined
+ ffe00004: 00000000 \.inst 0x00000000 ; undefined
+ ffe00008: 00000001 \.inst 0x00000001 ; undefined
+ ffe0000c: 00000000 \.inst 0x00000000 ; undefined
+ ffe00010: 00000001 \.inst 0x00000001 ; undefined
+ ffe00014: 00000000 \.inst 0x00000000 ; undefined
+
+Disassembly of section \.func2:
+
+0000000004018280 <\.func2>:
+ 4018280: 8b010000 add x0, x0, x1
+
+Disassembly of section \.func1:
+
+0000000004005000 <v1>:
+ 4005000: 8b010000 add x0, x0, x1
+ 4005004: 00000000 \.inst 0x00000000 ; undefined
+
+Disassembly of section \.func3:
+
+0000000004015000 <\.func3>:
+ 4015000: 8b010000 add x0, x0, x1
+ 4015004: 8b010000 add x0, x0, x1
+ 4015008: 8b010000 add x0, x0, x1
+ 401500c: 8b010000 add x0, x0, x1
+ 4015010: 8b010000 add x0, x0, x1
+ 4015014: 00000000 \.inst 0x00000000 ; undefined
+
+Disassembly of section \.rodata:
+
+0000000004015018 <\.rodata>:
+ 4015018: 00000004 \.inst 0x00000004 ; undefined