aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/pr19609-1d.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-i386/pr19609-1d.d')
-rw-r--r--ld/testsuite/ld-i386/pr19609-1d.d17
1 files changed, 17 insertions, 0 deletions
diff --git a/ld/testsuite/ld-i386/pr19609-1d.d b/ld/testsuite/ld-i386/pr19609-1d.d
new file mode 100644
index 0000000..4b50f8c
--- /dev/null
+++ b/ld/testsuite/ld-i386/pr19609-1d.d
@@ -0,0 +1,17 @@
+#source: pr19609-1.s
+#as: --32 -mrelax-relocations=yes
+#ld: -E -melf_i386 --no-dynamic-linker
+#objdump: -dw
+
+.*: +file format .*
+
+
+Disassembly of section .text:
+
+[a-f0-9]+ <_start>:
+[ ]*[a-f0-9]+: 81 f8 00 00 00 00 cmp \$0x0,%eax
+[ ]*[a-f0-9]+: 81 f9 00 00 00 00 cmp \$0x0,%ecx
+[ ]*[a-f0-9]+: c7 c0 00 00 00 00 mov \$0x0,%eax
+[ ]*[a-f0-9]+: c7 c1 00 00 00 00 mov \$0x0,%ecx
+[ ]*[a-f0-9]+: f7 c0 00 00 00 00 test \$0x0,%eax
+[ ]*[a-f0-9]+: f7 c1 00 00 00 00 test \$0x0,%ecx