2014-02-11 Andrew Pinski <apinski@cavium.com>
authorAndrew Pinski <apinski@cavium.com>
Fri, 7 Feb 2014 20:22:27 +0000 (12:22 -0800)
committerAndrew Pinski <apinski@cavium.com>
Tue, 11 Feb 2014 19:16:30 +0000 (11:16 -0800)
* emulparams/aarch64linux32.sh (LIBPATH_SUFFIX): Change to ilp32.
(ELF_INTERPRETER_NAME): Define.
* emulparams/aarch64linux32b.sh (ELF_INTERPRETER_NAME): Define.

ld/ChangeLog
ld/emulparams/aarch64linux32.sh
ld/emulparams/aarch64linux32b.sh

index 1b7938e162656f4f9e0371d47c54e21f824f3f2b..5331a1ea98c3398c6cd6ed2242bb730172fde8d4 100644 (file)
@@ -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.
index 573b4321397204ba7685bad277a11a84e32d90af..b84eb451b0fefda5a081fcd45e99aa1bca25b3fd 100644 (file)
@@ -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\"
index f878b181176d438f1db87793cf514ad16e7b523a..e92feecb3cf83761de71c949b7c297baf718984b 100644 (file)
@@ -1,2 +1,3 @@
 . ${srcdir}/emulparams/aarch64linux32.sh
 OUTPUT_FORMAT="elf32-bigaarch64"
+ELF_INTERPRETER_NAME=\"/lib/ld-linux-aarch64_be_ilp32.so.1\"