aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Pinski <apinski@cavium.com>2014-02-07 12:22:27 -0800
committerAndrew Pinski <apinski@cavium.com>2014-02-11 11:16:30 -0800
commit7d0edd4bb674f2264b80e639cad86cb2af0978a4 (patch)
treeb9ba62e29e2509be7814bfd8f8c81b3358db5376
parent49caec94ae907290ae3fb849365b9b86ebb6f768 (diff)
downloadgdb-7d0edd4bb674f2264b80e639cad86cb2af0978a4.zip
gdb-7d0edd4bb674f2264b80e639cad86cb2af0978a4.tar.gz
gdb-7d0edd4bb674f2264b80e639cad86cb2af0978a4.tar.bz2
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.
-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\"