diff options
author | Nick Clifton <nickc@redhat.com> | 2000-12-09 23:44:17 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2000-12-09 23:44:17 +0000 |
commit | b45556bd4f793e51c45cc24efdd316383ef3c972 (patch) | |
tree | 417d3ab7d90574a1d01179407912fa17b2a16cb8 /ld/testsuite/ld-selective | |
parent | e82b34b7d5713650d012327a1bac3377ee35c8c4 (diff) | |
download | binutils-redhat-b45556bd4f793e51c45cc24efdd316383ef3c972.tar.gz |
Fix v850 test failures
Diffstat (limited to 'ld/testsuite/ld-selective')
-rw-r--r-- | ld/testsuite/ld-selective/selective.exp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ld/testsuite/ld-selective/selective.exp b/ld/testsuite/ld-selective/selective.exp index 07113a2d95..0df21f82a8 100644 --- a/ld/testsuite/ld-selective/selective.exp +++ b/ld/testsuite/ld-selective/selective.exp @@ -41,7 +41,7 @@ set seltests { {selective1 C 1.c {} {} {dropme1 dropme2} {}} {selective2 C 2.c {} {} {foo} {}} {selective3 C 2.c {-u foo} {foo} {{foo 0}} {}} - {selective4 C++ 3.cc {} {start foo__1A foo__1B} {bar__1A} {v850*-*-elf}} + {selective4 C++ 3.cc {} {start foo__1A foo__1B} {bar__1A} {}} {selective5 C++ 4.cc {} {} {foo__1B foo__1A} {}} {selective6 C++ 5.cc {} {} {foo__1B foo__1A dropme1__Fv dropme2__Fv} {*-*-*}} } @@ -90,6 +90,11 @@ foreach testitem $seltests { return } + # V850 targets need libgcc.a + if [istarget v850*-*-elf] { + set objfile "$objfile -L ../gcc -lgcc" + } + if ![ld_simple_link $ld $ldfile "$ldflags [join $ldargs] $objfile"] { fail $testname continue |