From: Andreas Schwab Date: Thu, 26 May 2005 22:23:15 +0000 (+0000) Subject: * configure.host (HOSTING_LIBS): Add libunwind.a if it exists. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f93e81d68b3b0fae86a05036f82c52f79d0cc9df;p=binutils-gdb.git * configure.host (HOSTING_LIBS): Add libunwind.a if it exists. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 5087441b76b..0c1185c03ee 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2005-05-27 Andreas Schwab + + * configure.host (HOSTING_LIBS): Add libunwind.a if it exists. + 2005-05-24 Alan Modra * emultempl/ppc32elf.em (after_allocation): Don't call diff --git a/ld/configure.host b/ld/configure.host index cba013e6b24..45540ea436e 100644 --- a/ld/configure.host +++ b/ld/configure.host @@ -10,7 +10,7 @@ HDEFINES= HOSTING_CRT0=/lib/crt0.o -HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ]; then libgcc=../gcc/libgcc.a; else libgcc=\`${CC} -print-libgcc-file-name\`; fi; if [ -f ../gcc/libgcc_eh.a ]; then libgcc="$libgcc ../gcc/libgcc_eh.a"; else libgcc_eh=\`${CC} -print-file-name=libgcc_eh.a\`; if [ x"$libgcc_eh" != xlibgcc_eh.a ]; then libgcc="$libgcc $libgcc_eh"; fi; fi; echo --start-group $libgcc -lc --end-group`' +HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ]; then libgcc=../gcc/libgcc.a; else libgcc=\`${CC} -print-libgcc-file-name\`; fi; if [ -f ../gcc/libgcc_eh.a ]; then libgcc="$libgcc ../gcc/libgcc_eh.a"; else libgcc_eh=\`${CC} -print-file-name=libgcc_eh.a\`; if [ x"$libgcc_eh" != xlibgcc_eh.a ]; then libgcc="$libgcc $libgcc_eh"; fi; fi; if [ -f ../gcc/libunwind.a ]; then libgcc="$libgcc ../gcc/libunwind.a"; else libunwind=\`${CC} -print-file-name=libunwind.a\`; if [ x"$libunwind" != xlibunwind.a ]; then libgcc="$libgcc $libunwind"; fi; fi; echo --start-group $libgcc -lc --end-group`' # # Generic configurations: