]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - gas/testsuite/gas/i386/ifunc.d
Merge commit 'upstream/2.20'
[msp430-binutils.git] / gas / testsuite / gas / i386 / ifunc.d
diff --git a/gas/testsuite/gas/i386/ifunc.d b/gas/testsuite/gas/i386/ifunc.d
new file mode 100644 (file)
index 0000000..ed933b9
--- /dev/null
@@ -0,0 +1,19 @@
+#objdump: -drw
+#name: i386 ifunc
+
+.*: +file format .*
+
+Disassembly of section .text:
+
+0+ <foo>:
+[      ]*[a-f0-9]+:    e9 fc ff ff ff          jmp    1 <foo\+0x1>     1: R_386_PLT32  ifunc
+
+0+5 <ifunc>:
+[      ]*[a-f0-9]+:    c3                      ret    
+
+0+6 <bar>:
+[      ]*[a-f0-9]+:    eb 00                   jmp    8 <normal>
+
+0+8 <normal>:
+[      ]*[a-f0-9]+:    c3                      ret    
+#pass