aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2005-05-26 22:23:15 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2005-05-26 22:23:15 +0000
commitf93e81d68b3b0fae86a05036f82c52f79d0cc9df (patch)
tree96ec5f75292176b136a36a8aa37a6c47438f74e9 /ld
parentd81ffbc49a47f40e2e16b86daf641eb83a8b9176 (diff)
downloadgdb-f93e81d68b3b0fae86a05036f82c52f79d0cc9df.zip
gdb-f93e81d68b3b0fae86a05036f82c52f79d0cc9df.tar.gz
gdb-f93e81d68b3b0fae86a05036f82c52f79d0cc9df.tar.bz2
* configure.host (HOSTING_LIBS): Add libunwind.a if it exists.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/configure.host2
2 files changed, 5 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 5087441..0c1185c 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2005-05-27 Andreas Schwab <schwab@suse.de>
+
+ * configure.host (HOSTING_LIBS): Add libunwind.a if it exists.
+
2005-05-24 Alan Modra <amodra@bigpond.net.au>
* emultempl/ppc32elf.em (after_allocation): Don't call
diff --git a/ld/configure.host b/ld/configure.host
index cba013e..45540ea 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: