--no-as-needed in cflags.
+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.
"-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"