summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/protected2-l1om.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-x86-64/protected2-l1om.d')
-rw-r--r--ld/testsuite/ld-x86-64/protected2-l1om.d18
1 files changed, 18 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/protected2-l1om.d b/ld/testsuite/ld-x86-64/protected2-l1om.d
new file mode 100644
index 0000000..9142f8e
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/protected2-l1om.d
@@ -0,0 +1,18 @@
+#source: protected2.s
+#as: --64 -march=l1om
+#ld: -shared -melf_l1om
+#objdump: -drw --insn-width=7
+#target: x86_64-*-linux*
+
+.*: +file format .*
+
+
+Disassembly of section .text:
+
+0+[a-f0-9]+ <foo>:
+[ ]*[a-f0-9]+: c3 retq
+
+0+[a-f0-9]+ <bar>:
+[ ]*[a-f0-9]+: e8 fa ff ff ff callq [a-f0-9]+ <foo>
+[ ]*[a-f0-9]+: c3 retq
+#pass