summaryrefslogtreecommitdiff
path: root/packages/uclibc/uclibc-svn
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2008-11-21 18:21:55 -0800
committerKhem Raj <raj.khem@gmail.com>2008-11-21 18:21:55 -0800
commit7a8bd365fb488ff067beacbbb4e6fe96ef45f079 (patch)
tree1e77ae549f730e88b71450a20d1d63766fa88b62 /packages/uclibc/uclibc-svn
parent1abffec73a291a4f32bb81089237c6db13a8abff (diff)
uclibc-svn: Port hash_style patch from 0.9.30
Diffstat (limited to 'packages/uclibc/uclibc-svn')
-rw-r--r--packages/uclibc/uclibc-svn/ldso_hash.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/uclibc/uclibc-svn/ldso_hash.patch b/packages/uclibc/uclibc-svn/ldso_hash.patch
new file mode 100644
index 0000000000..8a625f21c2
--- /dev/null
+++ b/packages/uclibc/uclibc-svn/ldso_hash.patch
@@ -0,0 +1,19 @@
+Index: uClibc-0.9.30/Rules.mak
+===================================================================
+--- uClibc-0.9.30.orig/Rules.mak 2008-11-15 16:35:00.713664783 +0100
++++ uClibc-0.9.30/Rules.mak 2008-11-15 16:36:32.776988120 +0100
+@@ -519,13 +519,7 @@
+ endif
+
+ ifeq ($(LDSO_GNU_HASH_SUPPORT),y)
+-# Be sure that binutils support it
+-LDFLAGS_GNUHASH:=$(call check_ld,--hash-style=gnu)
+-ifeq ($(LDFLAGS_GNUHASH),)
+-$(error Your binutils don't support --hash-style option, while you want to use it)
+-else
+-LDFLAGS_NOSTRIP += -Wl,$(LDFLAGS_GNUHASH)
+-endif
++LDFLAGS_NOSTRIP += -Wl,--hash-style=gnu
+ endif
+
+ LDFLAGS:=$(LDFLAGS_NOSTRIP) -Wl,-z,defs