* [patch/rfc] Rationalize Instruction Set Architecture targets
@ 2002-08-05 19:42 Andrew Cagney
2002-08-06 15:53 ` Kevin Buettner
2002-08-17 21:14 ` Andrew Cagney
0 siblings, 2 replies; 5+ messages in thread
From: Andrew Cagney @ 2002-08-05 19:42 UTC (permalink / raw)
To: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 657 bytes --]
Hello,
The attached patch is to follow on the previous MAINTAINERS file patch
which gave the impression of removing djgpp from the target list :-(
This patch:
- changes the target/architecture section to the more exact ``Target
Instruction Set Architecture''.
- where possible changes from an OS specific to a generic target
- where that fails, a more correct and active, cross unix target
I'm not sure how to follow this through. I could commit it all as is,
or incrementally has maintainers for specific targets (eg PPC/rs6000,
i386) give an ok.
It does reduce the number of build targets significantly which is a good
thing.
enjoy,
Andrew
[-- Attachment #2: diffs --]
[-- Type: text/plain, Size: 6522 bytes --]
2002-08-05 Andrew Cagney <ac131313@redhat.com>
* MAINTAINERS (Target Instruction Set Architectures): Rename
Target/Architectures. Replace alpha-dec-osf4.0a with alpha-elf.
Replace vax-dec-vms5.5 with vax-netbsd. Replace s390-linux with
s390-linux-gnu. Replace ia64-linux with ia64-linux-gnu. Remove
redundant i386-aout, mcore-pe, mips64-elf, sparc64-elf.
rs6000-ibm-aix4.1. Remove i586-pc-msdosdjgpp which is already
mentioned under Host/Native.
* config/ia64/ia64.mt: New file.
* config/alpha/alpha.mt: New file.
* configure.tgt: Recognize alpha*-*-*. Combine i[3456]86-*-coff*,
i[3456]86-*-elf*, i[3456]86-*-pe*, and i[3456]86-*-aout* into
i[3456]86-*-*. Add mips*-*-*. Combine powerpc-*-eabi*,
powerpc-*-sysv*, powerpc-*-elf*, powerpcle-*-eabi*,
powerpcle-*-sysv*, powerpcle-*-elf* into powerpc*-*-*. Add
sparc*-*-*. Add ia64*-*-*.
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 6 Aug 2002 02:34:01 -0000
@@ -47,7 +47,7 @@
instantaneous and loud complaints.
-Target/Architecture:
+Target Instruction Set Architectures:
Generic ISA (Instruction Set Architecture) issues, API variants, CPU
variants. *-tdep.c. The Target/Architecture maintainer works with the
@@ -56,7 +56,7 @@
a29k Deleted.
- alpha --target=alpha-dec-osf4.0a -Werror
+ alpha --target=alpha-elf -Werror
Maintenance only
arc --target=arc-elf ,-Werror
@@ -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,14 +90,14 @@
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
Maintenance only
OBSOLETE candidate, not multi-arch
- ia64 --target=ia64-linux ,-Werror
+ ia64 --target=ia64-linux-gnu ,-Werror
Kevin Buettner kevinb@redhat.com
m32r (--target=m32r-elf broken)
@@ -115,10 +112,10 @@
m88k (--target=m88k OBSOLETE)
- mcore --target=mcore-elf,mcore-pe ,-Werror
+ mcore --target=mcore-elf ,-Werror
Maintenance only
- mips --target=mips-elf,mips64-elf ,-Werror
+ mips --target=mips-elf ,-Werror
Andrew Cagney cagney@redhat.com
mn10200 --target=mn10200-elf ,-Werror
@@ -138,16 +135,13 @@
powerpc --target=powerpc-eabi ,-Werror
Kevin Buettner kevinb@redhat.com
- rs6000 --target=rs6000-ibm-aix4.1 ,-Werror
- (see rs6000 native and ppc target)
-
- s390 --target=s390-linux ,-Werror
+ s390 --target=s390-linux-gnu ,-Werror
(contact DJ Barrow djbarrow@de.ibm.com)
sh --target=sh-elf ,-Werror
Elena Zannoni ezannoni@redhat.com
- sparc --target=sparc-elf,sparc64-elf ,-Werror
+ sparc --target=sparc-elf ,-Werror
Maintenance only
tic80 Deleted.
@@ -155,7 +149,7 @@
v850 --target=v850-elf ,-Werror
Maintenance only
- vax --target=vax-dec-vms5.5 ,-Werror
+ vax --target=vax-netbsd ,-Werror
Maintenance only
w65 Deleted.
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 6 Aug 2002 02:34:02 -0000
@@ -42,6 +42,7 @@
alpha*-*-linux*) gdb_target=alpha-linux ;;
alpha*-*-freebsd*) gdb_target=fbsd ;;
alpha*-*-netbsd*) gdb_target=nbsd ;;
+alpha*-*-*) gdb_target=alpha ;;
arc-*-*) gdb_target=arc ;;
@@ -87,9 +88,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 +116,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 ;;
@@ -133,6 +131,7 @@
ia64-*-linux*) gdb_target=linux
build_gdbserver=yes
;;
+ia64*-*-*) gdb_target=ia64 ;;
m32r-*-elf*) gdb_target=m32r ;;
@@ -208,6 +207,7 @@
mips*-*-sysv*) gdb_target=bigmips ;;
mips*-*-riscos*) gdb_target=bigmips ;;
mips*-*-vxworks*) gdb_target=vxmips ;;
+mips*-*-*) gdb_target=embed ;;
mn10200-*-*) gdb_target=mn10200 ;;
mn10300-*-*) gdb_target=mn10300 ;;
@@ -218,22 +218,15 @@
powerpc-*-netbsd*) gdb_target=nbsd ;;
powerpc-*-aix*) gdb_target=aix ;;
-powerpc-*-eabi* | powerpc-*-sysv* | powerpc-*-elf*)
- if test -f ../sim/ppc/Makefile; then
- gdb_target=ppc-sim
- else
- gdb_target=ppc-eabi
- fi ;;
-powerpcle-*-eabi* | powerpcle-*-sysv* | powerpcle-*-elf*)
- if test -f ../sim/ppc/Makefile; then
- gdb_target=ppcle-sim
- else
- gdb_target=ppcle-eabi
- fi ;;
powerpc-*-linux*) gdb_target=linux
build_gdbserver=yes
;;
powerpc-*-vxworks*) gdb_target=vxworks ;;
+powerpc*-*-*) if test -f ../sim/ppc/Makefile; then
+ gdb_target=ppc-sim
+ else
+ gdb_target=ppc-eabi
+ fi ;;
rs6000-*-lynxos*) gdb_target=rs6000lynx ;;
rs6000-*-aix4*) gdb_target=aix4 ;;
@@ -280,6 +273,7 @@
sparc64-*-linux*) gdb_target=sp64linux ;;
sparc64-*-netbsd*) gdb_target=nbsd64 ;;
sparcv9-*-* | sparc64-*-*) gdb_target=sp64 ;;
+sparc*-*-*) gdb_target=sparc-em ;;
xstormy16-*-*) gdb_target=xstormy16 ;;
Index: config/alpha/alpha.mt
===================================================================
RCS file: config/alpha/alpha.mt
diff -N config/alpha/alpha.mt
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ config/alpha/alpha.mt 6 Aug 2002 02:34:02 -0000
@@ -0,0 +1,2 @@
+TDEPFILES= alpha-tdep.o
+TM_FILE= tm-alpha.h
Index: config/ia64/ia64.mt
===================================================================
RCS file: config/ia64/ia64.mt
diff -N config/ia64/ia64.mt
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ config/ia64/ia64.mt 6 Aug 2002 02:34:02 -0000
@@ -0,0 +1,2 @@
+TDEPFILES= ia64-tdep.o
+TM_FILE= tm-ia64.h
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [patch/rfc] Rationalize Instruction Set Architecture targets
2002-08-05 19:42 [patch/rfc] Rationalize Instruction Set Architecture targets Andrew Cagney
@ 2002-08-06 15:53 ` Kevin Buettner
2002-08-08 8:39 ` Andrew Cagney
2002-08-17 20:44 ` Andrew Cagney
2002-08-17 21:14 ` Andrew Cagney
1 sibling, 2 replies; 5+ messages in thread
From: Kevin Buettner @ 2002-08-06 15:53 UTC (permalink / raw)
To: Andrew Cagney, gdb-patches
On Aug 5, 10:42pm, Andrew Cagney wrote:
> I'm not sure how to follow this through. I could commit it all as is,
> or incrementally has maintainers for specific targets (eg PPC/rs6000,
> i386) give an ok.
Okay on the parts I can okay.
Kevin
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [patch/rfc] Rationalize Instruction Set Architecture targets
2002-08-06 15:53 ` Kevin Buettner
@ 2002-08-08 8:39 ` Andrew Cagney
2002-08-17 20:44 ` Andrew Cagney
1 sibling, 0 replies; 5+ messages in thread
From: Andrew Cagney @ 2002-08-08 8:39 UTC (permalink / raw)
To: Kevin Buettner; +Cc: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 329 bytes --]
> On Aug 5, 10:42pm, Andrew Cagney wrote:
>
>
>> I'm not sure how to follow this through. I could commit it all as is,
>> or incrementally has maintainers for specific targets (eg PPC/rs6000,
>> i386) give an ok.
>
>
> Okay on the parts I can okay.
Thanks, I've so far checked in the attached. More to come :-)
Andrew
[-- Attachment #2: diffs --]
[-- Type: text/plain, Size: 1824 bytes --]
2002-08-08 Andrew Cagney <ac131313@redhat.com>
* configure.tgt: Replace powerpc-*-sysv*, powerpc-*-elf*,
powerpcle-*-eabi*, powerpcle-*-sysv* and powerpcle-*-elf* with
powerpc*-*-*.
* MAINTAINERS: Remove redundant rs6000-ibm-aix4.1 target.
Index: MAINTAINERS
===================================================================
RCS file: /cvs/src/src/gdb/MAINTAINERS,v
retrieving revision 1.192
diff -u -r1.192 MAINTAINERS
--- MAINTAINERS 6 Aug 2002 14:12:46 -0000 1.192
+++ MAINTAINERS 8 Aug 2002 15:06:02 -0000
@@ -136,9 +136,6 @@
powerpc --target=powerpc-eabi ,-Werror
Kevin Buettner kevinb@redhat.com
- rs6000 --target=rs6000-ibm-aix4.1 ,-Werror
- (see rs6000 native and ppc target)
-
s390 --target=s390-linux ,-Werror
(contact DJ Barrow djbarrow@de.ibm.com)
Index: configure.tgt
===================================================================
RCS file: /cvs/src/src/gdb/configure.tgt,v
retrieving revision 1.76
diff -u -r1.76 configure.tgt
--- configure.tgt 6 Aug 2002 14:12:46 -0000 1.76
+++ configure.tgt 8 Aug 2002 15:06:02 -0000
@@ -218,22 +218,15 @@
powerpc-*-netbsd*) gdb_target=nbsd ;;
powerpc-*-aix*) gdb_target=aix ;;
-powerpc-*-eabi* | powerpc-*-sysv* | powerpc-*-elf*)
- if test -f ../sim/ppc/Makefile; then
- gdb_target=ppc-sim
- else
- gdb_target=ppc-eabi
- fi ;;
-powerpcle-*-eabi* | powerpcle-*-sysv* | powerpcle-*-elf*)
- if test -f ../sim/ppc/Makefile; then
- gdb_target=ppcle-sim
- else
- gdb_target=ppcle-eabi
- fi ;;
powerpc-*-linux*) gdb_target=linux
build_gdbserver=yes
;;
powerpc-*-vxworks*) gdb_target=vxworks ;;
+powerpc*-*-*) if test -f ../sim/ppc/Makefile; then
+ gdb_target=ppc-sim
+ else
+ gdb_target=ppc-eabi
+ fi ;;
rs6000-*-lynxos*) gdb_target=rs6000lynx ;;
rs6000-*-aix4*) gdb_target=aix4 ;;
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [patch/rfc] Rationalize Instruction Set Architecture targets
2002-08-06 15:53 ` Kevin Buettner
2002-08-08 8:39 ` Andrew Cagney
@ 2002-08-17 20:44 ` Andrew Cagney
1 sibling, 0 replies; 5+ messages in thread
From: Andrew Cagney @ 2002-08-17 20:44 UTC (permalink / raw)
To: Kevin Buettner; +Cc: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 314 bytes --]
> On Aug 5, 10:42pm, Andrew Cagney wrote:
>
>
>> I'm not sure how to follow this through. I could commit it all as is,
>> or incrementally has maintainers for specific targets (eg PPC/rs6000,
>> i386) give an ok.
>
>
> Okay on the parts I can okay.
I've now also checked in the attached.
enjoy,
Andrew
[-- Attachment #2: diffs --]
[-- Type: text/plain, Size: 2280 bytes --]
2002-08-17 Andrew Cagney <ac131313@redhat.com>
* config/ia64/ia64.mt: New file.
* config/alpha/alpha.mt: New file.
* MAINTAINERS: Change the alpha target to alpha-elf and IA-64 to
ia64-linux-gnu. Mention that ia64-elf is broken.
* configure.tgt: Add alpha*-*-* and ia64*-*-* patterns.
Index: MAINTAINERS
===================================================================
RCS file: /cvs/src/src/gdb/MAINTAINERS,v
retrieving revision 1.193
diff -u -r1.193 MAINTAINERS
--- MAINTAINERS 8 Aug 2002 15:37:29 -0000 1.193
+++ MAINTAINERS 18 Aug 2002 03:25:49 -0000
@@ -56,7 +56,7 @@
a29k Deleted.
- alpha --target=alpha-dec-osf4.0a -Werror
+ alpha --target=alpha-elf -Werror
Maintenance only
arc (--target=arc-elf OBSOLETE)
@@ -98,7 +98,8 @@
Maintenance only
OBSOLETE candidate, not multi-arch
- ia64 --target=ia64-linux ,-Werror
+ ia64 --target=ia64-linux-gnu ,-Werror
+ (--target=ia64-elf broken)
Kevin Buettner kevinb@redhat.com
m32r (--target=m32r-elf broken)
Index: configure.tgt
===================================================================
RCS file: /cvs/src/src/gdb/configure.tgt,v
retrieving revision 1.78
diff -u -r1.78 configure.tgt
--- configure.tgt 15 Aug 2002 22:51:40 -0000 1.78
+++ configure.tgt 18 Aug 2002 03:25:49 -0000
@@ -42,6 +42,7 @@
alpha*-*-linux*) gdb_target=alpha-linux ;;
alpha*-*-freebsd*) gdb_target=fbsd ;;
alpha*-*-netbsd*) gdb_target=nbsd ;;
+alpha*-*-*) gdb_target=alpha ;;
# OBSOLETE arc-*-*) gdb_target=arc ;;
@@ -133,6 +134,7 @@
ia64-*-linux*) gdb_target=linux
build_gdbserver=yes
;;
+ia64*-*-*) gdb_target=ia64 ;;
m32r-*-elf*) gdb_target=m32r ;;
Index: config/alpha/alpha.mt
===================================================================
RCS file: config/alpha/alpha.mt
diff -N config/alpha/alpha.mt
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ config/alpha/alpha.mt 18 Aug 2002 03:25:49 -0000
@@ -0,0 +1,2 @@
+TDEPFILES= alpha-tdep.o
+TM_FILE= tm-alpha.h
Index: config/ia64/ia64.mt
===================================================================
RCS file: config/ia64/ia64.mt
diff -N config/ia64/ia64.mt
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ config/ia64/ia64.mt 18 Aug 2002 03:25:49 -0000
@@ -0,0 +1,2 @@
+TDEPFILES= ia64-tdep.o
+TM_FILE= tm-ia64.h
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [patch/rfc] Rationalize Instruction Set Architecture targets
2002-08-05 19:42 [patch/rfc] Rationalize Instruction Set Architecture targets Andrew Cagney
2002-08-06 15:53 ` Kevin Buettner
@ 2002-08-17 21:14 ` Andrew Cagney
1 sibling, 0 replies; 5+ messages in thread
From: Andrew Cagney @ 2002-08-17 21:14 UTC (permalink / raw)
To: Andrew Cagney; +Cc: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 774 bytes --]
> Hello,
>
> The attached patch is to follow on the previous MAINTAINERS file patch which gave the impression of removing djgpp from the target list :-(
>
> This patch:
>
> - changes the target/architecture section to the more exact ``Target Instruction Set Architecture''.
>
> - where possible changes from an OS specific to a generic target
>
> - where that fails, a more correct and active, cross unix target
>
> I'm not sure how to follow this through. I could commit it all as is, or incrementally has maintainers for specific targets (eg PPC/rs6000, i386) give an ok.
>
> It does reduce the number of build targets significantly which is a good thing.
I've committed the attached. It removes the redundency present in the
MAINTAINERS file.
enjoy,
Andrew
[-- Attachment #2: diffs --]
[-- Type: text/plain, Size: 2280 bytes --]
2002-08-17 Andrew Cagney <ac131313@redhat.com>
* config/ia64/ia64.mt: New file.
* config/alpha/alpha.mt: New file.
* MAINTAINERS: Change the alpha target to alpha-elf and IA-64 to
ia64-linux-gnu. Mention that ia64-elf is broken.
* configure.tgt: Add alpha*-*-* and ia64*-*-* patterns.
Index: MAINTAINERS
===================================================================
RCS file: /cvs/src/src/gdb/MAINTAINERS,v
retrieving revision 1.193
diff -u -r1.193 MAINTAINERS
--- MAINTAINERS 8 Aug 2002 15:37:29 -0000 1.193
+++ MAINTAINERS 18 Aug 2002 03:25:49 -0000
@@ -56,7 +56,7 @@
a29k Deleted.
- alpha --target=alpha-dec-osf4.0a -Werror
+ alpha --target=alpha-elf -Werror
Maintenance only
arc (--target=arc-elf OBSOLETE)
@@ -98,7 +98,8 @@
Maintenance only
OBSOLETE candidate, not multi-arch
- ia64 --target=ia64-linux ,-Werror
+ ia64 --target=ia64-linux-gnu ,-Werror
+ (--target=ia64-elf broken)
Kevin Buettner kevinb@redhat.com
m32r (--target=m32r-elf broken)
Index: configure.tgt
===================================================================
RCS file: /cvs/src/src/gdb/configure.tgt,v
retrieving revision 1.78
diff -u -r1.78 configure.tgt
--- configure.tgt 15 Aug 2002 22:51:40 -0000 1.78
+++ configure.tgt 18 Aug 2002 03:25:49 -0000
@@ -42,6 +42,7 @@
alpha*-*-linux*) gdb_target=alpha-linux ;;
alpha*-*-freebsd*) gdb_target=fbsd ;;
alpha*-*-netbsd*) gdb_target=nbsd ;;
+alpha*-*-*) gdb_target=alpha ;;
# OBSOLETE arc-*-*) gdb_target=arc ;;
@@ -133,6 +134,7 @@
ia64-*-linux*) gdb_target=linux
build_gdbserver=yes
;;
+ia64*-*-*) gdb_target=ia64 ;;
m32r-*-elf*) gdb_target=m32r ;;
Index: config/alpha/alpha.mt
===================================================================
RCS file: config/alpha/alpha.mt
diff -N config/alpha/alpha.mt
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ config/alpha/alpha.mt 18 Aug 2002 03:25:49 -0000
@@ -0,0 +1,2 @@
+TDEPFILES= alpha-tdep.o
+TM_FILE= tm-alpha.h
Index: config/ia64/ia64.mt
===================================================================
RCS file: config/ia64/ia64.mt
diff -N config/ia64/ia64.mt
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ config/ia64/ia64.mt 18 Aug 2002 03:25:49 -0000
@@ -0,0 +1,2 @@
+TDEPFILES= ia64-tdep.o
+TM_FILE= tm-ia64.h
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-08-18 4:14 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-05 19:42 [patch/rfc] Rationalize Instruction Set Architecture targets Andrew Cagney
2002-08-06 15:53 ` Kevin Buettner
2002-08-08 8:39 ` Andrew Cagney
2002-08-17 20:44 ` Andrew Cagney
2002-08-17 21:14 ` Andrew Cagney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox