From: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
To: crossgcc@sourceware.org
Cc: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>,
"Yann E . MORIN" <yann.morin.1998@free.fr>
Subject: [PATCH] libc/uClibc: Propagate linker hash-style
Date: Wed, 25 Mar 2015 22:52:00 -0000 [thread overview]
Message-ID: <1427323937-10392-1-git-send-email-rep.dot.nop@gmail.com> (raw)
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
reply other threads:[~2015-03-25 22:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1427323937-10392-1-git-send-email-rep.dot.nop@gmail.com \
--to=rep.dot.nop@gmail.com \
--cc=crossgcc@sourceware.org \
--cc=yann.morin.1998@free.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).