[PATCH] LD testsuite ld-bootstrap/bootstrap.exp
Andreas Tobler
andreast-list@fgznet.ch
Sun May 4 20:59:00 GMT 2014
Hello all,
this patch excludes *-*-freebsd* from the targets which have to link
against -ldl, not needed.
Ok?
Thanks,
Andreas
2014-05-04 Andreas Tobler <andreast@fgznet.ch>
* ld-bootstrap/bootstrap.exp: Do not add -ldl to the extralibs on
*-*-freebsd*.
diff --git a/ld/testsuite/ld-bootstrap/bootstrap.exp
b/ld/testsuite/ld-bootstrap
index 27eb5d0..bbd4fd8 100644
--- a/ld/testsuite/ld-bootstrap/bootstrap.exp
+++ b/ld/testsuite/ld-bootstrap/bootstrap.exp
@@ -122,7 +122,9 @@ foreach flags $test_flags {
# Plugin support requires linking with libdl.
if { $plugins == "yes" } {
- set extralibs "$extralibs -ldl"
+ if { ![istarget "*-*-freebsd*"]} {
+ set extralibs "$extralibs -ldl"
+ }
}
# On Irix 5, linking with --static only works if all the files are
More information about the Binutils
mailing list