aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2009-07-10 19:31:54 +0000
committerH.J. Lu <hjl.tools@gmail.com>2009-07-10 19:31:54 +0000
commit552deff83171bdf238eacd1cc2798ca8bc849093 (patch)
tree3545e2f3bf93b7cd46232c5487d06968f36c132d /ld
parent812f73424775824b59fe27c6e87f183c72571c80 (diff)
downloadfsf-binutils-gdb-552deff83171bdf238eacd1cc2798ca8bc849093.zip
fsf-binutils-gdb-552deff83171bdf238eacd1cc2798ca8bc849093.tar.gz
fsf-binutils-gdb-552deff83171bdf238eacd1cc2798ca8bc849093.tar.bz2
2009-07-10 H.J. Lu <hongjiu.lu@intel.com>
* ld-ifunc/ifunc.exp: Don't chck static non-ifunc-using executable.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog5
-rw-r--r--ld/testsuite/ld-ifunc/ifunc.exp9
2 files changed, 10 insertions, 4 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index ce45fda..8071ed6 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,5 +1,10 @@
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.
* ld-ifunc/ifunc-1-x86.d: Likewise.
* ld-ifunc/ifunc-3a-x86.d: Likewise.
diff --git a/ld/testsuite/ld-ifunc/ifunc.exp b/ld/testsuite/ld-ifunc/ifunc.exp
index 3320b82..d7219f8 100644
--- a/ld/testsuite/ld-ifunc/ifunc.exp
+++ b/ld/testsuite/ld-ifunc/ifunc.exp
@@ -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