]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - gas/testsuite/gas/i386/x86-64-ifunc.d
Merge commit 'upstream/2.20'
[msp430-binutils.git] / gas / testsuite / gas / i386 / x86-64-ifunc.d
diff --git a/gas/testsuite/gas/i386/x86-64-ifunc.d b/gas/testsuite/gas/i386/x86-64-ifunc.d
new file mode 100644 (file)
index 0000000..586c82a
--- /dev/null
@@ -0,0 +1,20 @@
+#source: ifunc.s
+#objdump: -drw
+#name: x86-64 ifunc
+
+.*: +file format .*
+
+Disassembly of section .text:
+
+0+ <foo>:
+[      ]*[a-f0-9]+:    e9 00 00 00 00          jmpq   5 <ifunc>        1: R_X86_64_PLT32       ifunc(\+0xf+c|-0x4)
+
+0+5 <ifunc>:
+[      ]*[a-f0-9]+:    c3                      retq   
+
+0+6 <bar>:
+[      ]*[a-f0-9]+:    eb 00                   jmp    8 <normal>
+
+0+8 <normal>:
+[      ]*[a-f0-9]+:    c3                      retq   
+#pass