aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/call1c.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-x86-64/call1c.d')
-rw-r--r--ld/testsuite/ld-x86-64/call1c.d14
1 files changed, 14 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/call1c.d b/ld/testsuite/ld-x86-64/call1c.d
new file mode 100644
index 0000000..d058fc7
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/call1c.d
@@ -0,0 +1,14 @@
+#source: call1.s
+#as: --64
+#ld: -melf_x86_64 -z call-nop=prefix-nop
+#objdump: -dw
+
+.*: +file format .*
+
+
+Disassembly of section .text:
+
+#...
+[ ]*[a-f0-9]+: 90 nop
+[ ]*[a-f0-9]+: e8 ([0-9a-f]{2} ){4} * callq +[a-f0-9]+ <foo>
+#pass