aboutsummaryrefslogtreecommitdiff
path: root/ld/configure.tgt
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-09-10 14:35:07 +0000
committerAlan Modra <amodra@gmail.com>2012-09-10 14:35:07 +0000
commitffda88b4801e1ea163e7eb0962008c60f353c229 (patch)
treedf33d1015c07eff4585d1baa4f2cf726031de068 /ld/configure.tgt
parentc008817b74c578a17c01c41a23791b15733ef9e3 (diff)
downloadgdb-ffda88b4801e1ea163e7eb0962008c60f353c229.zip
gdb-ffda88b4801e1ea163e7eb0962008c60f353c229.tar.gz
gdb-ffda88b4801e1ea163e7eb0962008c60f353c229.tar.bz2
* configure.tgt (powerpc-*-elf, et al): Define targ_extra_libpath.
Correct whitespace. (powerpcle-*-elf, et al): Likewise. Correct targ_extra_emuls.
Diffstat (limited to 'ld/configure.tgt')
-rw-r--r--ld/configure.tgt17
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
;;