summaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>2012-09-10 20:14:47 +0000
committerschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>2012-09-10 20:14:47 +0000
commit5e847dede0786fc0aa5302170abaa0cdccee16f8 (patch)
tree3e32ca27d659fee579fcfeaaf5038370ce54e89b /libgcc
parent89ddaf5f6925032a1150d83fbb4864d413e21c72 (diff)
downloadgcc-5e847dede0786fc0aa5302170abaa0cdccee16f8.tar.gz
PR target/46191
* config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead of libgcc.a. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191160 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog6
-rw-r--r--libgcc/config/t-slibgcc-libgcc2
2 files changed, 7 insertions, 1 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index cc030f2640a..36f11ea07dd 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,9 @@
+2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
+
+ PR target/46191
+ * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
+ of libgcc.a.
+
2012-09-07 Teresa Johnson <tejohnson@google.com>
PR gcov-profile/54487
diff --git a/libgcc/config/t-slibgcc-libgcc b/libgcc/config/t-slibgcc-libgcc
index ec36b2727ae..066822667d9 100644
--- a/libgcc/config/t-slibgcc-libgcc
+++ b/libgcc/config/t-slibgcc-libgcc
@@ -25,7 +25,7 @@ SHLIB_MAKE_SOLINK = \
(echo "/* GNU ld script"; \
echo " Use the shared library, but some functions are only in"; \
echo " the static library. */"; \
- echo "GROUP ( $(SHLIB_SONAME) libgcc.a )" \
+ echo "GROUP ( $(SHLIB_SONAME) -lgcc )" \
) > $(SHLIB_DIR)/$(SHLIB_SOLINK)
SHLIB_INSTALL_SOLINK = \
$(INSTALL_DATA) $(SHLIB_DIR)/$(SHLIB_SOLINK) \