aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/emulparams/aarch64linux32.sh4
-rw-r--r--ld/emulparams/aarch64linux32b.sh1
3 files changed, 10 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 1b7938e..5331a1e 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,9 @@
+2014-02-11 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-10 Alan Modra <amodra@gmail.com>
* po/ld.pot: Regenerate.
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\"