public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] libc/uClibc: Propagate linker hash-style
@ 2015-03-25 22:52 Bernhard Reutner-Fischer
  0 siblings, 0 replies; only message in thread
From: Bernhard Reutner-Fischer @ 2015-03-25 22:52 UTC (permalink / raw)
  To: crossgcc; +Cc: Bernhard Reutner-Fischer, Yann E . MORIN

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-03-25 22:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-25 22:52 [PATCH] libc/uClibc: Propagate linker hash-style Bernhard Reutner-Fischer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).