aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/load1.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-i386/load1.d')
-rw-r--r--ld/testsuite/ld-i386/load1.d57
1 files changed, 57 insertions, 0 deletions
diff --git a/ld/testsuite/ld-i386/load1.d b/ld/testsuite/ld-i386/load1.d
new file mode 100644
index 0000000..e93531e
--- /dev/null
+++ b/ld/testsuite/ld-i386/load1.d
@@ -0,0 +1,57 @@
+#as: --32
+#ld: -melf_i386
+#objdump: -dw --sym
+
+.*: +file format .*
+
+SYMBOL TABLE:
+#...
+0+8049170 l O .data 0+1 bar
+#...
+0+8049171 g O .data 0+1 foo
+#...
+
+Disassembly of section .text:
+
+0+8048074 <_start>:
+[ ]*[a-f0-9]+: 8d 05 70 91 04 08 lea 0x8049170,%eax
+[ ]*[a-f0-9]+: 81 d0 70 91 04 08 adc \$0x8049170,%eax
+[ ]*[a-f0-9]+: 81 c3 70 91 04 08 add \$0x8049170,%ebx
+[ ]*[a-f0-9]+: 81 e1 70 91 04 08 and \$0x8049170,%ecx
+[ ]*[a-f0-9]+: 81 fa 70 91 04 08 cmp \$0x8049170,%edx
+[ ]*[a-f0-9]+: 81 cf 70 91 04 08 or \$0x8049170,%edi
+[ ]*[a-f0-9]+: 81 de 70 91 04 08 sbb \$0x8049170,%esi
+[ ]*[a-f0-9]+: 81 ed 70 91 04 08 sub \$0x8049170,%ebp
+[ ]*[a-f0-9]+: 81 f4 70 91 04 08 xor \$0x8049170,%esp
+[ ]*[a-f0-9]+: f7 c1 70 91 04 08 test \$0x8049170,%ecx
+[ ]*[a-f0-9]+: 8d 05 70 91 04 08 lea 0x8049170,%eax
+[ ]*[a-f0-9]+: 81 d0 70 91 04 08 adc \$0x8049170,%eax
+[ ]*[a-f0-9]+: 81 c3 70 91 04 08 add \$0x8049170,%ebx
+[ ]*[a-f0-9]+: 81 e1 70 91 04 08 and \$0x8049170,%ecx
+[ ]*[a-f0-9]+: 81 fa 70 91 04 08 cmp \$0x8049170,%edx
+[ ]*[a-f0-9]+: 81 cf 70 91 04 08 or \$0x8049170,%edi
+[ ]*[a-f0-9]+: 81 de 70 91 04 08 sbb \$0x8049170,%esi
+[ ]*[a-f0-9]+: 81 ed 70 91 04 08 sub \$0x8049170,%ebp
+[ ]*[a-f0-9]+: 81 f4 70 91 04 08 xor \$0x8049170,%esp
+[ ]*[a-f0-9]+: f7 c1 70 91 04 08 test \$0x8049170,%ecx
+[ ]*[a-f0-9]+: 8d 05 71 91 04 08 lea 0x8049171,%eax
+[ ]*[a-f0-9]+: 81 d0 71 91 04 08 adc \$0x8049171,%eax
+[ ]*[a-f0-9]+: 81 c3 71 91 04 08 add \$0x8049171,%ebx
+[ ]*[a-f0-9]+: 81 e1 71 91 04 08 and \$0x8049171,%ecx
+[ ]*[a-f0-9]+: 81 fa 71 91 04 08 cmp \$0x8049171,%edx
+[ ]*[a-f0-9]+: 81 cf 71 91 04 08 or \$0x8049171,%edi
+[ ]*[a-f0-9]+: 81 de 71 91 04 08 sbb \$0x8049171,%esi
+[ ]*[a-f0-9]+: 81 ed 71 91 04 08 sub \$0x8049171,%ebp
+[ ]*[a-f0-9]+: 81 f4 71 91 04 08 xor \$0x8049171,%esp
+[ ]*[a-f0-9]+: f7 c1 71 91 04 08 test \$0x8049171,%ecx
+[ ]*[a-f0-9]+: 8d 05 71 91 04 08 lea 0x8049171,%eax
+[ ]*[a-f0-9]+: 81 d0 71 91 04 08 adc \$0x8049171,%eax
+[ ]*[a-f0-9]+: 81 c3 71 91 04 08 add \$0x8049171,%ebx
+[ ]*[a-f0-9]+: 81 e1 71 91 04 08 and \$0x8049171,%ecx
+[ ]*[a-f0-9]+: 81 fa 71 91 04 08 cmp \$0x8049171,%edx
+[ ]*[a-f0-9]+: 81 cf 71 91 04 08 or \$0x8049171,%edi
+[ ]*[a-f0-9]+: 81 de 71 91 04 08 sbb \$0x8049171,%esi
+[ ]*[a-f0-9]+: 81 ed 71 91 04 08 sub \$0x8049171,%ebp
+[ ]*[a-f0-9]+: 81 f4 71 91 04 08 xor \$0x8049171,%esp
+[ ]*[a-f0-9]+: f7 c1 71 91 04 08 test \$0x8049171,%ecx
+#pass