]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - ld/testsuite/ld-x86-64/protected2.d
Imported binutils-2.20
[msp430-binutils.git] / ld / testsuite / ld-x86-64 / protected2.d
diff --git a/ld/testsuite/ld-x86-64/protected2.d b/ld/testsuite/ld-x86-64/protected2.d
new file mode 100644 (file)
index 0000000..2e91b17
--- /dev/null
@@ -0,0 +1,16 @@
+#as: --64
+#ld: -shared -melf_x86_64
+#objdump: -drw
+
+.*: +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