From: H.J. Lu Date: Fri, 10 Jul 2009 19:31:54 +0000 (+0000) Subject: 2009-07-10 H.J. Lu X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=552deff83171bdf238eacd1cc2798ca8bc849093;p=binutils-gdb.git 2009-07-10 H.J. Lu * ld-ifunc/ifunc.exp: Don't chck static non-ifunc-using executable. --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index ce45fdacc28..8071ed64ba4 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2009-07-10 H.J. Lu + + * ld-ifunc/ifunc.exp: Don't chck static non-ifunc-using + executable. + 2009-07-10 H.J. Lu * ld-ifunc/ifunc-1-local-x86.d: Updated. diff --git a/ld/testsuite/ld-ifunc/ifunc.exp b/ld/testsuite/ld-ifunc/ifunc.exp index 3320b824a0b..d7219f813a9 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