OSDN Git Service

* config.gcc (mips*-*-netbsd*): Set target_cpu_default to
authorthorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Aug 2002 05:23:43 +0000 (05:23 +0000)
committerthorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Aug 2002 05:23:43 +0000 (05:23 +0000)
"MASK_GAS|MASK_ABICALLS".
* config/mips/netbsd.h (TARGET_ENDIAN_DEFAULT)
(TARGET_DEFAULT): Remove.
(MACHINE_TYPE): Undefine before defining.
(DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56627 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config.gcc
gcc/config/mips/netbsd.h

index ce24299..b7e7a09 100644 (file)
@@ -1,3 +1,12 @@
+2002-08-28  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * config.gcc (mips*-*-netbsd*): Set target_cpu_default to
+       "MASK_GAS|MASK_ABICALLS".
+       * config/mips/netbsd.h (TARGET_ENDIAN_DEFAULT)
+       (TARGET_DEFAULT): Remove.
+       (MACHINE_TYPE): Undefine before defining.
+       (DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): Remove.
+
 2002-08-27  Mark Mitchell  <mark@codesourcery.com>
 
        * c-common.c (warn_abi): New variable.
index 145d2cf..b9f24ae 100644 (file)
@@ -1838,6 +1838,7 @@ mips-sgi-*)       # would otherwise be caught by mips-*-elf*
        exit 1
        ;;
 mips*-*-netbsd*)                       # NetBSD/mips, either endian.
+       target_cpu_default="MASK_GAS|MASK_ABICALLS"
        tm_file="elfos.h ${tm_file} mips/netbsd.h"
        tmake_file="${tmake_file} mips/t-netbsd"
        ;;
index bda6058..02ba413 100644 (file)
@@ -22,19 +22,12 @@ Boston, MA 02111-1307, USA.  */
 
 /* Define default target values. */
 
-#ifndef TARGET_ENDIAN_DEFAULT
-#define TARGET_ENDIAN_DEFAULT MASK_BIG_ENDIAN
-#endif
-
-#ifndef MACHINE_TYPE
+#undef MACHINE_TYPE
 #if TARGET_ENDIAN_DEFAULT != 0
 #define MACHINE_TYPE "NetBSD/mipseb ELF"
 #else
 #define MACHINE_TYPE "NetBSD/mipsel ELF"
 #endif
-#endif
-
-#define TARGET_DEFAULT (MASK_GAS|MASK_ABICALLS)
 
 #define TARGET_OS_CPP_BUILTINS()                       \
   do                                                   \
@@ -49,13 +42,6 @@ Boston, MA 02111-1307, USA.  */
   while (0)
 
 
-/* XXX Don't use DWARF-2 debugging info, for now.  */
-#undef DBX_DEBUGGING_INFO
-#define DBX_DEBUGGING_INFO
-#undef PREFERRED_DEBUGGING_TYPE
-#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
-
-
 /* Include the generic MIPS ELF configuration.  */
 #include <mips/elf.h>