* ld-size/size.exp (build_tests <size-7, size-8>): Pass

--no-as-needed in cflags.
This commit is contained in:
Alan Modra 2013-01-21 02:38:37 +00:00
parent 0a2c562b63
commit e16fc3da23
2 changed files with 7 additions and 2 deletions

View File

@ -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.

View File

@ -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"