2009-07-10 H.J. Lu <hongjiu.lu@intel.com>

* ld-ifunc/ifunc.exp: Don't chck static non-ifunc-using
	executable.
This commit is contained in:
H.J. Lu 2009-07-10 19:31:54 +00:00
parent 812f734247
commit 552deff831
2 changed files with 10 additions and 4 deletions

View 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.

View 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