aboutsummaryrefslogtreecommitdiff
path: root/ld
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
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')
-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
;;