diff options
-rw-r--r-- | libgcc/ChangeLog | 6 | ||||
-rw-r--r-- | libgcc/config/t-slibgcc-libgcc | 2 |
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) \ |