Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
[deliverable/binutils-gdb.git] / gas / configure.in
index 57e5af79f675a757ec6006c3e1ed43f32617bf61..bdcddde1d14740640523527b093bbc1ac4a2fda6 100644 (file)
@@ -164,6 +164,8 @@ changequote([,])dnl
       sparc*)          cpu_type=sparc arch=sparclite ;; # ??? See tc-sparc.c.
       v850*)           cpu_type=v850 ;;
       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
 
@@ -214,10 +216,9 @@ changequote([,])dnl
       arm-**-nto*)                     fmt=elf ;;
       arm-*-oabi | thumb-*-oabi)       fmt=elf ;;
       arm-epoc-pe | thumb-epoc-pe)     fmt=coff em=epoc-pe ;;
-      arm-*-wince)                     fmt=coff em=wince-pe ;;
+      arm-wince-pe | arm-*-wince)       fmt=coff em=wince-pe ;;
       arm-*-pe | thumb-*-pe)           fmt=coff em=pe ;;
       arm-*-riscix*)                   fmt=aout em=riscix ;;
-      arm-*-vxworks)                   fmt=coff ;;
 
       avr-*-*)                         fmt=elf ;;
 
@@ -315,7 +316,6 @@ changequote([,])dnl
       i386-*-mingw32*)                 fmt=coff em=pe ;;
       i386-*-nto-qnx*)                 fmt=elf ;;
       i386-*-*nt*)                     fmt=coff em=pe ;;
-      i386-*-vxworks*)                 fmt=aout ;;
       i386-*-chaos)                    fmt=elf ;;
 
       i860-*-*)                                fmt=elf endian=little
@@ -339,7 +339,8 @@ changequote([,])dnl
 
       iq2000-*-elf)                    fmt=elf bfd_gas=yes ;;
 
-      m32r-*-*)                                fmt=elf ;;
+      m32r-*-elf*)                     fmt=elf ;;
+      m32r-*-linux*)                   fmt=elf em=linux;;
 
       m68hc11-*-* | m6811-*-*)         fmt=elf ;;
       m68hc12-*-* | m6812-*-*)         fmt=elf ;;
@@ -358,6 +359,7 @@ changequote([,])dnl
       m68k-*-hpux*)                    fmt=hp300 em=hp300 ;;
       m68k-*-linux*aout*)              fmt=aout em=linux ;;
       m68k-*-linux-gnu*)               fmt=elf em=linux ;;
+      m68k-*-uclinux*)                 fmt=elf ;;
       m68k-*-gnu*)                     fmt=elf ;;
       m68k-*-lynxos*)                  fmt=coff em=lynx ;;
       m68k-*-netbsdelf*)               fmt=elf em=nbsd ;;
@@ -393,7 +395,6 @@ changequote([,])dnl
       mips-*-elf* | mips-*-rtems*)     fmt=elf ;;
       mips-*-netbsd*)                  fmt=elf ;;
       mips-*-openbsd*)                 fmt=elf ;;
-      mips-*-vxworks*)                 fmt=elf ;;
 
       mmix-*-*)                                fmt=elf ;;
       mn10200-*-*)                     fmt=elf ;;
@@ -407,7 +408,13 @@ changequote([,])dnl
 
       ppc-*-pe | ppc-*-cygwin*)                fmt=coff em=pe ;;
       ppc-*-winnt*)                    fmt=coff em=pe ;;
-      ppc-*-aix5*)                     fmt=coff em=aix5 ;;
+changequote(,)dnl
+      ppc-*-aix5.[01])                 fmt=coff em=aix5 ;;
+changequote([,])dnl
+      ppc-*-aix5.*)                    fmt=coff em=aix5
+       AC_DEFINE(AIX_WEAK_SUPPORT, 1,
+                 [Define if using AIX 5.2 value for C_WEAKEXT.])
+      ;;
       ppc-*-aix*)                      fmt=coff ;;
       ppc-*-beos*)                     fmt=coff ;;
       ppc-*-*n*bsd* | ppc-*-elf*)      fmt=elf ;;
@@ -429,8 +436,6 @@ changequote([,])dnl
       ppc-*-macos* | ppc-*-mpw*)       fmt=coff em=macos ;;
       ppc-*-netware*)                  fmt=elf em=ppcnw ;;
       ppc-**-nto*)                     fmt=elf ;;
-      ppc-*-vxworks*)                  fmt=elf ;;
-      ppc-*-windiss*)                  fmt=elf ;;
       ppc-*-kaos*)                     fmt=elf ;;
 
       s390x-*-linux-gnu*)              fmt=elf em=linux ;;
@@ -448,8 +453,8 @@ changequote([,])dnl
       sh-*-coff*)                      fmt=coff ;;
       sh-*-nto*)                       fmt=elf ;;
       sh-*-pe*)                                fmt=coff em=pe bfd_gas=yes endian=little ;;
-      sh-*-rtemself*)                  fmt=elf ;;
-      sh-*-rtems*)                     fmt=coff ;;
+      sh-*-rtemscoff*)                 fmt=coff ;;
+      sh-*-rtems*)                     fmt=elf ;;
       sh-*-kaos*)                      fmt=elf ;;
       shle*-*-kaos*)                   fmt=elf ;;
       sh64-*-elf*)                     fmt=elf ;;
@@ -496,6 +501,7 @@ changequote([,])dnl
       vax-*-netbsdelf*)                        fmt=elf em=nbsd ;;
       vax-*-netbsd*)                   fmt=aout em=nbsd ;;
       vax-*-bsd* | vax-*-ultrix*)      fmt=aout ;;
+      vax-*-linux-gnu*)                        fmt=elf em=linux bfd_gas=yes ;;
       vax-*-vms)                       fmt=vms ;;
 
       w65-*-*)                         fmt=coff ;;
@@ -514,8 +520,8 @@ changequote([,])dnl
       *-*-xray | *-*-hms)              fmt=coff ;;
       *-*-sim)                         fmt=coff ;;
       *-*-elf | *-*-sysv4* | *-*-solaris*) fmt=elf dev=yes ;;
-      *-*-aros*)                               fmt=elf em=linux bfd_gas=yes ;;
-      *-*-vxworks)                     fmt=aout ;;
+      *-*-aros*)                       fmt=elf em=linux bfd_gas=yes ;;
+      *-*-vxworks | *-*-windiss)       fmt=elf ;;
       *-*-netware)                     fmt=elf ;;
     esac
 
This page took 0.024262 seconds and 4 git commands to generate.