summaryrefslogtreecommitdiff
path: root/libobjc
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2010-12-23 11:26:14 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2010-12-23 11:26:14 +0000
commit6bd88b86b4b1a4d3adc1b51f33a23191dd268d32 (patch)
treeb268dd16e7630d78d085449de3309391bb0531d8 /libobjc
parentb59688ee59b4532d7148d5e30dfd09712e6002a7 (diff)
downloadgcc-6bd88b86b4b1a4d3adc1b51f33a23191dd268d32.tar.gz
* Makefile.in (libobjc$(libsuffix).la): Link with -Wc,-shared-libgcc.
(libobjc_gc$(libsuffix).la): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168203 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc')
-rw-r--r--libobjc/ChangeLog5
-rw-r--r--libobjc/Makefile.in6
2 files changed, 8 insertions, 3 deletions
diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog
index 9922b53f709..d78397e1d68 100644
--- a/libobjc/ChangeLog
+++ b/libobjc/ChangeLog
@@ -1,3 +1,8 @@
+2010-12-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * Makefile.in (libobjc$(libsuffix).la): Link with -Wc,-shared-libgcc.
+ (libobjc_gc$(libsuffix).la): Likewise.
+
2010-12-23 Nicola Pero <nicola.pero@meta-innovation.com>
* sendmsg.c (class_addMethod): Return NO if the method already
diff --git a/libobjc/Makefile.in b/libobjc/Makefile.in
index c519542e072..b33c989e6d2 100644
--- a/libobjc/Makefile.in
+++ b/libobjc/Makefile.in
@@ -1,6 +1,6 @@
# Makefile for GNU Objective C runtime library.
# Copyright 1993, 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004,
-# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
#This file is part of GCC.
@@ -325,13 +325,13 @@ LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
libobjc$(libsuffix).la: $(OBJS)
$(LIBTOOL_LINK) $(CC) -o $@ $(OBJS) \
- -rpath $(toolexeclibdir) \
+ -Wc,-shared-libgcc -rpath $(toolexeclibdir) \
-version-info $(LIBOBJC_VERSION) $(extra_ldflags_libobjc) \
$(LTLDFLAGS)
libobjc_gc$(libsuffix).la: $(OBJS_GC)
$(LIBTOOL_LINK) $(CC) -o $@ $(OBJS_GC) $(OBJC_BOEHM_GC_LIBS) \
- -rpath $(toolexeclibdir) \
+ -Wc,-shared-libgcc -rpath $(toolexeclibdir) \
-version-info $(LIBOBJC_GC_VERSION) $(extra_ldflags_libobjc) \
$(LTLDFLAGS)