bfd:
[deliverable/binutils-gdb.git] / gas / configure.in
index c3467d7761babb4fc4a6dc607274bff6251f0308..01e3e93f337d3c41956a8f1e51ff551470a457d2 100644 (file)
@@ -137,6 +137,7 @@ changequote([,])dnl
       m8*)             cpu_type=m88k ;;
       mips*el)         cpu_type=mips endian=little ;;
       mips*)           cpu_type=mips endian=big ;;
+      or32*)           cpu_type=or32 endian=big ;;
       pjl*)            cpu_type=pj endian=little ;;
       pj*)             cpu_type=pj endian=big ;;
       powerpc*le*)     cpu_type=ppc endian=little ;;
@@ -144,6 +145,7 @@ changequote([,])dnl
       rs6000*)         cpu_type=ppc ;;
       s390x*)          cpu_type=s390 arch=s390x ;;
       s390*)           cpu_type=s390 arch=s390 ;;
+      sh*le)           cpu_type=sh endian=little ;;
       sh*)             cpu_type=sh endian=big ;;
       sparclite*)      cpu_type=sparc arch=sparclite ;;
       sparclet*)       cpu_type=sparc arch=sparclet ;;
@@ -193,6 +195,7 @@ changequote([,])dnl
       arm-*-linux*aout*)               fmt=aout em=linux ;;
       arm*-*-linux-gnu* | arm*-*-uclinux*)     
                                        fmt=elf  em=linux ;;
+      arm-*-netbsdelf*)                 fmt=elf  em=nbsd ;;
       arm-*-netbsd* | arm-*-openbsd*)   fmt=aout em=nbsd ;;
       arm-*-oabi | thumb-*-oabi)        fmt=elf ;;
       arm-epoc-pe | thumb-epoc-pe)      fmt=coff em=epoc-pe ;;
@@ -219,6 +222,7 @@ changequote([,])dnl
                            esac ;;
       hppa-*-*elf*)         fmt=elf em=hppa ;;
       hppa-*-lites*)        fmt=elf em=hppa ;;
+      hppa-*-netbsd*)       fmt=elf em=nbsd ;;
       hppa-*-osf*)          fmt=som em=hppa ;;
       hppa-*-rtems*)        fmt=elf em=hppa ;;
       hppa-*-hpux11*)      case ${cpu} in
@@ -245,8 +249,16 @@ changequote([,])dnl
       i386-*-beoself* | i386-*-beos*) fmt=elf bfd_gas=yes ;;
       i386-*-bsd*)          fmt=aout em=386bsd ;;
       i386-*-netbsd0.8)     fmt=aout em=386bsd ;;
-      i386-*-netbsdelf*)    fmt=elf em=nbsd bfd_gas=yes ;;
-      i386-*-netbsd*)       fmt=aout em=nbsd bfd_gas=yes;;
+      i386-*-netbsd*)       em=nbsd bfd_gas=yes
+                           case ${cpu} in
+                             x86_64)   fmt=elf ;;
+                             *)        case ${os} in
+                                         *elf*) fmt=elf ;;
+                                         *)     fmt=aout ;;
+                                       esac
+                                       ;;
+                           esac
+                           ;;
       i386-*-openbsd*)      fmt=aout em=nbsd bfd_gas=yes;;
       i386-*-linux*aout* | i386-*-linux*oldld)   fmt=aout em=linux ;;
       i386-*-linux*coff*)   fmt=coff em=linux ;;
@@ -305,6 +317,7 @@ changequote([,])dnl
       ia64-*-aix*)         fmt=elf em=ia64aix ;;
       ia64-*-linux-gnu*)    fmt=elf em=linux ;;
       ia64-*-hpux*)        fmt=elf em=hpux ;;
+      ia64-*-netbsd*)       fmt=elf em=nbsd ;;
 
       m32r-*-*)                    fmt=elf bfd_gas=yes ;;
 
@@ -326,7 +339,9 @@ changequote([,])dnl
       m68k-*-linux-gnu*)    fmt=elf em=linux ;;
       m68k-*-gnu*)         fmt=elf ;;
       m68k-*-lynxos*)       fmt=coff em=lynx ;;
-      m68k-*-netbsd*)       fmt=aout em=nbsd bfd_gas=yes ;;
+      m68k-*-netbsdelf*)    fmt=elf em=nbsd bfd_gas=yes ;;
+      m68k-*-netbsdaout* | m68k-*-netbsd*)
+                           fmt=aout em=nbsd bfd_gas=yes ;;
       m68k-*-openbsd*)      fmt=aout em=nbsd bfd_gas=yes ;;
       m68k-apple-aux*)      fmt=coff em=aux ;;
       m68k-*-psos*)         fmt=elf em=psos;;
@@ -338,7 +353,6 @@ changequote([,])dnl
       mcore-*-pe)          fmt=coff em=pe bfd_gas=yes ;;
 
       # don't change em like *-*-bsd does
-      mips-dec-netbsd*)            fmt=elf endian=little ;;
       mips-dec-openbsd*)    fmt=elf endian=little ;;
       mips-dec-bsd*)        fmt=aout endian=little ;;
       mips-sony-bsd*)       fmt=ecoff ;;
@@ -363,6 +377,9 @@ changequote([,])dnl
       mn10200-*-*)         fmt=elf bfd_gas=yes ;;
       mn10300-*-*)         fmt=elf bfd_gas=yes ;;
       openrisc-*-*)        fmt=elf bfd_gas=yes ;;
+      or32-*-rtems*)       fmt=coff ;;
+      or32-*-coff)         fmt=coff ;;
+      or32-*-elf)           fmt=elf ;;
       pj*)                 fmt=elf ;;
       ppc-*-pe | ppc-*-cygwin* | ppc-*-winnt*)
                            fmt=coff em=pe ;;
@@ -394,8 +411,14 @@ changequote([,])dnl
       s390x-*-linux-gnu*)   fmt=elf em=linux ;;
       s390-*-linux-gnu*)    fmt=elf em=linux ;;
 
-      sh*eb-*-linux*)      fmt=elf em=linux endian=big ;;
-      sh*-*-linux*)        fmt=elf em=linux endian=little ;;
+      sh*-*-linux*)        fmt=elf em=linux
+                           case ${cpu} in
+                               sh*eb)
+                                       endian=big ;;
+                               sh*)
+                                       endian=little ;;
+                           esac ;;
+      sh*-*-netbsdelf*)     fmt=elf em=nbsd ;;
       sh-*-elf*)           fmt=elf ;;
       sh-*-coff*)           fmt=coff bfd_gas=yes;;
       sh-*-pe*)             fmt=coff em=pe bfd_gas=yes endian=little ;;
@@ -449,12 +472,13 @@ changequote([,])dnl
                            fmt=aout ;;
       vax-*-vms)            fmt=vms ;;
 
+      w65-*-*)              fmt=coff ;;
+
+      xstormy16-*-*)       fmt=elf bfd_gas=yes ;;
 
       z8k-*-coff | z8k-*-sim)
                            fmt=coff ;;
 
-      w65-*-*)              fmt=coff ;;
-
       *-*-aout | *-*-scout)
                            fmt=aout ;;
       *-*-freebsd*)        fmt=elf em=freebsd bfd_gas=yes ;;
@@ -570,6 +594,11 @@ changequote([,])dnl
          AC_DEFINE_UNQUOTED(DEFAULT_ARCH, "${arch}", [Default architecture.])
        fi
        ;;
+
+      xstormy16)
+       using_cgen=yes
+       ;;
+
       *)
        ;;
     esac
@@ -846,7 +875,7 @@ AC_PROG_CC
 AC_PROG_YACC
 AM_PROG_LEX
 
-ALL_LINGUAS="fr"
+ALL_LINGUAS="fr tr"
 CY_GNU_GETTEXT
 
 AM_MAINTAINER_MODE
This page took 0.02448 seconds and 4 git commands to generate.