Don't link FreeBSD tests with -ldl.
authorAndreas Tobler <andreast@fgznet.ch>
Mon, 19 May 2014 06:49:55 +0000 (08:49 +0200)
committerAndreas Tobler <andreast@fgznet.ch>
Mon, 19 May 2014 06:49:55 +0000 (08:49 +0200)
commitfb2c6e43b8699da2057e9e33fda09007f112393a
tree1611dadf041c84e5f59a95b0c1aee7e80efc33f5
parentf0d7b6ded54d09fa53b2cb54486489e6ccb34614
Don't link FreeBSD tests with -ldl.

    * ld-elf/shared.exp: Introduce the extralibs variable to control
    the libraries to be linked. Don't link -ldl on *-*-freebsd*.

    * ld-bootstrap/bootstrap.exp: Do not add -ldl to the extralibs on
    *-*-freebsd*.
ld/testsuite/ChangeLog
ld/testsuite/ld-bootstrap/bootstrap.exp
ld/testsuite/ld-elf/shared.exp