* expr.c (make_expr_symbol): Fold FAKE_LABEL_NAME use into the
[deliverable/binutils-gdb.git] / gas / configure.in
index da336f85f55d3b9fb3057895db406c48db5d8c77..c06fe7cc63032b2d87413697ec8cb3bcbf2de863 100644 (file)
@@ -119,7 +119,7 @@ changequote([,])dnl
       arm*|xscale*|strongarm*)    cpu_type=arm endian=little ;;
       hppa*)           cpu_type=hppa ;;
 changequote(,)dnl
-      i[3456]86)       cpu_type=i386 arch=i386;;
+      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 ;; 
@@ -153,6 +153,7 @@ changequote([,])dnl
       sparc86x*)       cpu_type=sparc arch=sparc86x  ;;
       sparc*)          cpu_type=sparc arch=sparclite ;; # ??? See tc-sparc.c.
       v850*)           cpu_type=v850 ;;
+      xtensa*)         cpu_type=xtensa arch=xtensa ;;
       *)               cpu_type=${cpu} ;;
     esac
 
@@ -190,6 +191,7 @@ changequote([,])dnl
       arm-*-coff | thumb-*-coff)       fmt=coff ;;
       arm-*-rtems | thumb-*-rtems)     fmt=elf ;;
       arm-*-elf | thumb-*-elf)         fmt=elf ;;
+      arm-*-kaos*)                     fmt=elf ;;
       arm*-*-conix*)                   fmt=elf ;;
       arm-*-linux*aout*)               fmt=aout em=linux ;;
       arm*-*-linux-gnu*)               fmt=elf  em=linux ;;
@@ -247,6 +249,7 @@ changequote([,])dnl
       i386-*-beos*)                    fmt=elf ;;
       i386-*-coff)                     fmt=coff ;;
       i386-*-elf)                      fmt=elf ;;
+      i386-*-kaos*)                    fmt=elf ;;
       i386-*-bsd*)                     fmt=aout em=386bsd ;;
       i386-*-netbsd0.8)                        fmt=aout em=386bsd ;;
       i386-*-netbsdpe*)                        fmt=coff em=pe ;;
@@ -370,7 +373,8 @@ changequote([,])dnl
       mips-*-sysv4*MP* | mips-*-gnu*)  fmt=elf em=tmips ;;
       mips-*-sysv*)                    fmt=ecoff ;;
       mips-*-elf* | mips-*-rtems*)     fmt=elf ;;
-      mips-*-*n*bsd*)                  fmt=elf ;;
+      mips-*-netbsd*)                  fmt=elf ;;
+      mips-*-openbsd*)                 fmt=elf ;;
       mips-*-vxworks*)                 fmt=elf ;;
 
       mmix-*-*)                                fmt=elf ;;
@@ -409,6 +413,7 @@ changequote([,])dnl
       ppc-**-nto*)                     fmt=elf ;;
       ppc-*-vxworks*)                  fmt=elf ;;
       ppc-*-windiss*)                  fmt=elf ;;
+      ppc-*-kaos*)                     fmt=elf ;;
 
       s390x-*-linux-gnu*)              fmt=elf em=linux ;;
       s390-*-linux-gnu*)               fmt=elf em=linux ;;
@@ -427,6 +432,8 @@ changequote([,])dnl
       sh-*-pe*)                                fmt=coff em=pe bfd_gas=yes endian=little ;;
       sh-*-rtemself*)                  fmt=elf ;;
       sh-*-rtems*)                     fmt=coff ;;
+      sh-*-kaos*)                      fmt=elf ;;
+      shle*-*-kaos*)                   fmt=elf ;;
       sh64-*-elf*)                     fmt=elf ;;
 
       ns32k-pc532-mach*)               fmt=aout em=pc532mach ;;
@@ -454,6 +461,7 @@ changequote([,])dnl
                        esac ;;
       strongarm-*-coff)                        fmt=coff ;;
       strongarm-*-elf)                 fmt=elf ;;
+      strongarm-*-kaos*)               fmt=elf ;;
       xscale-*-coff)                   fmt=coff ;;
       xscale-*-elf)                    fmt=elf ;;
 
@@ -476,6 +484,8 @@ changequote([,])dnl
 
       xstormy16-*-*)                   fmt=elf ;;
 
+      xtensa-*-*)                      fmt=elf ;;
+
       z8k-*-coff | z8k-*-sim)          fmt=coff ;;
 
       *-*-aout | *-*-scout)            fmt=aout ;;
@@ -570,12 +580,26 @@ changequote([,])dnl
            mips_default_64bit=0
            ;;
        esac
+       # Decide which ABI to target by default.
+       case ${target} in
+         mips64*-linux* | mips-sgi-irix6*)
+           mips_default_abi=N32_ABI
+           ;;
+         mips*-linux*)
+           mips_default_abi=O32_ABI
+           ;;
+         *)
+           mips_default_abi=NO_ABI
+           ;;
+       esac
        AC_DEFINE_UNQUOTED(MIPS_CPU_STRING_DEFAULT, "$mips_cpu",
                           [Default CPU for MIPS targets. ])
        AC_DEFINE_UNQUOTED(USE_E_MIPS_ABI_O32, $use_e_mips_abi_o32,
                           [Allow use of E_MIPS_ABI_O32 on MIPS targets. ])
        AC_DEFINE_UNQUOTED(MIPS_DEFAULT_64BIT, $mips_default_64bit,
                           [Generate 64-bit code by default on MIPS targets. ])
+       AC_DEFINE_UNQUOTED(MIPS_DEFAULT_ABI, $mips_default_abi,
+                          [Choose a default ABI for MIPS targets. ])
        ;;
     esac
 
@@ -642,6 +666,13 @@ changequote([,])dnl
        using_cgen=yes
        ;;
 
+      xtensa)
+       echo ${extra_objects} | grep -s "xtensa-relax.o"
+       if test $? -ne 0 ; then
+         extra_objects="$extra_objects xtensa-relax.o"
+       fi
+       ;;
+
       *)
        ;;
     esac
This page took 0.027587 seconds and 4 git commands to generate.