[oe-commits] Khem Raj : uclibc-svn: Port hash_style patch from 0.9.30

GIT User account git at amethyst.openembedded.net
Sat Nov 22 02:23:14 UTC 2008


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 7a8bd365fb488ff067beacbbb4e6fe96ef45f079
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=7a8bd365fb488ff067beacbbb4e6fe96ef45f079

Author: Khem Raj <raj.khem at gmail.com>
Date:   Fri Nov 21 18:21:55 2008 -0800

uclibc-svn: Port hash_style patch from 0.9.30

---

 packages/uclibc/uclibc-svn/ldso_hash.patch |   19 +++++++++++++++++++
 packages/uclibc/uclibc_svn.bb              |    3 +++
 2 files changed, 22 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 0000000..8a625f2
--- /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
diff --git a/packages/uclibc/uclibc_svn.bb b/packages/uclibc/uclibc_svn.bb
index f2417f0..de6116a 100644
--- a/packages/uclibc/uclibc_svn.bb
+++ b/packages/uclibc/uclibc_svn.bb
@@ -34,5 +34,8 @@ SRC_URI += "svn://uclibc.org/trunk;module=uClibc \
 	file://linuxthreads-changes.patch;patch=1 \
 	file://uclibc_enable_log2_test.patch;patch=1 \
 	"
+SRC_URI_append_arm = " file://ldso_hash.patch;patch=1 "
+SRC_URI_append_armeb = " file://ldso_hash.patch;patch=1 "
+SRC_URI_append_avr32 = " file://ldso_hash_arm.patch;patch=1 "
 
 S = "${WORKDIR}/uClibc"





More information about the Openembedded-commits mailing list