diff options
author | Nick Clifton <nickc@redhat.com> | 2004-08-16 08:25:44 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2004-08-16 08:25:44 +0000 |
commit | 4101eec8ebf4595ae25f6947b82b6c2d822ffa76 (patch) | |
tree | 8cb4873eb215c357f94f7a4ee02419c02ce473d9 /gas/configure | |
parent | 1f216d099457a9559a3c6cf40d0096461b0ef9cc (diff) | |
download | gdb-4101eec8ebf4595ae25f6947b82b6c2d822ffa76.zip gdb-4101eec8ebf4595ae25f6947b82b6c2d822ffa76.tar.gz gdb-4101eec8ebf4595ae25f6947b82b6c2d822ffa76.tar.bz2 |
Sort architecture based tables alphabetically.
Diffstat (limited to 'gas/configure')
-rwxr-xr-x | gas/configure | 41 |
1 files changed, 23 insertions, 18 deletions
diff --git a/gas/configure b/gas/configure index 08ffddd..a27d90a 100755 --- a/gas/configure +++ b/gas/configure @@ -3340,7 +3340,7 @@ darwin* | rhapsody*) esac ;; -freebsd* ) +freebsd* | kfreebsd*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then case $host_cpu in i*86 ) @@ -3408,7 +3408,7 @@ linux-gnu*) lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` ;; -netbsd*) +netbsd* | knetbsd*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' else @@ -4159,7 +4159,8 @@ for this_target in $target $canon_targets ; do eval `echo $this_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/cpu=\1 vendor=\2 os=\3/'` - # check for architecture variants + # Check for architecture variants. + # Note: This table is alpha-sorted, please try to keep it that way. arch= endian= case ${cpu} in @@ -4169,12 +4170,14 @@ for this_target in $target $canon_targets ; do 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 ;; 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 ;; + 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 ;; m68008) cpu_type=m68k ;; @@ -4203,10 +4206,8 @@ for this_target in $target $canon_targets ; do 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 ;; + x86_64) cpu_type=i386 arch=x86_64;; 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 @@ -4221,7 +4222,8 @@ for this_target in $target $canon_targets ; do bfd_gas=no em=generic - # assign object format + # 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 ;; @@ -4237,9 +4239,6 @@ for this_target in $target $canon_targets ; do 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 ;; @@ -4449,12 +4448,22 @@ echo "$as_me: error: Unknown vendor for mips-bsd configuration." >&2;} 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 ;; @@ -4525,11 +4534,6 @@ _ACEOF 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 ;; @@ -4551,8 +4555,6 @@ _ACEOF 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 ;; @@ -4572,6 +4574,9 @@ _ACEOF w65-*-*) fmt=coff ;; + xscale-*-coff) fmt=coff ;; + xscale-*-elf) fmt=elf ;; + xstormy16-*-*) fmt=elf ;; xtensa-*-*) fmt=elf ;; |