[PATCH]: A patch for ld/testsuite

Geoff Keating geoffk@cygnus.com
Sat Feb 26 08:53:00 GMT 2000


> Date: 25 Feb 2000 22:33:09 -0500
> From: Ian Lance Taylor <ian@zembu.com>
> CC: binutils@sourceware.cygnus.com

>    Sun Oct 10 10:02:51 1999  H.J. Lu  (hjl@gnu.org)
> 
> 	   * lib/ld-lib.exp (default_ld_link): Added "$LIBS" to libs.
> 
> This is OK.
> 
> Geoff, this is only used when testing a native configuration.  That is
> the only time it makes sense to use HOSTING_LIBS.

It seems to be used in other places too.  There are occurrences of
'ld-link' in these files, as well as bootstrap.exp:

ld-cdtest/cdtest.exp:if ![ld_link $ld tmpdir/cdtest {tmpdir/cdtest-foo.o tmpdir/cdtest-bar.o tmpdir/cdtest-main.o}] {
ld-cdtest/cdtest.exp:    if ![ld_link $ld tmpdir/cdtest tmpdir/cdtest.o] {
ld-elfvers/vers.exp:    if {![ld_link $ld $tmpdir/$execname "$tmpdir/$execname.o $other_lib $script_arg"]}     {
ld-elfvers/vers.exp:    if {![ld_link $ld $tmpdir/$execname "$flags $tmpdir/$execname.o $solibname_lib"]}     {
ld-shared/shared.exp:    if ![ld_link $ld $tmpdir/$progname "-rpath $rpath $tmpdir/$main $tmpdir/$progname.so"] {

Are these all native-only tests?  I'm pretty sure the versioning tests
also run on a cross.

-- 
- Geoffrey Keating <geoffk@cygnus.com>


More information about the Binutils mailing list