From: Alan Modra Date: Mon, 21 Jan 2013 02:38:37 +0000 (+0000) Subject: * ld-size/size.exp (build_tests ): Pass X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e16fc3da2318eba5a25777fa2ce028cb053986fa;p=binutils-gdb.git * ld-size/size.exp (build_tests ): Pass --no-as-needed in cflags. --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index ee98aaa7762..0df22ac2f33 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2013-01-21 Alan Modra + + * ld-size/size.exp (build_tests ): Pass + --no-as-needed in cflags. + 2013-01-19 H.J. Lu * config/default.exp (get_target_emul): Also set HOSTING_SCRT0. diff --git a/ld/testsuite/ld-size/size.exp b/ld/testsuite/ld-size/size.exp index 24269c5f543..a1cbc17b18a 100644 --- a/ld/testsuite/ld-size/size.exp +++ b/ld/testsuite/ld-size/size.exp @@ -77,13 +77,13 @@ set build_tests { "-shared" "-fPIC" {size-7b.c} {} "libsize-7.so"} {"Build size-7" - "tmpdir/libsize-7.so" "" + "-Wl,--no-as-needed tmpdir/libsize-7.so" "" {size-7a.c} {{readelf -rW size-7.rd}} "size-7.exe"} {"Build libsize-8.so" "-shared" "-fPIC" {size-8b.c} {} "libsize-8.so"} {"Build size-8" - "tmpdir/libsize-8.so" "" + "-Wl,--no-as-needed tmpdir/libsize-8.so" "" {size-8a.c} {{readelf -rW size-8.rd}} "size-8.exe"} {"Build libsize-9.so" "-shared" "-fPIC"