aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld/ChangeLog7
-rw-r--r--ld/configure.tgt17
2 files changed, 17 insertions, 7 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 32503b7..c965cd0 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,4 +1,11 @@
2012-09-10 Iain Sandoe <iain@codesourcery.com>
+ Alan Modra <amodra@gmail.com>
+
+ * 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 <iain@codesourcery.com>
* configure.tgt (powerpc-*-elf, et al): Define targ64_extra_emuls
and targ64_extra_libpath.
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
;;