aboutsummaryrefslogtreecommitdiff
path: root/ld/configure.tgt
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-08-27 10:45:55 +0000
committerAlan Modra <amodra@gmail.com>2001-08-27 10:45:55 +0000
commit5c67d4bb595ec330107c1768dda0470459ccfc04 (patch)
tree88c94e7c773d9a5650850483011d033ba038089c /ld/configure.tgt
parent0baf16f23c580c5b0ee2c93289a0fc27fe6c240f (diff)
downloadgdb-5c67d4bb595ec330107c1768dda0470459ccfc04.zip
gdb-5c67d4bb595ec330107c1768dda0470459ccfc04.tar.gz
gdb-5c67d4bb595ec330107c1768dda0470459ccfc04.tar.bz2
* Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o.
(eelf64ppc.c, eelf64lppc.c): Add make targets. Run "make dep-am" * Makefile.in: Regenerate. * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj entries to correct alphabetical position. * emulparams/elf64ppc.sh: New. * emulparams/elf64lppc.sh: New.
Diffstat (limited to 'ld/configure.tgt')
-rw-r--r--ld/configure.tgt39
1 files changed, 27 insertions, 12 deletions
diff --git a/ld/configure.tgt b/ld/configure.tgt
index 6922618..aa37e40 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -314,23 +314,38 @@ z8k-*-coff) targ_emul=z8002; targ_extra_emuls=z8001 ;;
ns32k-pc532-mach* | ns32k-pc532-ux*) targ_emul=pc532macha ;;
ns32k-pc532-netbsd* | ns32k-pc532-lites*) targ_emul=ns32knbsd ;;
openrisc-*-*) targ_emul=elf32openrisc ;;
+pdp11-*-*) targ_emul=pdp11 ;;
+pjl*-*-*) targ_emul=pjlelf ; targ_extra_emuls="elf_i386" ;;
+pj*-*-*) targ_emul=pjelf ;;
powerpc-*-freebsd*) targ_emul=elf32ppc;
targ_extra_emuls=elf32ppcsim;
targ_extra_libpath=elf32ppc;
tdir_elf32ppcsim=`echo ${targ_alias} | sed -e 's/ppc/ppcsim/'`
;;
-powerpc-*-linux-gnu*) targ_emul=elf32ppclinux;
- targ_extra_emuls="elf32ppc elf32ppcsim";
- targ_extra_libpath=elf32ppc ;;
-pdp11-*-*) targ_emul=pdp11 ;;
-pjl*-*-*) targ_emul=pjlelf ; targ_extra_emuls="elf_i386" ;;
-pj*-*-*) targ_emul=pjelf ;;
-powerpc-*-elf* | powerpc-*-eabi* | powerpc-*-sysv* \
- | powerpc-*-netbsd* | powerpc-*-vxworks*)
- targ_emul=elf32ppc targ_extra_emuls="elf32ppclinux elf32ppcsim";;
-powerpcle-*-elf* | powerpcle-*-eabi* | powerpcle-*-solaris* \
- | powerpcle-*-sysv* | powerpcle-*-vxworks*)
- targ_emul=elf32lppc targ_extra_emuls="elf32ppcsim";;
+powerpc*-*-linux*)
+ case "${targ}" in
+ *64*) targ_emul=elf64ppc
+ targ_extra_emuls="elf32ppclinux elf32ppc elf32ppcsim" ;;
+ *) targ_emul=elf32ppclinux
+ targ_extra_emuls="elf32ppc elf32ppcsim"
+ targ_extra_libpath=elf32ppc ;;
+ 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 elf32ppcsim" ;;
+ *) targ_emul=elf32lppc
+ targ_extra_emuls="elf32ppcsim" ;;
+ esac ;;
+powerpc*-*-elf* | powerpc*-*-eabi* | powerpc*-*-sysv* \
+ | powerpc*-*-netbsd* | powerpc*-*-vxworks*)
+ case "${targ}" in
+ *64*) targ_emul=elf64ppc
+ targ_extra_emuls="elf32ppc elf32ppclinux elf32ppcsim" ;;
+ *) targ_emul=elf32ppc
+ targ_extra_emuls="elf32ppclinux elf32ppcsim" ;;
+ esac ;;
powerpcle-*-rtems*) targ_emul=elf32leppc ;;
powerpc-*-rtems*) targ_emul=elf32ppc ;;
powerpc-*-macos*) targ_emul=ppcmacos ;;