aboutsummaryrefslogtreecommitdiff
path: root/ld/configure.tgt
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-02-14 23:54:05 +0000
committerIan Lance Taylor <ian@airs.com>1996-02-14 23:54:05 +0000
commit95d31c3c8ff521b38b504bc360bd3343882dac25 (patch)
treea736554340bd36f6c60bb81ad427b519bbc78510 /ld/configure.tgt
parent8cc429e320c6e2b38d26c0e7efe1301053adaf54 (diff)
downloadgdb-95d31c3c8ff521b38b504bc360bd3343882dac25.zip
gdb-95d31c3c8ff521b38b504bc360bd3343882dac25.tar.gz
gdb-95d31c3c8ff521b38b504bc360bd3343882dac25.tar.bz2
* configure.tgt (*-*-ieee*): New target; use vanilla.
Wed Feb 14 18:49:01 1996 Alan Modra <alan@spri.levels.unisa.edu.au> * configure.in: Redo emulation handling so that each emulation searches the correct tool directory, based on the target alias. For example, "configure --enable-targets=m68k-coff i386-linux" will search /usr/local/i386-linux/lib for linux and /usr/local/m68k-coff/lib for m68k-coff. * configure: Rebuild. * configure.tgt: Add special tdir settings for Linux. * Makefile.in: Add @TDIRS@. Pass "$(tdir_EMUL)" to ${GENSCRIPTS} for each eEMUL.c target. * genscripts.sh: Accept specific alias as 9th argument, and use it in LIB_PATH.
Diffstat (limited to 'ld/configure.tgt')
-rw-r--r--ld/configure.tgt11
1 files changed, 9 insertions, 2 deletions
diff --git a/ld/configure.tgt b/ld/configure.tgt
index 0712fee..bcc7415 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -48,9 +48,15 @@ i[345]86-*-bsd) targ_emul=i386bsd ;;
i[345]86-*-bsd386) targ_emul=i386bsd ;;
i[345]86-*-bsdi*) targ_emul=i386bsd ;;
i[345]86-*-aout) targ_emul=i386aout ;;
-i[345]86-*-linuxaout*) targ_emul=i386linux; targ_extra_emuls=elf_i386 ;;
+i[345]86-*-linuxaout*) targ_emul=i386linux
+ targ_extra_emuls=elf_i386
+ tdir_elf_i386=`echo ${targ_alias} | sed -e 's/aout//'`
+ ;;
i[345]86-*-linuxoldld) targ_emul=i386linux; targ_extra_emuls=elf_i386 ;;
-i[345]86-*-linux*) targ_emul=elf_i386; targ_extra_emuls=i386linux ;;
+i[345]86-*-linux*) targ_emul=elf_i386
+ targ_extra_emuls=i386linux
+ tdir_i386linux=${targ_alias}aout
+ ;;
i[345]86-*-sysv4*) targ_emul=elf_i386 ;;
i[345]86-*-unixware) targ_emul=elf_i386 ;;
i[345]86-*-netbsd*) targ_emul=i386nbsd ;;
@@ -126,6 +132,7 @@ w65-*-*) targ_emul=w65 ;;
*-*-aout) targ_emul=${target_cpu}-${target_vendor} ;;
*-*-coff) targ_emul=${target_cpu}-${target_vendor} ;;
*-*-netware) targ_emul=${target_cpu}-nw ;;
+*-*-ieee*) targ_emul=vanilla ;;
*)
echo 2>&1 "*** ld does not support target ${targ}"