This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] libc/uClibc: Propagate linker hash-style


Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
---
 scripts/build/libc/uClibc.sh |   13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/scripts/build/libc/uClibc.sh b/scripts/build/libc/uClibc.sh
index f0522ab..4f35f95 100644
--- a/scripts/build/libc/uClibc.sh
+++ b/scripts/build/libc/uClibc.sh
@@ -265,6 +265,19 @@ mungeuClibcConfig() {
 		s/.*(DOSTRIP).*/# \\1 is not set/
 		ENDSED
 
+    case "${CT_CC_GCC_LNK_HASH_STYLE}" in
+        ""|"susv")
+                cat <<-ENDSED
+		s/.*(LDSO_GNU_HASH_SUPPORT).*/# \\1 is not set/
+		ENDSED
+        ;;
+        *)
+                cat <<-ENDSED
+		s/.*(LDSO_GNU_HASH_SUPPORT).*/\\1=y/
+		ENDSED
+        ;;
+    esac
+
     # Ah. We may one day need architecture-specific handler here...
     case "${CT_ARCH}" in
         arm)
-- 
1.7.10.4


--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]