]> Git Repo - binutils.git/blobdiff - gas/configure.in
* config/tc-alpha.h (md_operand): Define with a null expansion,
[binutils.git] / gas / configure.in
index 98977c23d4ca24de06387da81ff6a09ce82a5f96..de3f262800e49f3245f78a537758610f05f1d836 100644 (file)
@@ -63,7 +63,9 @@ emulations=""
 
 for this_target in $target $canon_targets ; do
 
-    eval `echo $this_target | sed 's/^\(.*\)-\(.*\)-\(.*\)$/cpu=\1 vendor=\2 os=\3/'`
+changequote(,)dnl
+    eval `echo $this_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/cpu=\1 vendor=\2 os=\3/'`
+changequote([,])dnl
 
     # check for architecture variants
     case ${cpu} in
@@ -77,7 +79,7 @@ changequote(,)dnl
       m683??)          cpu_type=m68k ;;
 changequote([,])dnl
       m8*)             cpu_type=m88k ;;
-      mips*el)         cpu_type=mips endian=little;;
+      mips*el)         cpu_type=mips endian=little ;;
       mips*)           cpu_type=mips endian=big ;;
       powerpcle*)      cpu_type=ppc endian=little ;;
       powerpc*)                cpu_type=ppc endian=big ;;
@@ -107,6 +109,7 @@ changequote([,])dnl
       a29k-nyu-sym1)        fmt=coff targ=ebmon29k ;;
       a29k-*-vxworks*)      fmt=coff ;;
 
+      alpha-*-*vms*)       fmt=evax ;;
       alpha-*-netware*)     fmt=ecoff ;;
       alpha-*-osf*)         fmt=ecoff ;;
       alpha-*-linuxecoff*)  fmt=ecoff ;;
@@ -222,12 +225,15 @@ changequote([,])dnl
       mips-*-irix*)         fmt=ecoff targ=mips-big ;;
       mips-*-riscos*)       fmt=ecoff targ=mips-big ;;
       mips-*-sysv*)         fmt=ecoff targ=mips-big ;;
-      mips-*-elf*)          fmt=elf 
+      mips-*-elf* | mips-*-rtems* | mips-*-linux*)
+                           fmt=elf 
                            case "$endian" in
                            big) targ=mips-big ;;
                            *)   targ=mips-lit ;;
                            esac
                            ;;
+      mn10200-*-*)         fmt=elf bfd_gas=yes ;;
+      mn10300-*-*)         fmt=elf bfd_gas=yes ;;
       ppc-*-pe | ppc-*-cygwin32 | ppc-*-winnt*)
                            fmt=coff em=pe 
                            case "$endian" in
@@ -266,7 +272,8 @@ changequote([,])dnl
                            fmt=coff em=macos ;;
       ppc-*-netware*)       fmt=elf em=ppcnw ;;
 
-      sh-*-coff)            fmt=coff ;;
+      sh-*-elf*)           fmt=elf ;;
+      sh-*-coff*)           fmt=coff ;;
 
       ns32k-pc532-mach* | ns32k-pc532-ux*)    fmt=aout em=pc532mach ;;
       ns32k-pc532-netbsd* | ns32k-pc532-lites*)  fmt=aout em=nbsd532 ;;
@@ -274,7 +281,7 @@ changequote([,])dnl
       sparc-*-rtems*)       fmt=aout ;;
       sparc-*-sunos4*)      fmt=aout em=sun3 ;;
       sparc-*-aout | sparc*-*-vxworks*)
-                           fmt=aout ;;
+                           fmt=aout em=sparcaout ;;
       sparc-*-coff)         fmt=coff ;;
       sparc-*-lynxos*)      fmt=coff em=lynx ;;
       sparc-fujitsu-none)   fmt=aout ;;
@@ -282,6 +289,11 @@ changequote([,])dnl
                            fmt=elf ;;
       sparc-*-netbsd*)      fmt=aout em=nbsd bfd_gas=yes ;;
 
+# start-sanitize-tic80
+      tic80-*-coff)        fmt=coff targ=tic80coff;;
+# end-sanitize-tic80
+      v850-*-*)                    fmt=elf bfd_gas=yes ;;
+
       vax-*-bsd* | vax-*-ultrix*)
                            fmt=aout ;;
       vax-*-vms)            fmt=vms ;;
@@ -682,6 +694,7 @@ GAS_CHECK_DECL_NEEDED(errno, f, int f, [
 ])
 
 HLDFLAGS=
+HLDENV=
 RPATH_ENVVAR=LD_LIBRARY_PATH
 # If we have shared libraries, try to set rpath reasonably.
 if test "${shared}" = "true"; then
@@ -698,9 +711,12 @@ if test "${shared}" = "true"; then
   *-*-linux*)
     HLDFLAGS='-Wl,-rpath,$(libdir)'
     ;;
-  *-*-sysv4* | *-*-solaris*)
+  *-*-solaris*)
     HLDFLAGS='-R $(libdir)'
     ;;
+  *-*-sysv4*)
+    HLDENV='if test -z "$${LD_RUN_PATH}"; then LD_RUN_PATH=$(libdir); else LD_RUN_PATH=$${LD_RUN_PATH}:$(libdir); fi; export LD_RUN_PATH;'
+    ;;
   esac
 fi
 
@@ -726,6 +742,7 @@ case "${host}" in
     ;;
 esac
 AC_SUBST(HLDFLAGS)
+AC_SUBST(HLDENV)
 AC_SUBST(RPATH_ENVVAR)
 
 dnl This must come last.
This page took 0.027114 seconds and 4 git commands to generate.