2009-07-10 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 10 Jul 2009 19:31:54 +0000 (19:31 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 10 Jul 2009 19:31:54 +0000 (19:31 +0000)
* ld-ifunc/ifunc.exp: Don't chck static non-ifunc-using
executable.

ld/testsuite/ChangeLog
ld/testsuite/ld-ifunc/ifunc.exp

index ce45fdacc28a653216dcb833d41feb06bb4f566e..8071ed64ba43f5fc772ab95cb96ebb46a8b9792e 100644 (file)
@@ -1,3 +1,8 @@
+2009-07-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-ifunc/ifunc.exp: Don't chck static non-ifunc-using
+       executable.
+
 2009-07-10  H.J. Lu  <hongjiu.lu@intel.com>
 
        * ld-ifunc/ifunc-1-local-x86.d: Updated.
index 3320b824a0bff1412180c6aeaba346f4468c6217..d7219f813a93948f3018e4b1a5d912c7400e60c4 100644 (file)
@@ -241,10 +241,11 @@ if {! [check_osabi tmpdir/dynamic_prog {UNIX - Linux}]} {
     fail "Dynamic ifunc-using executable does not have an OS/ABI field of LINUX"
     set fails [expr $fails + 1]
 }
-if {! [check_osabi tmpdir/static_nonifunc_prog {UNIX - System V}]} {
-    fail "Static non-ifunc-using executable does not have an OS/ABI field of System V"
-    set fails [expr $fails + 1]
-}
+# FIXME: This test will fail if libc.a has ifunc functons.
+#if {! [check_osabi tmpdir/static_nonifunc_prog {UNIX - System V}]} {
+#    fail "Static non-ifunc-using executable does not have an OS/ABI field of System V"
+#    set fails [expr $fails + 1]
+#}
 
 # The linked ifunc using executables and the shared library containing
 # ifunc should contain an IFUNC symbol.  The non-ifunc using executable