OSDN Git Service

* Makefile.am (TARG_ENV_HFILES): Add te-armlinuxeabi.h.
authormmitchel <mmitchel>
Fri, 3 Dec 2004 01:22:12 +0000 (01:22 +0000)
committermmitchel <mmitchel>
Fri, 3 Dec 2004 01:22:12 +0000 (01:22 +0000)
* configure.in: Use it for arm*-*-linux-gnueabi*.
* config/tc-arm.c: Allow emulation file to set FPU_DEFAULT.
* config/te-armlinuxeabi.h: New file.
* Makefile.in: Regenerated.
* aclocal.m4: Likewise.
* configure: Likewise.
* doc/Makefile.in: Regenerated.

gas/ChangeLog
gas/Makefile.am
gas/Makefile.in
gas/aclocal.m4
gas/config/tc-arm.c
gas/config/te-armlinuxeabi.h [new file with mode: 0644]
gas/configure
gas/configure.in
gas/doc/Makefile.in

index 17247a1..5603ae8 100644 (file)
@@ -1,3 +1,14 @@
+2004-12-01  Mark Mitchell  <mark@codesourcery.com>
+
+       * Makefile.am (TARG_ENV_HFILES): Add te-armlinuxeabi.h.
+       * configure.in: Use it for arm*-*-linux-gnueabi*.
+       * config/tc-arm.c: Allow emulation file to set FPU_DEFAULT.
+       * config/te-armlinuxeabi.h: New file.
+       * Makefile.in: Regenerated.
+       * aclocal.m4: Likewise.
+       * configure: Likewise.
+       * doc/Makefile.in: Regenerated. 
+
 2004-12-02  Bob Wilson  <bob.wilson@acm.org>
 
        * config/tc-xtensa.c (xtensa_switch_section_emit_state): Use subseg_set.
index f9bd1f6..f91d15a 100644 (file)
@@ -372,6 +372,7 @@ OBJ_FORMAT_HFILES = \
 
 TARG_ENV_HFILES = \
        config/te-386bsd.h \
+       config/te-armlinuxeabi.h \
        config/te-aux.h \
        config/te-delta.h \
        config/te-delt88.h \
index fe24efe..4f1612a 100644 (file)
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.9.2 from Makefile.am.
+# Makefile.in generated by automake 1.9.3 from Makefile.am.
 # @configure_input@
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -599,6 +599,7 @@ OBJ_FORMAT_HFILES = \
 # Emulation header files in config
 TARG_ENV_HFILES = \
        config/te-386bsd.h \
+       config/te-armlinuxeabi.h \
        config/te-aux.h \
        config/te-delta.h \
        config/te-delt88.h \
index eeef70b..bc4905e 100644 (file)
@@ -1,4 +1,4 @@
-# generated automatically by aclocal 1.9.2 -*- Autoconf -*-
+# generated automatically by aclocal 1.9.3 -*- Autoconf -*-
 
 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
 # Free Software Foundation, Inc.
@@ -40,7 +40,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
 # Call AM_AUTOMAKE_VERSION so it can be traced.
 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-        [AM_AUTOMAKE_VERSION([1.9.2])])
+        [AM_AUTOMAKE_VERSION([1.9.3])])
 
 # AM_AUX_DIR_EXPAND
 
index 6c13637..ff2e4aa 100644 (file)
@@ -115,23 +115,21 @@ enum arm_float_abi
 #endif
 #endif
 
-#ifdef TE_LINUX
-#define FPU_DEFAULT FPU_ARCH_FPA
-#endif
-
-#ifdef TE_NetBSD
-#ifdef OBJ_ELF
-#define FPU_DEFAULT FPU_ARCH_VFP       /* Soft-float, but VFP order.  */
-#else
-/* Legacy a.out format.  */
-#define FPU_DEFAULT FPU_ARCH_FPA       /* Soft-float, but FPA order.  */
-#endif
-#endif
-
-/* For backwards compatibility we default to the FPA.  */
 #ifndef FPU_DEFAULT
-#define FPU_DEFAULT FPU_ARCH_FPA
-#endif
+# ifdef TE_LINUX
+#  define FPU_DEFAULT FPU_ARCH_FPA
+# elif defined (TE_NetBSD)
+#  ifdef OBJ_ELF
+#   define FPU_DEFAULT FPU_ARCH_VFP    /* Soft-float, but VFP order.  */
+#  else
+    /* Legacy a.out format.  */
+#   define FPU_DEFAULT FPU_ARCH_FPA    /* Soft-float, but FPA order.  */
+#  endif
+# else
+   /* For backwards compatibility, default to FPA.  */
+#  define FPU_DEFAULT FPU_ARCH_FPA
+# endif
+#endif /* ifndef FPU_DEFAULT */
 
 #define streq(a, b)           (strcmp (a, b) == 0)
 #define skip_whitespace(str)  while (*(str) == ' ') ++(str)
diff --git a/gas/config/te-armlinuxeabi.h b/gas/config/te-armlinuxeabi.h
new file mode 100644 (file)
index 0000000..e6abf01
--- /dev/null
@@ -0,0 +1,4 @@
+#include "te-linux.h"
+
+/* The EABI requires the use of VFP.  */
+#define FPU_DEFAULT FPU_ARCH_VFP_V2
index e076a38..829692b 100755 (executable)
@@ -4270,6 +4270,7 @@ _ACEOF
       arm-*-kaos*)                     fmt=elf ;;
       arm*-*-conix*)                   fmt=elf ;;
       arm-*-linux*aout*)               fmt=aout em=linux ;;
+      arm*-*-linux-gnueabi*)           fmt=elf  em=armlinuxeabi ;;
       arm*-*-linux-gnu*)               fmt=elf  em=linux ;;
       arm*-*-uclinux*)                 fmt=elf  em=linux ;;
       arm-*-netbsdelf*)                 fmt=elf  em=nbsd ;;
index b79617a..b2afeae 100644 (file)
@@ -216,6 +216,7 @@ changequote([,])dnl
       arm-*-kaos*)                     fmt=elf ;;
       arm*-*-conix*)                   fmt=elf ;;
       arm-*-linux*aout*)               fmt=aout em=linux ;;
+      arm*-*-linux-gnueabi*)           fmt=elf  em=armlinuxeabi ;;      
       arm*-*-linux-gnu*)               fmt=elf  em=linux ;;
       arm*-*-uclinux*)                 fmt=elf  em=linux ;;
       arm-*-netbsdelf*)                 fmt=elf  em=nbsd ;;
index 244cb17..0fcee22 100644 (file)
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.9.2 from Makefile.am.
+# Makefile.in generated by automake 1.9.3 from Makefile.am.
 # @configure_input@
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,