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
This commit is contained in:
parent
f87999337a
commit
27f4b67efe
|
@ -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.
|
||||
|
|
|
@ -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"
|
||||
;;
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue