From: Andrew Pinski <pinskia@gmail.com>
To: binutils@sourceware.org
Cc: Andrew Pinski <apinski@cavium.com>
Subject: [PATCH/AARCH64] Correct lib path and add interpreter name
Date: Fri, 07 Feb 2014 20:31:00 -0000 [thread overview]
Message-ID: <1391805097-12947-1-git-send-email-apinski@cavium.com> (raw)
Hi,
When I added the ilp32 support to binutils, I did not set the library path name correctly and I forgot
to add the interpreter name to them. Both were also only agreed upon after I committed the original patches.
OK? Build and tested for aarch64-linux-gnu with no regressions.
Thanks,
Andrew Pinski
* emulparams/aarch64linux32.sh (LIBPATH_SUFFIX): Change to ilp32.
(ELF_INTERPRETER_NAME): Define.
* emulparams/aarch64linux32b.sh (ELF_INTERPRETER_NAME): Define.
---
ld/ChangeLog | 6 ++++++
ld/emulparams/aarch64linux32.sh | 4 +++-
ld/emulparams/aarch64linux32b.sh | 1 +
3 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 359e1d6..8874677 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,9 @@
+2014-02-07 Andrew Pinski <apinski@cavium.com>
+
+ * emulparams/aarch64linux32.sh (LIBPATH_SUFFIX): Change to ilp32.
+ (ELF_INTERPRETER_NAME): Define.
+ * emulparams/aarch64linux32b.sh (ELF_INTERPRETER_NAME): Define.
+
2014-02-03 Alan Modra <amodra@gmail.com>
* emultempl/ppc32elf.em (no_tls_get_addr_opt, emit_stub_syms)
diff --git a/ld/emulparams/aarch64linux32.sh b/ld/emulparams/aarch64linux32.sh
index 573b432..b84eb45 100644
--- a/ld/emulparams/aarch64linux32.sh
+++ b/ld/emulparams/aarch64linux32.sh
@@ -41,7 +41,9 @@ PLT=".plt ${RELOCATING-0} : ALIGN(16) { *(.plt)${IREL_IN_PLT+ *(.iplt)}
case "$target" in
aarch64*-linux*)
case "$EMULATION_NAME" in
- aarch64linux*) LIBPATH_SUFFIX=32 ;;
+ aarch64linux*) LIBPATH_SUFFIX=ilp32 ;;
esac
;;
esac
+
+ELF_INTERPRETER_NAME=\"/lib/ld-linux-aarch64_ilp32.so.1\"
diff --git a/ld/emulparams/aarch64linux32b.sh b/ld/emulparams/aarch64linux32b.sh
index f878b18..e92feec 100644
--- a/ld/emulparams/aarch64linux32b.sh
+++ b/ld/emulparams/aarch64linux32b.sh
@@ -1,2 +1,3 @@
. ${srcdir}/emulparams/aarch64linux32.sh
OUTPUT_FORMAT="elf32-bigaarch64"
+ELF_INTERPRETER_NAME=\"/lib/ld-linux-aarch64_be_ilp32.so.1\"
--
1.7.2.5
next reply other threads:[~2014-02-07 20:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-07 20:31 Andrew Pinski [this message]
2014-02-11 14:43 ` Marcus Shawcroft
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=1391805097-12947-1-git-send-email-apinski@cavium.com \
--to=pinskia@gmail.com \
--cc=apinski@cavium.com \
--cc=binutils@sourceware.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).