* [PATCH] LD testsuite ld-bootstrap/bootstrap.exp
@ 2014-05-04 20:59 Andreas Tobler
2014-05-16 14:51 ` Nicholas Clifton
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Tobler @ 2014-05-04 20:59 UTC (permalink / raw)
To: binutils
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] LD testsuite ld-bootstrap/bootstrap.exp
2014-05-04 20:59 [PATCH] LD testsuite ld-bootstrap/bootstrap.exp Andreas Tobler
@ 2014-05-16 14:51 ` Nicholas Clifton
0 siblings, 0 replies; 2+ messages in thread
From: Nicholas Clifton @ 2014-05-16 14:51 UTC (permalink / raw)
To: Andreas Tobler, binutils
Hi Andreas,
> this patch excludes *-*-freebsd* from the targets which have to link
> against -ldl, not needed.
> 2014-05-04 Andreas Tobler <andreast@fgznet.ch>
>
> * ld-bootstrap/bootstrap.exp: Do not add -ldl to the extralibs on
> *-*-freebsd*.
Approved - please apply.
Cheers
Nick
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-05-16 14:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-04 20:59 [PATCH] LD testsuite ld-bootstrap/bootstrap.exp Andreas Tobler
2014-05-16 14:51 ` Nicholas Clifton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).