From: Andrew Pinski Date: Fri, 7 Feb 2014 20:22:27 +0000 (-0800) Subject: 2014-02-11 Andrew Pinski X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7d0edd4bb674f2264b80e639cad86cb2af0978a4;p=binutils-gdb.git 2014-02-11 Andrew Pinski * emulparams/aarch64linux32.sh (LIBPATH_SUFFIX): Change to ilp32. (ELF_INTERPRETER_NAME): Define. * emulparams/aarch64linux32b.sh (ELF_INTERPRETER_NAME): Define. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 1b7938e1626..5331a1ea98c 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2014-02-11 Andrew Pinski + + * emulparams/aarch64linux32.sh (LIBPATH_SUFFIX): Change to ilp32. + (ELF_INTERPRETER_NAME): Define. + * emulparams/aarch64linux32b.sh (ELF_INTERPRETER_NAME): Define. + 2014-02-10 Alan Modra * po/ld.pot: Regenerate. diff --git a/ld/emulparams/aarch64linux32.sh b/ld/emulparams/aarch64linux32.sh index 573b4321397..b84eb451b0f 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 f878b181176..e92feecb3cf 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\"