diff options
| author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2009-03-25 19:33:56 +0000 |
|---|---|---|
| committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2009-03-25 19:33:56 +0000 |
| commit | e13f0a5082593b037aeb3e7c29b9773d83804fd0 (patch) | |
| tree | ca0b9d49bad1c1b51563532d72af7e851c628983 | |
| parent | 6238304c324b26949f383518f036d6029efbb8ec (diff) | |
| download | uClibc-alpine-e13f0a5082593b037aeb3e7c29b9773d83804fd0.tar.bz2 uClibc-alpine-e13f0a5082593b037aeb3e7c29b9773d83804fd0.tar.xz | |
Merged revisions 25821 via svnmerge from
svn+ssh://aldot@svn.uclibc.org/svn/trunk/uClibc
........
r25821 | aldot | 2009-03-25 20:27:56 +0100 (Wed, 25 Mar 2009) | 2 lines
- do not pass -Wl with -shared in LDFLAGS_NOSTRIP (Peter S. Mazinger)
........
| -rw-r--r-- | Rules.mak | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -444,7 +444,7 @@ ifeq ($(TARGET_ARCH),frv) # -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 @@ -550,7 +550,7 @@ ifneq ($(HAVE_SHARED),y) CFLAGS += -DSTATIC endif -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) |
