diff options
Diffstat (limited to 'ld/configure.tgt')
-rw-r--r-- | ld/configure.tgt | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/ld/configure.tgt b/ld/configure.tgt index 6674974..d0f2612 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 ;; |