aboutsummaryrefslogtreecommitdiff
path: root/ld/configure.tgt
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-07-09 02:42:13 +0000
committerAlan Modra <amodra@gmail.com>2002-07-09 02:42:13 +0000
commitc29ef4b56afabf84f23ef83addc297d5e9fa4fdd (patch)
treec2158c3bd55a8d084561bfefd51e5c1acd19fb4e /ld/configure.tgt
parent03111e8359389f65b64264fa22677fa42e3a685f (diff)
downloadgdb-c29ef4b56afabf84f23ef83addc297d5e9fa4fdd.zip
gdb-c29ef4b56afabf84f23ef83addc297d5e9fa4fdd.tar.gz
gdb-c29ef4b56afabf84f23ef83addc297d5e9fa4fdd.tar.bz2
* configure.tgt: Add hppaobsd.o.
* Makefile.am: Add support for alpha-*-openbsd*, hppa-*-openbsd*, powerpc-*-openbsd* and sparc64-*-openbsd*. * Makefile.in: Regenerate. * emulparams/hppaobsd.sh: New file.
Diffstat (limited to 'ld/configure.tgt')
-rw-r--r--ld/configure.tgt7
1 files changed, 5 insertions, 2 deletions
diff --git a/ld/configure.tgt b/ld/configure.tgt
index c91da0e..c1d7620 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -70,7 +70,8 @@ sparc*-*-linux-gnu*) targ_emul=elf32_sparc
tdir_sun4=sparc-sun-sunos4
;;
sparc*-*-lynxos*) targ_emul=sparclynx ;;
-sparc64-*-netbsd*) targ_emul=elf64_sparc
+sparc64-*-netbsd* | sparc64-*-openbsd*)
+ targ_emul=elf64_sparc
targ_extra_emuls="elf32_sparc"
;;
sparc*-*-netbsd*elf*) targ_emul=elf32_sparc ;;
@@ -348,6 +349,7 @@ hppa*-*-linux-gnu*) targ_emul=hppalinux ;;
hppa*-*-*elf*) targ_emul=hppaelf ;;
hppa*-*-lites*) targ_emul=hppaelf ;;
hppa*-*-netbsd*) targ_emul=hppanbsd ;;
+hppa*-*-openbsd*) targ_emul=hppaobsd ;;
hppa*-*-rtems*) targ_emul=hppaelf ;;
vax-dec-ultrix* | vax-dec-bsd*) targ_emul=vax ;;
vax-*-netbsdelf*) targ_emul=elf32vax
@@ -413,6 +415,7 @@ alpha*-*-osf*) targ_emul=alpha ;;
alpha*-*-gnu*) targ_emul=elf64alpha ;;
alpha*-*-netware*) targ_emul=alpha ;;
alpha*-*-netbsd*) targ_emul=elf64alpha_nbsd ;;
+alpha*-*-openbsd*) targ_emul=elf64alpha ;;
z8k-*-coff) targ_emul=z8002; targ_extra_emuls=z8001 ;;
ns32k-pc532-mach* | ns32k-pc532-ux*) targ_emul=pc532macha ;;
ns32k-*-netbsd* | ns32k-pc532-lites*) targ_emul=ns32knbsd ;;
@@ -451,7 +454,7 @@ powerpc*le-*-elf* | powerpc*le-*-eabi* | powerpc*le-*-solaris* \
targ_extra_emuls="elf32ppcsim" ;;
esac ;;
powerpc*-*-elf* | powerpc*-*-eabi* | powerpc*-*-sysv* \
- | powerpc*-*-netbsd* | powerpc*-*-vxworks*)
+ | powerpc*-*-netbsd* | powerpc-*-openbsd* | powerpc*-*-vxworks*)
case "${targ}" in
*64*) targ_emul=elf64ppc
targ_extra_emuls="elf32ppc elf32ppclinux elf32ppcsim"