aboutsummaryrefslogtreecommitdiff
path: root/ld/config
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-09-06 18:58:05 +0000
committerIan Lance Taylor <ian@airs.com>1995-09-06 18:58:05 +0000
commitd66c832b5944039a02689b93e9918fff38939634 (patch)
tree916a880d6c1937889ca68dd09c740af7080ecbac /ld/config
parentc464ba6669b6b7e09ad22a0b2d4210129c1abb58 (diff)
downloadgdb-d66c832b5944039a02689b93e9918fff38939634.zip
gdb-d66c832b5944039a02689b93e9918fff38939634.tar.gz
gdb-d66c832b5944039a02689b93e9918fff38939634.tar.bz2
* configure.in: Rewrite to use autoconf.
* configure.host: New file. * configure.tgt: New file. * aclocal.m4: New file. * configure: New file, built by autoconf. * acconfig.h: New file. * config.h.in: New file, built by autoheader. * sysdep.h: New file. * ld.h: Incorporate old contents of config.h. * config.h: Remove. * Makefile.in: Various changes for new configure script. Also: (CC_FOR_BUILD): Remove. (ldmain.o): Don't bother to ensure that EMUL is non-empty. (dep.sed): Use @SRCDIR@, not @srcdir@. * dep-in.sed: Use @SRCDIR@, not @srcdir@. * genscripts.sh: Create ldscripts if it does not exist. * ldemul.c, lexsup.c, mpw-emipsidt.c: Don't include "config.h". * mpw-esh.c, emultemp/*.em: Likewise. * ldmain.c: Likewise. Include <ctype.h>. Don't try to set HAVE_SBRK here. * config/*.mt, config/*.mh: Remove.
Diffstat (limited to 'ld/config')
-rw-r--r--ld/config/.Sanitize140
-rw-r--r--ld/config/alpha.mt1
-rw-r--r--ld/config/alphaosf.mh2
-rw-r--r--ld/config/arc-elf.mt1
-rw-r--r--ld/config/arm-pe.mt1
-rw-r--r--ld/config/armb-aout.mt1
-rw-r--r--ld/config/arml-aout.mt1
-rw-r--r--ld/config/coff-a29k.mt1
-rw-r--r--ld/config/coff-h8300.mt7
-rw-r--r--ld/config/coff-h8500.mt5
-rw-r--r--ld/config/coff-sh.mt2
-rw-r--r--ld/config/coff-sparc.mt1
-rwxr-xr-xld/config/coff-w65.mt3
-rw-r--r--ld/config/delta88.mh6
-rw-r--r--ld/config/dgux.mh5
-rw-r--r--ld/config/ebmon29k.mt1
-rw-r--r--ld/config/go32.mh4
-rw-r--r--ld/config/go32.mt1
-rw-r--r--ld/config/hp300.mh4
-rw-r--r--ld/config/hp300bsd.mt2
-rw-r--r--ld/config/hp300hpux.mt1
-rw-r--r--ld/config/hppaelf.mh3
-rw-r--r--ld/config/hppaelf.mt1
-rw-r--r--ld/config/i386-aout.mt1
-rw-r--r--ld/config/i386-bsd.mt1
-rw-r--r--ld/config/i386-coff.mt1
-rw-r--r--ld/config/i386-elf.mt1
-rw-r--r--ld/config/i386-gelf.mt2
-rw-r--r--ld/config/i386-gnu.mt2
-rw-r--r--ld/config/i386-go32.mt1
-rw-r--r--ld/config/i386-laout.mt2
-rw-r--r--ld/config/i386-linux.mt2
-rw-r--r--ld/config/i386-lynx.mt1
-rw-r--r--ld/config/i386-mach.mt1
-rw-r--r--ld/config/i386-moss.mt2
-rw-r--r--ld/config/i386-msdos.mt2
-rw-r--r--ld/config/i386-nbsd.mt1
-rw-r--r--ld/config/i386-nw.mt1
-rw-r--r--ld/config/i386-pe.mt1
-rw-r--r--ld/config/i386bsd.mh5
-rw-r--r--ld/config/i386linux.mh2
-rw-r--r--ld/config/i386lynx.mh2
-rw-r--r--ld/config/i386pe.mh5
-rw-r--r--ld/config/i386sco.mh4
-rw-r--r--ld/config/i386v.mh4
-rw-r--r--ld/config/i386v.mt2
-rw-r--r--ld/config/i386v4.mh3
-rw-r--r--ld/config/i960.mt1
-rw-r--r--ld/config/i960coff.mt1
-rw-r--r--ld/config/ieee-h8300.mt1
-rw-r--r--ld/config/irix4.mh3
-rw-r--r--ld/config/m68k-coff.mt1
-rw-r--r--ld/config/m68k-elf.mt1
-rw-r--r--ld/config/m68k-lynx.mt1
-rw-r--r--ld/config/m68k-nbsd.mt1
-rw-r--r--ld/config/m68k.mt1
-rw-r--r--ld/config/m68klynx.mh2
-rw-r--r--ld/config/m68kv.mt2
-rw-r--r--ld/config/m88k-bcs.mt1
-rw-r--r--ld/config/mips-big.mt1
-rw-r--r--ld/config/mips-idt.mt1
-rw-r--r--ld/config/mips-lit.mt1
-rw-r--r--ld/config/mips-vr4300.mt1
-rw-r--r--ld/config/mips-vr4300el.mt1
-rw-r--r--ld/config/mipsb-elf32.mt1
-rw-r--r--ld/config/mipsbsd.mh2
-rw-r--r--ld/config/mipsbsd.mt1
-rw-r--r--ld/config/mipsl-elf32.mt1
-rw-r--r--ld/config/mipsl-idt.mt1
-rw-r--r--ld/config/news.mt1
-rw-r--r--ld/config/ns32k-nbsd.mt1
-rw-r--r--ld/config/ose68.mt1
-rw-r--r--ld/config/pc532mach.mt2
-rw-r--r--ld/config/ppc-elf32.mt1
-rw-r--r--ld/config/ppc-nw.mt1
-rw-r--r--ld/config/ppcle-elf32.mt1
-rw-r--r--ld/config/rce-aout.mt1
-rw-r--r--ld/config/riscix.mt1
-rw-r--r--ld/config/rtbsd.mh6
-rw-r--r--ld/config/sa29200.mt1
-rw-r--r--ld/config/solaris2.mh4
-rw-r--r--ld/config/sparc-ll.mh1
-rw-r--r--ld/config/sparc-lynx.mt1
-rw-r--r--ld/config/sparc-nbsd.mt1
-rw-r--r--ld/config/sparc64-elf.mt1
-rw-r--r--ld/config/st2000.mt2
-rw-r--r--ld/config/sun3.mh1
-rw-r--r--ld/config/sun3.mt2
-rw-r--r--ld/config/sun4.mt1
-rw-r--r--ld/config/sun4sol2.mt1
-rw-r--r--ld/config/vax.mt1
-rw-r--r--ld/config/vsta.mt1
-rw-r--r--ld/config/vxworks68.mt1
-rw-r--r--ld/config/z8k-coff.mt5
94 files changed, 0 insertions, 310 deletions
diff --git a/ld/config/.Sanitize b/ld/config/.Sanitize
deleted file mode 100644
index 9efc726..0000000
--- a/ld/config/.Sanitize
+++ /dev/null
@@ -1,140 +0,0 @@
-# .Sanitize for devo/ld/config
-
-# Each directory to survive its way into a release will need a file
-# like this one called "./.Sanitize". All keyword lines must exist,
-# and must exist in the order specified by this file. Each directory
-# in the tree will be processed, top down, in the following order.
-
-# Hash started lines like this one are comments and will be deleted
-# before anything else is done. Blank lines will also be squashed
-# out.
-
-# The lines between the "Do-first:" line and the "Things-to-keep:"
-# line are executed as a /bin/sh shell script before anything else is
-# done in this directory.
-
-Do-first:
-
-arc_files="arc-elf.mt"
-
-if ( echo $* | grep keep\-arc > /dev/null ) ; then
- keep_these_too="${arc_files} ${keep_these_too}"
-else
- lose_these_too="${arc_files} ${lose_these_too}"
-fi
-
-rce_files="rce-aout.mt"
-
-if ( echo $* | grep keep\-rce > /dev/null ) ; then
- keep_these_too="${rce_files} ${keep_these_too}"
-else
- lose_these_too="${rce_files} ${lose_these_too}"
-fi
-
-# All files listed between the "Things-to-keep:" line and the
-# "Do-last:" line will be kept. All other files will be removed.
-# Directories listed in this section will have their own Sanitize
-# called. Directories not listed will be removed in their entirety
-# with rm -rf.
-
-Things-to-keep:
-
-alpha.mt
-alphaosf.mh
-arm-pe.mt
-armb-aout.mt
-arml-aout.mt
-coff-a29k.mt
-coff-h8300.mt
-coff-h8500.mt
-coff-sh.mt
-coff-sparc.mt
-coff-w65.mt
-delta88.mh
-dgux.mh
-ebmon29k.mt
-go32.mh
-go32.mt
-hp300.mh
-hp300bsd.mt
-hp300hpux.mt
-hppaelf.mh
-hppaelf.mt
-i386-aout.mt
-i386-bsd.mt
-i386-coff.mt
-i386-elf.mt
-i386-gelf.mt
-i386-gnu.mt
-i386-go32.mt
-i386-laout.mt
-i386-linux.mt
-i386-lynx.mt
-i386-mach.mt
-i386-moss.mt
-i386-msdos.mt
-i386-nbsd.mt
-i386-nw.mt
-i386-pe.mt
-i386bsd.mh
-i386linux.mh
-i386lynx.mh
-i386pe.mh
-i386sco.mh
-i386v.mh
-i386v.mt
-i386v4.mh
-i960.mt
-i960coff.mt
-ieee-h8300.mt
-irix4.mh
-m68k-coff.mt
-m68k-elf.mt
-m68k-lynx.mt
-m68k-nbsd.mt
-m68k.mt
-m68klynx.mh
-m68kv.mt
-m88k-bcs.mt
-mips-big.mt
-mips-idt.mt
-mips-lit.mt
-mips-vr4300.mt
-mips-vr4300el.mt
-mipsb-elf32.mt
-mipsbsd.mh
-mipsbsd.mt
-mipsl-elf32.mt
-mipsl-idt.mt
-news.mt
-ns32k-nbsd.mt
-ose68.mt
-pc532mach.mt
-ppc-elf32.mt
-ppc-nw.mt
-ppcle-elf32.mt
-riscix.mt
-rtbsd.mh
-sa29200.mt
-solaris2.mh
-sparc-ll.mh
-sparc-lynx.mt
-sparc-nbsd.mt
-sparc64-elf.mt
-st2000.mt
-sun3.mh
-sun3.mt
-sun4.mt
-sun4sol2.mt
-vax.mt
-vsta.mt
-vxworks68.mt
-z8k-coff.mt
-
-Things-to-lose:
-
-# The lines between the "Do-last:" line and the end of the file
-# are executed as a /bin/sh shell script after everything else is
-# done.
-
-Do-last:
diff --git a/ld/config/alpha.mt b/ld/config/alpha.mt
deleted file mode 100644
index 28d9649..0000000
--- a/ld/config/alpha.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=alpha
diff --git a/ld/config/alphaosf.mh b/ld/config/alphaosf.mh
deleted file mode 100644
index 0ab53c5..0000000
--- a/ld/config/alphaosf.mh
+++ /dev/null
@@ -1,2 +0,0 @@
-NATIVE_LIB_DIRS=/usr/ccs/lib
-HOSTING_CRT0=/usr/ccs/lib/crt0.o
diff --git a/ld/config/arc-elf.mt b/ld/config/arc-elf.mt
deleted file mode 100644
index 474217d..0000000
--- a/ld/config/arc-elf.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=arcelf
diff --git a/ld/config/arm-pe.mt b/ld/config/arm-pe.mt
deleted file mode 100644
index 1b8f58d..0000000
--- a/ld/config/arm-pe.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=armpe
diff --git a/ld/config/armb-aout.mt b/ld/config/armb-aout.mt
deleted file mode 100644
index 5a9985f..0000000
--- a/ld/config/armb-aout.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=armaoutb
diff --git a/ld/config/arml-aout.mt b/ld/config/arml-aout.mt
deleted file mode 100644
index 7e7d993..0000000
--- a/ld/config/arml-aout.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=armaoutl
diff --git a/ld/config/coff-a29k.mt b/ld/config/coff-a29k.mt
deleted file mode 100644
index 813dfab..0000000
--- a/ld/config/coff-a29k.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=a29k
diff --git a/ld/config/coff-h8300.mt b/ld/config/coff-h8300.mt
deleted file mode 100644
index 56b5abf..0000000
--- a/ld/config/coff-h8300.mt
+++ /dev/null
@@ -1,7 +0,0 @@
-EMUL=h8300h
-EMUL=h8300
-
-# We need to also include h8300h support. Not sure what's the "Right Way."
-
-# This first line of this file is a hack. Somehow we need to get h8300h
-# into EMULATION_OFILES. "EMUL=h8300" *must* be last.
diff --git a/ld/config/coff-h8500.mt b/ld/config/coff-h8500.mt
deleted file mode 100644
index af51df8..0000000
--- a/ld/config/coff-h8500.mt
+++ /dev/null
@@ -1,5 +0,0 @@
-EMUL=h8500s
-EMUL=h8500b
-EMUL=h8500m
-EMUL=h8500c
-EMUL=h8500
diff --git a/ld/config/coff-sh.mt b/ld/config/coff-sh.mt
deleted file mode 100644
index cc664bd..0000000
--- a/ld/config/coff-sh.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-EMUL=shl
-EMUL=sh
diff --git a/ld/config/coff-sparc.mt b/ld/config/coff-sparc.mt
deleted file mode 100644
index 1ba441f..0000000
--- a/ld/config/coff-sparc.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=coff_sparc
diff --git a/ld/config/coff-w65.mt b/ld/config/coff-w65.mt
deleted file mode 100755
index 36af96c..0000000
--- a/ld/config/coff-w65.mt
+++ /dev/null
@@ -1,3 +0,0 @@
-EMUL=w65
-
-
diff --git a/ld/config/delta88.mh b/ld/config/delta88.mh
deleted file mode 100644
index d0db23d..0000000
--- a/ld/config/delta88.mh
+++ /dev/null
@@ -1,6 +0,0 @@
-HDEFINES =
-
-INSTALL=cp
-
-
-
diff --git a/ld/config/dgux.mh b/ld/config/dgux.mh
deleted file mode 100644
index 064815a..0000000
--- a/ld/config/dgux.mh
+++ /dev/null
@@ -1,5 +0,0 @@
-HDEFINES = -D__using_DGUX
-
-HOSTING_CRT0=/lib/crt0.o -X
-HOSTING_LIBS=/usr/sde/m88kbcs/lib/libc.a
-HOSTING_EMU=-m m88kbcs
diff --git a/ld/config/ebmon29k.mt b/ld/config/ebmon29k.mt
deleted file mode 100644
index fc83976..0000000
--- a/ld/config/ebmon29k.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=ebmon29k
diff --git a/ld/config/go32.mh b/ld/config/go32.mh
deleted file mode 100644
index d6f6ec5..0000000
--- a/ld/config/go32.mh
+++ /dev/null
@@ -1,4 +0,0 @@
-CC_FOR_BUILD=gcc
-CC=i386-go32-gcc -O2 -fno-omit-frame-pointer -Xlinker -S
-
-
diff --git a/ld/config/go32.mt b/ld/config/go32.mt
deleted file mode 100644
index d5f86db..0000000
--- a/ld/config/go32.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=go32
diff --git a/ld/config/hp300.mh b/ld/config/hp300.mh
deleted file mode 100644
index 529ea8e..0000000
--- a/ld/config/hp300.mh
+++ /dev/null
@@ -1,4 +0,0 @@
-# If compiling with -O on the HP 9000/300 running HP/UX, you must
-# specify -Wp,-P to avoid a stupid compiler bug.
-# Ian Taylor, David Henkel-Wallace, Cygnus Support
-# CFLAGS = +O1000 -Wp,-P
diff --git a/ld/config/hp300bsd.mt b/ld/config/hp300bsd.mt
deleted file mode 100644
index 9105c52..0000000
--- a/ld/config/hp300bsd.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-EMUL=hp300bsd
-
diff --git a/ld/config/hp300hpux.mt b/ld/config/hp300hpux.mt
deleted file mode 100644
index dd66662..0000000
--- a/ld/config/hp300hpux.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=hp3hpux
diff --git a/ld/config/hppaelf.mh b/ld/config/hppaelf.mh
deleted file mode 100644
index 370766a..0000000
--- a/ld/config/hppaelf.mh
+++ /dev/null
@@ -1,3 +0,0 @@
-HOSTING_CRT0=/lib/crt0.o
-HOSTING_LIBS=-lc
-HOSTING_EMU=-m hppaelf
diff --git a/ld/config/hppaelf.mt b/ld/config/hppaelf.mt
deleted file mode 100644
index c1fe234..0000000
--- a/ld/config/hppaelf.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=hppaelf
diff --git a/ld/config/i386-aout.mt b/ld/config/i386-aout.mt
deleted file mode 100644
index 5a2b724..0000000
--- a/ld/config/i386-aout.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=i386aout
diff --git a/ld/config/i386-bsd.mt b/ld/config/i386-bsd.mt
deleted file mode 100644
index a5c4e92..0000000
--- a/ld/config/i386-bsd.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=i386bsd
diff --git a/ld/config/i386-coff.mt b/ld/config/i386-coff.mt
deleted file mode 100644
index dcdc3f9..0000000
--- a/ld/config/i386-coff.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=i386coff
diff --git a/ld/config/i386-elf.mt b/ld/config/i386-elf.mt
deleted file mode 100644
index f7c8061..0000000
--- a/ld/config/i386-elf.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=elf_i386
diff --git a/ld/config/i386-gelf.mt b/ld/config/i386-gelf.mt
deleted file mode 100644
index a3afaf4..0000000
--- a/ld/config/i386-gelf.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-EMUL=elf_i386
-EMUL_EXTRA1=i386mach
diff --git a/ld/config/i386-gnu.mt b/ld/config/i386-gnu.mt
deleted file mode 100644
index f1e21a9..0000000
--- a/ld/config/i386-gnu.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-EMUL=i386mach
-EMUL_EXTRA1=elf_i386
diff --git a/ld/config/i386-go32.mt b/ld/config/i386-go32.mt
deleted file mode 100644
index 55a8451..0000000
--- a/ld/config/i386-go32.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=i386go32
diff --git a/ld/config/i386-laout.mt b/ld/config/i386-laout.mt
deleted file mode 100644
index 16d623b..0000000
--- a/ld/config/i386-laout.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-EMUL=i386linux
-EMUL_EXTRA1=elf_i386
diff --git a/ld/config/i386-linux.mt b/ld/config/i386-linux.mt
deleted file mode 100644
index a9cec18..0000000
--- a/ld/config/i386-linux.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-EMUL=elf_i386
-EMUL_EXTRA1=i386linux
diff --git a/ld/config/i386-lynx.mt b/ld/config/i386-lynx.mt
deleted file mode 100644
index 66fb5a1..0000000
--- a/ld/config/i386-lynx.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=i386lynx
diff --git a/ld/config/i386-mach.mt b/ld/config/i386-mach.mt
deleted file mode 100644
index 622f1d3..0000000
--- a/ld/config/i386-mach.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=i386mach
diff --git a/ld/config/i386-moss.mt b/ld/config/i386-moss.mt
deleted file mode 100644
index 5f7ecff7..0000000
--- a/ld/config/i386-moss.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-EMUL=i386moss
-EMUL_EXTRA1=i386msdos
diff --git a/ld/config/i386-msdos.mt b/ld/config/i386-msdos.mt
deleted file mode 100644
index dcda424..0000000
--- a/ld/config/i386-msdos.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-EMUL=i386msdos
-EMUL_EXTRA1=i386aout
diff --git a/ld/config/i386-nbsd.mt b/ld/config/i386-nbsd.mt
deleted file mode 100644
index 93acef5..0000000
--- a/ld/config/i386-nbsd.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=i386nbsd
diff --git a/ld/config/i386-nw.mt b/ld/config/i386-nw.mt
deleted file mode 100644
index 2c5f38e..0000000
--- a/ld/config/i386-nw.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=i386nw
diff --git a/ld/config/i386-pe.mt b/ld/config/i386-pe.mt
deleted file mode 100644
index 10d7f83..0000000
--- a/ld/config/i386-pe.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=i386pe
diff --git a/ld/config/i386bsd.mh b/ld/config/i386bsd.mh
deleted file mode 100644
index f1cf72a..0000000
--- a/ld/config/i386bsd.mh
+++ /dev/null
@@ -1,5 +0,0 @@
-# The new BSD `make' has a bug: it doesn't pass empty arguments in
-# shell commands. So we need to make this value non-empty in order
-# for the genscripts.sh call to work. There's nothing magic about
-# the value `/lib'; it's just a dummy.
-NATIVE_LIB_DIRS = /lib
diff --git a/ld/config/i386linux.mh b/ld/config/i386linux.mh
deleted file mode 100644
index 052baff..0000000
--- a/ld/config/i386linux.mh
+++ /dev/null
@@ -1,2 +0,0 @@
-# Linux apparently puts crt0.o in /usr/lib, not /lib.
-HOSTING_CRT0=/usr/lib/crt0.o
diff --git a/ld/config/i386lynx.mh b/ld/config/i386lynx.mh
deleted file mode 100644
index 4867740..0000000
--- a/ld/config/i386lynx.mh
+++ /dev/null
@@ -1,2 +0,0 @@
-HOSTING_CRT0=/lib/init1.o
-HOSTING_LIBS=`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc -lm /lib/initn.o
diff --git a/ld/config/i386pe.mh b/ld/config/i386pe.mh
deleted file mode 100644
index 216d6a0..0000000
--- a/ld/config/i386pe.mh
+++ /dev/null
@@ -1,5 +0,0 @@
-CC_FOR_BUILD=gcc
-CC=i386-newlib-pe-gcc -O2
-
-
-
diff --git a/ld/config/i386sco.mh b/ld/config/i386sco.mh
deleted file mode 100644
index bf1a282..0000000
--- a/ld/config/i386sco.mh
+++ /dev/null
@@ -1,4 +0,0 @@
-# For testing, we want to use /lib/crt1.o and /lib/crtn.o so that
-# constructors work properly.
-HOSTING_CRT0=/lib/crt1.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else gcc -print-libgcc-file-name | sed -e 's/libgcc.a/crtbegin.o/'; fi`
-HOSTING_LIBS=`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else gcc -print-libgcc-file-name | sed -e 's/libgcc.a/crtend.o/'; fi` /lib/crtn.o
diff --git a/ld/config/i386v.mh b/ld/config/i386v.mh
deleted file mode 100644
index 2646840..0000000
--- a/ld/config/i386v.mh
+++ /dev/null
@@ -1,4 +0,0 @@
-# For testing, we want to use /lib/crt1.o and /lib/crtn.o so that
-# constructors work properly.
-HOSTING_CRT0=/lib/crt1.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; fi`
-HOSTING_LIBS=`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; fi` /lib/crtn.o
diff --git a/ld/config/i386v.mt b/ld/config/i386v.mt
deleted file mode 100644
index e2f13be..0000000
--- a/ld/config/i386v.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# This doesn't seem to exist.
-EMUL=i386v
diff --git a/ld/config/i386v4.mh b/ld/config/i386v4.mh
deleted file mode 100644
index 7a36f9c..0000000
--- a/ld/config/i386v4.mh
+++ /dev/null
@@ -1,3 +0,0 @@
-HOSTING_CRT0=/usr/ccs/lib/crt1.o /usr/ccs/lib/crti.o /usr/ccs/lib/values-Xa.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else gcc -print-libgcc-file-name | sed -e 's/libgcc.a/crtbegin.o/'; fi`
-HOSTING_LIBS=`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else gcc -print-libgcc-file-name | sed -e 's/libgcc.a/crtend.o/'; fi` /usr/ccs/lib/crtn.o
-NATIVE_LIB_DIRS=/usr/ccs/lib
diff --git a/ld/config/i960.mt b/ld/config/i960.mt
deleted file mode 100644
index fb6515c..0000000
--- a/ld/config/i960.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=gld960
diff --git a/ld/config/i960coff.mt b/ld/config/i960coff.mt
deleted file mode 100644
index 474bfcf..0000000
--- a/ld/config/i960coff.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=gld960coff
diff --git a/ld/config/ieee-h8300.mt b/ld/config/ieee-h8300.mt
deleted file mode 100644
index 575ff47..0000000
--- a/ld/config/ieee-h8300.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=h8300xray
diff --git a/ld/config/irix4.mh b/ld/config/irix4.mh
deleted file mode 100644
index 0ac5b8c..0000000
--- a/ld/config/irix4.mh
+++ /dev/null
@@ -1,3 +0,0 @@
-# Irix 4.0.1 does not use /lib/crt0.o
-HOSTING_CRT0=/usr/lib/crt1.o
-HOSTING_LIBS=`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc /usr/lib/crtn.o
diff --git a/ld/config/m68k-coff.mt b/ld/config/m68k-coff.mt
deleted file mode 100644
index 98e4de7..0000000
--- a/ld/config/m68k-coff.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=m68kcoff
diff --git a/ld/config/m68k-elf.mt b/ld/config/m68k-elf.mt
deleted file mode 100644
index 44da123..0000000
--- a/ld/config/m68k-elf.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=m68kelf
diff --git a/ld/config/m68k-lynx.mt b/ld/config/m68k-lynx.mt
deleted file mode 100644
index 504661f..0000000
--- a/ld/config/m68k-lynx.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=m68klynx
diff --git a/ld/config/m68k-nbsd.mt b/ld/config/m68k-nbsd.mt
deleted file mode 100644
index f3c8c8a..0000000
--- a/ld/config/m68k-nbsd.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=m68knbsd
diff --git a/ld/config/m68k.mt b/ld/config/m68k.mt
deleted file mode 100644
index 2c7a01e..0000000
--- a/ld/config/m68k.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=m68kaout
diff --git a/ld/config/m68klynx.mh b/ld/config/m68klynx.mh
deleted file mode 100644
index 4867740..0000000
--- a/ld/config/m68klynx.mh
+++ /dev/null
@@ -1,2 +0,0 @@
-HOSTING_CRT0=/lib/init1.o
-HOSTING_LIBS=`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc -lm /lib/initn.o
diff --git a/ld/config/m68kv.mt b/ld/config/m68kv.mt
deleted file mode 100644
index cb4727b..0000000
--- a/ld/config/m68kv.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-# This emulation seems not to exist.
-EMUL=m68kv
diff --git a/ld/config/m88k-bcs.mt b/ld/config/m88k-bcs.mt
deleted file mode 100644
index 601aed1..0000000
--- a/ld/config/m88k-bcs.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=m88kbcs
diff --git a/ld/config/mips-big.mt b/ld/config/mips-big.mt
deleted file mode 100644
index 895fb5d..0000000
--- a/ld/config/mips-big.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=mipsbig
diff --git a/ld/config/mips-idt.mt b/ld/config/mips-idt.mt
deleted file mode 100644
index 5c3920b..0000000
--- a/ld/config/mips-idt.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=mipsidt
diff --git a/ld/config/mips-lit.mt b/ld/config/mips-lit.mt
deleted file mode 100644
index 60138e8..0000000
--- a/ld/config/mips-lit.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=mipslit
diff --git a/ld/config/mips-vr4300.mt b/ld/config/mips-vr4300.mt
deleted file mode 100644
index 962ebd9..0000000
--- a/ld/config/mips-vr4300.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=elf32vr4300
diff --git a/ld/config/mips-vr4300el.mt b/ld/config/mips-vr4300el.mt
deleted file mode 100644
index b330b2b..0000000
--- a/ld/config/mips-vr4300el.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=elf32vr4300el
diff --git a/ld/config/mipsb-elf32.mt b/ld/config/mipsb-elf32.mt
deleted file mode 100644
index 610225a..0000000
--- a/ld/config/mipsb-elf32.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=elf32bmip
diff --git a/ld/config/mipsbsd.mh b/ld/config/mipsbsd.mh
deleted file mode 100644
index bbdebe5..0000000
--- a/ld/config/mipsbsd.mh
+++ /dev/null
@@ -1,2 +0,0 @@
-# BSD 4.4 uses /usr/lib/crt0.o
-HOSTING_CRT0=/usr/lib/crt0.o
diff --git a/ld/config/mipsbsd.mt b/ld/config/mipsbsd.mt
deleted file mode 100644
index d48c647..0000000
--- a/ld/config/mipsbsd.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=mipsbsd
diff --git a/ld/config/mipsl-elf32.mt b/ld/config/mipsl-elf32.mt
deleted file mode 100644
index 4c686ac..0000000
--- a/ld/config/mipsl-elf32.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=elf32lmip
diff --git a/ld/config/mipsl-idt.mt b/ld/config/mipsl-idt.mt
deleted file mode 100644
index c9496c6..0000000
--- a/ld/config/mipsl-idt.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=mipsidtl
diff --git a/ld/config/news.mt b/ld/config/news.mt
deleted file mode 100644
index 9bd82b8..0000000
--- a/ld/config/news.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=news
diff --git a/ld/config/ns32k-nbsd.mt b/ld/config/ns32k-nbsd.mt
deleted file mode 100644
index 54d7c5b..0000000
--- a/ld/config/ns32k-nbsd.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=ns32knbsd
diff --git a/ld/config/ose68.mt b/ld/config/ose68.mt
deleted file mode 100644
index 6d50298..0000000
--- a/ld/config/ose68.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=sun3
diff --git a/ld/config/pc532mach.mt b/ld/config/pc532mach.mt
deleted file mode 100644
index bc21e11..0000000
--- a/ld/config/pc532mach.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-EMUL=pc532machaout
-OTHER_EMULATIONS=epc532machaout.o
diff --git a/ld/config/ppc-elf32.mt b/ld/config/ppc-elf32.mt
deleted file mode 100644
index f0d2056..0000000
--- a/ld/config/ppc-elf32.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=elf32ppc
diff --git a/ld/config/ppc-nw.mt b/ld/config/ppc-nw.mt
deleted file mode 100644
index 56f9727..0000000
--- a/ld/config/ppc-nw.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=ppcnw
diff --git a/ld/config/ppcle-elf32.mt b/ld/config/ppcle-elf32.mt
deleted file mode 100644
index 0c06800..0000000
--- a/ld/config/ppcle-elf32.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=elf32lppc
diff --git a/ld/config/rce-aout.mt b/ld/config/rce-aout.mt
deleted file mode 100644
index 9350550..0000000
--- a/ld/config/rce-aout.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=rce
diff --git a/ld/config/riscix.mt b/ld/config/riscix.mt
deleted file mode 100644
index 16a3d26..0000000
--- a/ld/config/riscix.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=riscix
diff --git a/ld/config/rtbsd.mh b/ld/config/rtbsd.mh
deleted file mode 100644
index 650593b..0000000
--- a/ld/config/rtbsd.mh
+++ /dev/null
@@ -1,6 +0,0 @@
-# The IBM RT/PC has only been supported as a host in a cross-development
-# environment. If you don't have gcc, I was able to get 'hc -Hnocpp -ma'
-# to compile most of the modules, but didn't try running anything.
-HDEFINES = -DNO_VARARGS
-LDFLAGS =
-CC=gcc # hc/pcc just can't cut it
diff --git a/ld/config/sa29200.mt b/ld/config/sa29200.mt
deleted file mode 100644
index 112d81f..0000000
--- a/ld/config/sa29200.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=sa29200
diff --git a/ld/config/solaris2.mh b/ld/config/solaris2.mh
deleted file mode 100644
index 042c2ed..0000000
--- a/ld/config/solaris2.mh
+++ /dev/null
@@ -1,4 +0,0 @@
-# Hosting files for Solaris
-HOSTING_CRT0=`if [ -f ../gcc/crt1.o ]; then echo ../gcc/crt1.o; else gcc -print-libgcc-file-name | sed -e 's/libgcc.a/crt1.o/'; fi` `if [ -f ../gcc/crti.o ]; then echo ../gcc/crti.o; else gcc -print-libgcc-file-name | sed -e 's/libgcc.a/crti.o/'; fi` /usr/ccs/lib/values-Xa.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else gcc -print-libgcc-file-name | sed -e 's/libgcc.a/crtbegin.o/'; fi`
-HOSTING_LIBS=`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else gcc -print-libgcc-file-name | sed -e 's/libgcc.a/crtend.o/'; fi` `if [ -f ../gcc/crtn.o ]; then echo ../gcc/crtn.o; else gcc -print-libgcc-file-name | sed -e 's/libgcc.a/crtn.o/'; fi`
-NATIVE_LIB_DIRS=/usr/ccs/lib
diff --git a/ld/config/sparc-ll.mh b/ld/config/sparc-ll.mh
deleted file mode 100644
index 12cad67..0000000
--- a/ld/config/sparc-ll.mh
+++ /dev/null
@@ -1 +0,0 @@
-HDEFINES=-DHOST_64_BIT="long long"
diff --git a/ld/config/sparc-lynx.mt b/ld/config/sparc-lynx.mt
deleted file mode 100644
index 49ad557..0000000
--- a/ld/config/sparc-lynx.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=sparclynx
diff --git a/ld/config/sparc-nbsd.mt b/ld/config/sparc-nbsd.mt
deleted file mode 100644
index fe3f553..0000000
--- a/ld/config/sparc-nbsd.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=sparcnbsd
diff --git a/ld/config/sparc64-elf.mt b/ld/config/sparc64-elf.mt
deleted file mode 100644
index 28cedb8..0000000
--- a/ld/config/sparc64-elf.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=elf64_sparc
diff --git a/ld/config/st2000.mt b/ld/config/st2000.mt
deleted file mode 100644
index 2c63001..0000000
--- a/ld/config/st2000.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-EMUL=st2000
-
diff --git a/ld/config/sun3.mh b/ld/config/sun3.mh
deleted file mode 100644
index 74bae76..0000000
--- a/ld/config/sun3.mh
+++ /dev/null
@@ -1 +0,0 @@
-HOSTING_CRT0=/usr/lib/crt0.o /usr/lib/Fcrt1.o -L/usr/lib/fsoft.o
diff --git a/ld/config/sun3.mt b/ld/config/sun3.mt
deleted file mode 100644
index 52c36bb..0000000
--- a/ld/config/sun3.mt
+++ /dev/null
@@ -1,2 +0,0 @@
-EMUL=sun3
-
diff --git a/ld/config/sun4.mt b/ld/config/sun4.mt
deleted file mode 100644
index 97bc9f9..0000000
--- a/ld/config/sun4.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=sun4
diff --git a/ld/config/sun4sol2.mt b/ld/config/sun4sol2.mt
deleted file mode 100644
index 398fbdf..0000000
--- a/ld/config/sun4sol2.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=elf32_sparc
diff --git a/ld/config/vax.mt b/ld/config/vax.mt
deleted file mode 100644
index 1cf8421..0000000
--- a/ld/config/vax.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=vax
diff --git a/ld/config/vsta.mt b/ld/config/vsta.mt
deleted file mode 100644
index 7dcc53b..0000000
--- a/ld/config/vsta.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=vsta
diff --git a/ld/config/vxworks68.mt b/ld/config/vxworks68.mt
deleted file mode 100644
index 6d50298..0000000
--- a/ld/config/vxworks68.mt
+++ /dev/null
@@ -1 +0,0 @@
-EMUL=sun3
diff --git a/ld/config/z8k-coff.mt b/ld/config/z8k-coff.mt
deleted file mode 100644
index ec0a07e..0000000
--- a/ld/config/z8k-coff.mt
+++ /dev/null
@@ -1,5 +0,0 @@
-EMUL=z8001
-EMUL=z8002
-
-
-