From: Vineet Gupta <Vineet.Gupta1@synopsys.com>
To: gcc-patches@gcc.gnu.org
Cc: Vineet Gupta <Vineet.Gupta1@synopsys.com>,
linux-snps-arc@lists.infradead.org, andrew.burgess@embecosm.com,
Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
Subject: [PATCH] [ARC] Allow more ABIs in GLIBC_DYNAMIC_LINKER
Date: Sat, 28 Mar 2020 17:05:03 -0700 [thread overview]
Message-ID: <20200329000503.27897-1-vgupta@synopsys.com> (raw)
Enable big-endian suffixed dynamic linker per glibc multi-abi support.
And to avoid a future churn and version pairingi hassles, also allow
arc700 although glibc for ARC currently doesn't support it.
gcc/
xxxx-xx-xx Vineet Gupta <vgupta@synopsys.com>
+
+ * config/arc/linux.h: GLIBC_DYNAMIC_LINKER support BE/arc700
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
---
gcc/ChangeLog | 4 ++++
gcc/config/arc/linux.h | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 86ad683a6cb0..c26a748fd51b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2020-03-28 Vineet Gupta <vgupta@synopsys.com>
+
+ * config/arc/linux.h: GLIBC_DYNAMIC_LINKER support BE/arc700
+
2020-03-28 Jakub Jelinek <jakub@redhat.com>
PR c/93573
diff --git a/gcc/config/arc/linux.h b/gcc/config/arc/linux.h
index 0b99da3fcdaf..1bbeccee7115 100644
--- a/gcc/config/arc/linux.h
+++ b/gcc/config/arc/linux.h
@@ -29,7 +29,7 @@ along with GCC; see the file COPYING3. If not see
} \
while (0)
-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-arc.so.2"
+#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-arc%{mbig-endian:eb}%{mcpu=arc700:700}.so.2"
#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0"
/* Note that the default is to link against dynamic libraries, if they are
--
2.20.1
_______________________________________________
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc
next reply other threads:[~2020-03-29 0:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-29 0:05 Vineet Gupta [this message]
2020-03-31 10:06 ` [PATCH] [ARC] Allow more ABIs in GLIBC_DYNAMIC_LINKER Claudiu Zissulescu Ianculescu
2020-03-31 16:26 ` Alexey Brodkin
2020-03-31 17:57 ` Vineet Gupta
2020-04-01 0:52 ` Vineet Gupta
2020-04-08 23:37 ` Vineet Gupta
2020-04-10 12:25 ` Claudiu Zissulescu Ianculescu
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=20200329000503.27897-1-vgupta@synopsys.com \
--to=vineet.gupta1@synopsys.com \
--cc=Claudiu.Zissulescu@synopsys.com \
--cc=andrew.burgess@embecosm.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=linux-snps-arc@lists.infradead.org \
/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