aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Thorpe <thorpej@wasabisystems.com>2002-08-28 05:23:43 +0000
committerJason Thorpe <thorpej@gcc.gnu.org>2002-08-28 05:23:43 +0000
commit27f4b67efeef555f63157e918f21057a175698f1 (patch)
treef39bf0b6579a7050b368cdd7decc3bf0adbd6bc4
parentf87999337abbc750e4ce0b226fbd0f5fea38ad7e (diff)
downloadgcc-27f4b67efeef555f63157e918f21057a175698f1.zip
gcc-27f4b67efeef555f63157e918f21057a175698f1.tar.gz
gcc-27f4b67efeef555f63157e918f21057a175698f1.tar.bz2
config.gcc (mips*-*-netbsd*): Set target_cpu_default to "MASK_GAS|MASK_ABICALLS".
* 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. From-SVN: r56627
-rw-r--r--gcc/ChangeLog9
-rw-r--r--gcc/config.gcc1
-rw-r--r--gcc/config/mips/netbsd.h16
3 files changed, 11 insertions, 15 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ce24299..b7e7a09 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 145d2cf..b9f24ae 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -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"
;;
diff --git a/gcc/config/mips/netbsd.h b/gcc/config/mips/netbsd.h
index bda6058..02ba413 100644
--- a/gcc/config/mips/netbsd.h
+++ b/gcc/config/mips/netbsd.h
@@ -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>