From c3c3e495eda917ba2db75dd9238f2efdbed431a1 Mon Sep 17 00:00:00 2001 From: woglinde Date: Sat, 15 Nov 2008 22:47:34 +0100 Subject: uclibc-0.9.30: enable linker option for hashstyle-gnu * uclibc can be compiled with hashstyle-gnu too * add the settings in angstrom-uclibc.inc * add patch ldso_hash_arm.patch because binutils after 2.18 for arm are somehow broken for the hashstyle test in uclibc * prefer version 0.9.30 in angstroem may break avr32 and if we fix it than --- packages/uclibc/uclibc-0.9.30/ldso_hash_arm.patch | 19 +++++++++++++++++++ packages/uclibc/uclibc-0.9.30/uClibc.distro | 1 + 2 files changed, 20 insertions(+) create mode 100644 packages/uclibc/uclibc-0.9.30/ldso_hash_arm.patch (limited to 'packages/uclibc/uclibc-0.9.30') diff --git a/packages/uclibc/uclibc-0.9.30/ldso_hash_arm.patch b/packages/uclibc/uclibc-0.9.30/ldso_hash_arm.patch new file mode 100644 index 0000000000..8a625f21c2 --- /dev/null +++ b/packages/uclibc/uclibc-0.9.30/ldso_hash_arm.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-0.9.30/uClibc.distro b/packages/uclibc/uclibc-0.9.30/uClibc.distro index 7374d0c738..b072b2fd37 100644 --- a/packages/uclibc/uclibc-0.9.30/uClibc.distro +++ b/packages/uclibc/uclibc-0.9.30/uClibc.distro @@ -14,6 +14,7 @@ LDSO_BASE_FILENAME="ld.so" # UCLIBC_STATIC_LDCONFIG is not set LDSO_RUNPATH=y UCLIBC_CTOR_DTOR=y +LDSO_GNU_HASH_SUPPORT=y # HAS_NO_THREADS is not set UCLIBC_HAS_THREADS=y # PTHREADS_DEBUG_SUPPORT is not set -- cgit v1.2.3