This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[PATCH]: Put tables in gas/configure.in into alphabetical order
- From: Nick Clifton <nickc at redhat dot com>
- To: binutils at sources dot redhat dot com
- Date: Mon, 16 Aug 2004 09:26:36 +0100
- Subject: [PATCH]: Put tables in gas/configure.in into alphabetical order
Hi Guys,
I am applying the patch to put the architecture based tables in
gas/configure.in into alphabetical order. I find this helpful when
I am trying to track down a configuration triplet that will not
configure/build for some reason.
Cheers
Nick
gas/ChangeLog
2004-08-16 Nick Clifton <nickc@redhat.com>
* configure.in: Sort architecture based tables alphabetically.
* configure: Regenerate.
Index: gas/configure.in
===================================================================
RCS file: /cvs/src/src/gas/configure.in,v
retrieving revision 1.158
diff -c -3 -p -r1.158 configure.in
*** gas/configure.in 15 Jul 2004 16:26:41 -0000 1.158
--- gas/configure.in 16 Aug 2004 08:24:37 -0000
*************** changequote(,)dnl
*** 118,124 ****
eval `echo $this_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/cpu=\1 vendor=\2 os=\3/'`
changequote([,])dnl
! # check for architecture variants
arch=
endian=
case ${cpu} in
--- 118,125 ----
eval `echo $this_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/cpu=\1 vendor=\2 os=\3/'`
changequote([,])dnl
! # Check for architecture variants.
! # Note: This table is alpha-sorted, please try to keep it that way.
arch=
endian=
case ${cpu} in
*************** changequote([,])dnl
*** 128,140 ****
arm*b|xscale*b|strongarm*b) cpu_type=arm endian=big ;;
arm*|xscale*|strongarm*) cpu_type=arm endian=little ;;
c4x*) cpu_type=tic4x ;;
hppa*) cpu_type=hppa ;;
changequote(,)dnl
i[3-7]86) cpu_type=i386 arch=i386;;
- x86_64) cpu_type=i386 arch=x86_64;;
ia64) cpu_type=ia64 ;;
ip2k) cpu_type=ip2k endian=big ;;
iq2000) cpu_type=iq2000 endian=big ;;
m6811|m6812|m68hc12) cpu_type=m68hc11 ;;
m680[012346]0) cpu_type=m68k ;;
changequote([,])dnl
--- 129,143 ----
arm*b|xscale*b|strongarm*b) cpu_type=arm endian=big ;;
arm*|xscale*|strongarm*) cpu_type=arm endian=little ;;
c4x*) cpu_type=tic4x ;;
+ crx*) cpu_type=crx endian=little ;;
hppa*) cpu_type=hppa ;;
changequote(,)dnl
i[3-7]86) cpu_type=i386 arch=i386;;
ia64) cpu_type=ia64 ;;
ip2k) cpu_type=ip2k endian=big ;;
iq2000) cpu_type=iq2000 endian=big ;;
+ m32r) cpu_type=m32r target_cpu=m32r endian=big ;;
+ m32rle) cpu_type=m32r target_cpu=m32r endian=little ;;
m6811|m6812|m68hc12) cpu_type=m68hc11 ;;
m680[012346]0) cpu_type=m68k ;;
changequote([,])dnl
*************** changequote([,])dnl
*** 164,173 ****
sparc86x*) cpu_type=sparc arch=sparc86x ;;
sparc*) cpu_type=sparc arch=sparclite ;; # ??? See tc-sparc.c.
v850*) cpu_type=v850 ;;
! crx*) cpu_type=crx endian=little ;;
xtensa*) cpu_type=xtensa arch=xtensa ;;
- m32r) cpu_type=m32r target_cpu=m32r endian=big ;;
- m32rle) cpu_type=m32r target_cpu=m32r endian=little ;;
*) cpu_type=${cpu} ;;
esac
--- 167,174 ----
sparc86x*) cpu_type=sparc arch=sparc86x ;;
sparc*) cpu_type=sparc arch=sparclite ;; # ??? See tc-sparc.c.
v850*) cpu_type=v850 ;;
! x86_64) cpu_type=i386 arch=x86_64;;
xtensa*) cpu_type=xtensa arch=xtensa ;;
*) cpu_type=${cpu} ;;
esac
*************** changequote([,])dnl
*** 182,188 ****
bfd_gas=no
em=generic
! # assign object format
case ${generic_target} in
a29k-*-coff) fmt=coff ;;
a29k-amd-udi) fmt=coff ;;
--- 183,190 ----
bfd_gas=no
em=generic
! # Assign object format.
! # Note: This table is alpha-sorted, please try to keep it that way.
case ${generic_target} in
a29k-*-coff) fmt=coff ;;
a29k-amd-udi) fmt=coff ;;
*************** changequote([,])dnl
*** 198,206 ****
alpha*-*-netbsd*) fmt=elf em=nbsd ;;
alpha*-*-openbsd*) fmt=elf em=obsd ;;
- # cpu_type for am33_2.0 is set to mn10300
- mn10300-*-linux*) fmt=elf bfd_gas=yes em=linux ;;
-
arc-*-elf*) fmt=elf ;;
arm-*-aout) fmt=aout ;;
--- 200,205 ----
*************** changequote([,])dnl
*** 401,412 ****
--- 400,421 ----
mmix-*-*) fmt=elf ;;
mn10200-*-*) fmt=elf ;;
+ # cpu_type for am33_2.0 is set to mn10300
+ mn10300-*-linux*) fmt=elf bfd_gas=yes em=linux ;;
mn10300-*-*) fmt=elf ;;
+
msp430-*-*) fmt=elf ;;
+
+ ns32k-pc532-mach*) fmt=aout em=pc532mach ;;
+ ns32k-pc532-ux*) fmt=aout em=pc532mach ;;
+ ns32k-pc532-lites*) fmt=aout em=nbsd532 ;;
+ ns32k-*-*n*bsd*) fmt=aout em=nbsd532 ;;
+
openrisc-*-*) fmt=elf ;;
or32-*-rtems*) fmt=elf ;;
or32-*-coff) fmt=coff ;;
or32-*-elf) fmt=elf ;;
+
pj*) fmt=elf ;;
ppc-*-pe | ppc-*-cygwin*) fmt=coff em=pe ;;
*************** changequote([,])dnl
*** 465,475 ****
shle*-*-kaos*) fmt=elf ;;
sh64-*-elf*) fmt=elf ;;
- ns32k-pc532-mach*) fmt=aout em=pc532mach ;;
- ns32k-pc532-ux*) fmt=aout em=pc532mach ;;
- ns32k-pc532-lites*) fmt=aout em=nbsd532 ;;
- ns32k-*-*n*bsd*) fmt=aout em=nbsd532 ;;
-
sparc-*-rtemsaout*) fmt=aout ;;
sparc-*-rtemself*) fmt=elf ;;
sparc-*-rtems*) fmt=elf ;;
--- 474,479 ----
*************** changequote([,])dnl
*** 491,498 ****
strongarm-*-coff) fmt=coff ;;
strongarm-*-elf) fmt=elf ;;
strongarm-*-kaos*) fmt=elf ;;
- xscale-*-coff) fmt=coff ;;
- xscale-*-elf) fmt=elf ;;
tic30-*-*aout*) fmt=aout bfd_gas=yes ;;
tic30-*-*coff*) fmt=coff bfd_gas=yes ;;
--- 495,500 ----
*************** changequote([,])dnl
*** 512,517 ****
--- 514,522 ----
w65-*-*) fmt=coff ;;
+ xscale-*-coff) fmt=coff ;;
+ xscale-*-elf) fmt=elf ;;
+
xstormy16-*-*) fmt=elf ;;
xtensa-*-*) fmt=elf ;;