svn commit: [25820] branches/uClibc_0_9_30
aldot at uclibc.org
aldot at uclibc.org
Wed Mar 25 19:26:54 UTC 2009
Author: aldot
Date: 2009-03-25 19:26:54 +0000 (Wed, 25 Mar 2009)
New Revision: 25820
Log:
- do not pass -Wl with -shared in LDFLAGS_NOSTRIP (Peter S. Mazinger)
Modified:
branches/uClibc_0_9_30/Rules.mak
Changeset:
Modified: branches/uClibc_0_9_30/Rules.mak
===================================================================
--- branches/uClibc_0_9_30/Rules.mak 2009-03-25 15:54:46 UTC (rev 25819)
+++ branches/uClibc_0_9_30/Rules.mak 2009-03-25 19:26:54 UTC (rev 25820)
@@ -393,7 +393,7 @@
# -shared by itself would get us global function descriptors
# and calls through PLTs, dynamic resolution of symbols, etc,
# which would break as well, but -Bsymbolic comes to the rescue.
- export LDPIEFLAG:=-Wl,-shared -Wl,-Bsymbolic
+ export LDPIEFLAG:=-shared -Wl,-Bsymbolic
UCLIBC_LDSO=ld.so.1
endif
@@ -520,7 +520,7 @@
CFLAGS += $(call check_gcc,-std=gnu99,)
-LDFLAGS_NOSTRIP:=$(CPU_LDFLAGS-y) -Wl,-shared \
+LDFLAGS_NOSTRIP:=$(CPU_LDFLAGS-y) -shared \
-Wl,--warn-common -Wl,--warn-once -Wl,-z,combreloc
# binutils-2.16.1 warns about ignored sections, 2.16.91.0.3 and newer are ok
#LDFLAGS_NOSTRIP+=$(call check_ld,--gc-sections)
More information about the uClibc-cvs
mailing list