diff options
author | Alan Modra <amodra@gmail.com> | 2013-01-21 02:38:37 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2013-01-21 02:38:37 +0000 |
commit | e16fc3da2318eba5a25777fa2ce028cb053986fa (patch) | |
tree | 680bc366167b59db733a79f3be8ff6f3968ee449 /ld/testsuite | |
parent | 0a2c562b63cbc7040b7226eeb3d35357f27d4261 (diff) | |
download | gdb-e16fc3da2318eba5a25777fa2ce028cb053986fa.zip gdb-e16fc3da2318eba5a25777fa2ce028cb053986fa.tar.gz gdb-e16fc3da2318eba5a25777fa2ce028cb053986fa.tar.bz2 |
* ld-size/size.exp (build_tests <size-7, size-8>): Pass
--no-as-needed in cflags.
Diffstat (limited to 'ld/testsuite')
-rw-r--r-- | ld/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | ld/testsuite/ld-size/size.exp | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index ee98aaa..0df22ac 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2013-01-21 Alan Modra <amodra@gmail.com> + + * ld-size/size.exp (build_tests <size-7, size-8>): Pass + --no-as-needed in cflags. + 2013-01-19 H.J. Lu <hongjiu.lu@intel.com> * 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 24269c5..a1cbc17 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" |