aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/pr19609-1h.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-x86-64/pr19609-1h.d')
-rw-r--r--ld/testsuite/ld-x86-64/pr19609-1h.d23
1 files changed, 23 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/pr19609-1h.d b/ld/testsuite/ld-x86-64/pr19609-1h.d
new file mode 100644
index 0000000..5675076
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/pr19609-1h.d
@@ -0,0 +1,23 @@
+#source: pr19609-1.s
+#as: --x32 -mrelax-relocations=yes
+#ld: -melf32_x86_64 --no-relax
+#objdump: -dw
+
+.*: +file format .*
+
+
+Disassembly of section .text:
+
+[a-f0-9]+ <_start>:
+[ ]*[a-f0-9]+: 48 81 f8 00 00 00 00 cmp \$0x0,%rax
+[ ]*[a-f0-9]+: 81 f9 00 00 00 00 cmp \$0x0,%ecx
+[ ]*[a-f0-9]+: 49 81 fb 00 00 00 00 cmp \$0x0,%r11
+[ ]*[a-f0-9]+: 41 81 fc 00 00 00 00 cmp \$0x0,%r12d
+[ ]*[a-f0-9]+: 40 c7 c0 00 00 00 00 rex mov \$0x0,%eax
+[ ]*[a-f0-9]+: c7 c1 00 00 00 00 mov \$0x0,%ecx
+[ ]*[a-f0-9]+: 41 c7 c3 00 00 00 00 mov \$0x0,%r11d
+[ ]*[a-f0-9]+: 41 c7 c4 00 00 00 00 mov \$0x0,%r12d
+[ ]*[a-f0-9]+: 48 f7 c0 00 00 00 00 test \$0x0,%rax
+[ ]*[a-f0-9]+: f7 c1 00 00 00 00 test \$0x0,%ecx
+[ ]*[a-f0-9]+: 49 f7 c3 00 00 00 00 test \$0x0,%r11
+[ ]*[a-f0-9]+: 41 f7 c4 00 00 00 00 test \$0x0,%r12d