From: Alan Modra Date: Mon, 10 Sep 2012 14:35:07 +0000 (+0000) Subject: * configure.tgt (powerpc-*-elf, et al): Define targ_extra_libpath. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ffda88b4801e1ea163e7eb0962008c60f353c229;p=binutils-gdb.git * configure.tgt (powerpc-*-elf, et al): Define targ_extra_libpath. Correct whitespace. (powerpcle-*-elf, et al): Likewise. Correct targ_extra_emuls. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 32503b7357c..c965cd0f417 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,10 @@ +2012-09-10 Iain Sandoe + Alan Modra + + * configure.tgt (powerpc-*-elf, et al): Define targ_extra_libpath. + Correct whitespace. + (powerpcle-*-elf, et al): Likewise. Correct targ_extra_emuls. + 2012-09-10 Iain Sandoe * configure.tgt (powerpc-*-elf, et al): Define targ64_extra_emuls diff --git a/ld/configure.tgt b/ld/configure.tgt index 66749742298..d0f26127806 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -520,29 +520,32 @@ powerpc*-*-linux*) case "${targ}" in esac ;; powerpc*le-*-elf* | powerpc*le-*-eabi* | powerpc*le-*-solaris* \ | powerpc*le-*-sysv* | powerpc*le-*-vxworks*) - case "${targ}" in - *64*) targ_emul=elf64lppc - targ_extra_emuls="elf32lppc elf32lppcsim" + case "${targ}" in + *64*) targ_emul=elf64lppc + targ_extra_emuls="elf32lppc elf32lppcsim" + targ_extra_libpath=elf32lppc tdir_elf32lppc=`echo "${targ_alias}" | sed -e 's/64//'` tdir_elf32lppcsim=$tdir_elf32lppc ;; *) targ_emul=elf32lppc - targ_extra_emuls="elf32ppcsim" + targ_extra_emuls=elf32lppcsim targ64_extra_emuls=elf64lppc targ64_extra_libpath=elf64lppc ;; esac ;; powerpc*-*-elf* | powerpc*-*-eabi* | powerpc*-*-sysv* \ | powerpc*-*-netbsd* | powerpc-*-openbsd* | powerpc*-*-kaos*) - case "${targ}" in - *64*) targ_emul=elf64ppc - targ_extra_emuls="elf32ppc elf32ppclinux elf32ppcsim" + case "${targ}" in + *64*) targ_emul=elf64ppc + targ_extra_emuls="elf32ppc elf32ppclinux elf32ppcsim" + targ_extra_libpath="elf32ppc elf32ppclinux" tdir_elf32ppc=`echo "${targ_alias}" | sed -e 's/64//'` tdir_elf32ppclinux=$tdir_elf32ppc tdir_elf32ppcsim=$tdir_elf32ppc ;; *) targ_emul=elf32ppc targ_extra_emuls="elf32ppclinux elf32ppcsim" + targ_extra_libpath=elf32ppclinux targ64_extra_emuls=elf64ppc targ64_extra_libpath=elf64ppc ;;