[rfa/i386] Consolidate i386 targets

Andrew Cagney
2002-08-03T20:36:01Z

[-- Attachment #1: Type: text/plain, Size: 305 bytes --]

Hello,

This patch replaces a number of explicit i386 (-aout, -coff, -elf, -pe)
targets with a generic ``i386-*'' pattern.

It then updates the MAINTAINERS file so that only one i386 target is
listed or building: i386-elf. This should cut down on the number of
targets that need building.

ok?
Andrew

[-- Attachment #2: diffs --]
[-- Type: text/plain, Size: 1994 bytes --]

2002-08-03 Andrew Cagney <ac131313@redhat.com>

* configure.tgt: Replace i[3456]86-*-pe*, i[3456]86-*-aout*,
i[3456]86-*-coff* and i[3456]86-*-elf* with catch all i[3456]86-*.
* MAINTAINERS: Drop i386-aout and i586-pc-msdosdjgpp from target
list.

Index: MAINTAINERS
===================================================================
RCS file: /cvs/src/src/gdb/MAINTAINERS,v
retrieving revision 1.191
diff -u -r1.191 MAINTAINERS
--- MAINTAINERS 24 Jul 2002 23:51:35 -0000 1.191
+++ MAINTAINERS 3 Aug 2002 20:30:55 -0000
@@ -80,9 +80,6 @@

d30v (--target=d30v-elf OBSOLETE)

- djgpp --target=i586-pc-msdosdjgpp ,-Werror
- (See native and host)
-
fr30 (--target=fr30-elf OBSOLETE)

h8300 --target=h8300hms -Werror
@@ -93,7 +90,7 @@
Maintenance only
Not multi-arch, work in progress

- i386 --target=i386-elf,i386-aout ,-Werror
+ i386 --target=i386-elf ,-Werror
Mark Kettenis kettenis@gnu.org

i960 --target=i960-coff ,-Werror
Index: configure.tgt
===================================================================
RCS file: /cvs/src/src/gdb/configure.tgt,v
retrieving revision 1.75
diff -u -r1.75 configure.tgt
--- configure.tgt 24 Jul 2002 23:51:35 -0000 1.75
+++ configure.tgt 3 Aug 2002 20:30:55 -0000
@@ -87,9 +87,6 @@
i[3456]86-sequent-sysv4*) gdb_target=ptx4 ;;
i[3456]86-sequent-sysv*) gdb_target=ptx ;;
i[3456]86-ncr-*) gdb_target=ncr3000 ;;
-i[3456]86-*-aout*) gdb_target=embed ;;
-i[3456]86-*-coff*) gdb_target=embed ;;
-i[3456]86-*-elf*) gdb_target=embed ;;
i[3456]86-*-aix*) gdb_target=i386aix ;;
i[3456]86-*-bsd*) gdb_target=i386bsd ;;
i[3456]86-*-freebsd*) gdb_target=fbsd ;;
@@ -118,8 +115,8 @@
configdirs="${configdirs} nlm" ;;
i[3456]86-*-osf1mk*) gdb_target=i386mk ;;
i[3456]86-*-cygwin*) gdb_target=cygwin ;;
-i[3456]86-*-pe*) gdb_target=embed ;;
i[3456]86-*-vxworks*) gdb_target=vxworks ;;
+i[3456]86-*) gdb_target=embed ;;

i960-*-bout*) gdb_target=vxworks960 ;;
i960-nindy-coff*) gdb_target=nindy960 ;;