aboutsummaryrefslogtreecommitdiff
path: root/ld/configure.tgt
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-05-05 22:56:03 +0000
committerIan Lance Taylor <ian@airs.com>1997-05-05 22:56:03 +0000
commita59a42aef714f8f9ba73e9ad321a099b427d5302 (patch)
treea20f3d93fe8686cd46acdc2716db8deed1c32c47 /ld/configure.tgt
parent6a2922d50102b4918ae3f82ebad2783f0127f87f (diff)
downloadgdb-a59a42aef714f8f9ba73e9ad321a099b427d5302.zip
gdb-a59a42aef714f8f9ba73e9ad321a099b427d5302.tar.gz
gdb-a59a42aef714f8f9ba73e9ad321a099b427d5302.tar.bz2
Mon May 5 18:19:55 1997 Philip Blundell <pjb27@cam.ac.uk>
* configure.tgt, configure.host: cope with '*-*-linux-gnuaout' targets.
Diffstat (limited to 'ld/configure.tgt')
-rw-r--r--ld/configure.tgt15
1 files changed, 13 insertions, 2 deletions
diff --git a/ld/configure.tgt b/ld/configure.tgt
index 9d09206..4362ad1 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -28,6 +28,16 @@ sparc*-*-aout) targ_emul=sparcaout ;;
sparc*-*-coff) targ_emul=coff_sparc ;;
sparc*-*-elf) targ_emul=elf32_sparc ;;
sparc*-*-sysv4*) targ_emul=elf32_sparc ;;
+sparc*-*-linux*aout*) targ_emul=sparclinux
+ targ_extra_emuls="elf32_sparc sun4"
+ tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/aout//'`
+ tdir_sun4=sparc-sun-sunos4
+ ;;
+sparc*-*-linux*) targ_emul=elf32_sparc
+ targ_extra_emuls="sparclinux sun4"
+ tdir_sparclinux=${targ_alias}aout
+ tdir_sun4=sparc-sun-sunos4
+ ;;
sparc*-*-lynxos*) targ_emul=sparclynx ;;
sparc*-*-netbsd*) targ_emul=sparcnbsd ;;
sparc*-*-solaris2*) targ_emul=elf32_sparc ;;
@@ -58,7 +68,7 @@ i[3456]86-*-bsd) targ_emul=i386bsd ;;
i[3456]86-*-bsd386) targ_emul=i386bsd ;;
i[3456]86-*-bsdi*) targ_emul=i386bsd ;;
i[3456]86-*-aout) targ_emul=i386aout ;;
-i[3456]86-*-linuxaout*) targ_emul=i386linux
+i[3456]86-*-linux*aout*) targ_emul=i386linux
targ_extra_emuls=elf_i386
tdir_elf_i386=`echo ${targ_alias} | sed -e 's/aout//'`
;;
@@ -106,7 +116,7 @@ m68*-*-aout) targ_emul=m68kaout ;;
m68*-*-coff) targ_emul=m68kcoff ;;
m68*-*-elf) targ_emul=m68kelf ;;
m68*-*-hpux*) targ_emul=hp3hpux ;;
-m68k-*-linuxaout*) targ_emul=m68klinux
+m68k-*-linux*aout*) targ_emul=m68klinux
targ_extra_emuls=m68kelf
tdir_m68kelf=`echo ${targ_alias} | sed -e 's/aout//'`
;;
@@ -121,6 +131,7 @@ m68*-*-psos*) targ_emul=m68kpsos ;;
m68*-*-rtems*) targ_emul=m68kcoff ;;
hppa*-*-*elf*) targ_emul=hppaelf ;;
hppa*-*-lites*) targ_emul=hppaelf ;;
+hppa*-*-rtems*) targ_emul=hppaelf ;;
vax-dec-ultrix* | vax-dec-bsd*) targ_emul=vax ;;
mips*-dec-ultrix*) targ_emul=mipslit ;;
mips*-dec-osf*) targ_emul=mipslit ;;