mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
ifunc.exp: Always build static_nonifunc_prog
Since static_nonifunc_prog isn't linked against libc.a, we can always build it. * testsuite/ld-ifunc/ifunc.exp: Always build static_nonifunc_prog.
This commit is contained in:
parent
36a900f483
commit
d0042c6ed3
@ -1,3 +1,7 @@
|
||||
2018-08-02 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* testsuite/ld-ifunc/ifunc.exp: Always build static_nonifunc_prog.
|
||||
|
||||
2018-08-02 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR binutils/23460
|
||||
|
@ -231,10 +231,10 @@ if ![string match "" $STATIC_LDFLAGS] {
|
||||
fail "Could not link a static executable"
|
||||
set fails [expr $fails + 1]
|
||||
}
|
||||
if ![ld_link $ld "tmpdir/static_nonifunc_prog" "-static tmpdir/empty.o"] {
|
||||
fail "Could not link a non-ifunc using static executable"
|
||||
set fails [expr $fails + 1]
|
||||
}
|
||||
}
|
||||
if ![ld_link $ld "tmpdir/static_nonifunc_prog" "-static tmpdir/empty.o"] {
|
||||
fail "Could not link a non-ifunc using static executable"
|
||||
set fails [expr $fails + 1]
|
||||
}
|
||||
if ![ld_link $CC "tmpdir/test-1" "-Wl,--no-as-needed,-rpath=./tmpdir tmpdir/test-1.o tmpdir/libshared_ifunc.so"] {
|
||||
fail "Could not link test-1"
|
||||
|
Loading…
Reference in New Issue
Block a user