Ironing out details
This commit is contained in:
parent
1d37567787
commit
34d959cac9
@ -32,6 +32,11 @@ Boston, MA 02111-1307, USA. */
|
||||
#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
|
||||
#define LOCAL_LABEL_PREFIX "."
|
||||
|
||||
/* The profiling lib spec here is not really correct but we leave
|
||||
it as it is until we have some kind of profiling working. */
|
||||
#define LIB_SPEC OBSD_LIB_SPEC
|
||||
|
||||
|
||||
#include <mips/mips.h>
|
||||
|
||||
/* Get generic OpenBSD definitions. */
|
||||
@ -42,10 +47,15 @@ Boston, MA 02111-1307, USA. */
|
||||
|
||||
|
||||
/* Run-time target specifications. */
|
||||
#define CPP_PREDEFINES "-D__MIPSEL__ -D_MIPSEL -D__SYSTYPE_BSD__ \
|
||||
-D__NO_LEADING_UNDERSCORES__ -D__GP_SUPPORT__ \
|
||||
-D__unix__ -D__OpenBSD__ -D__mips__ \
|
||||
-Asystem(unix) -Asystem(OpenBSD) -Amachine(mips)"
|
||||
#if TARGET_ENDIAN_DEFAULT != 0
|
||||
#define CPP_PREDEFINES "-D__SYSTYPE_BSD__ -D__NO_LEADING_UNDERSCORES__ \
|
||||
-D__GP_SUPPORT__ -D__MIPSEB__ -D__unix__ -D__OpenBSD__ -D__mips__ \
|
||||
-Asystem(unix) -Asystem(OpenBSD) -Acpu(mips) -Amachine(mips) -Aendian(big)"
|
||||
#else
|
||||
#define CPP_PREDEFINES "-D__SYSTYPE_BSD__ -D__NO_LEADING_UNDERSCORES__ \
|
||||
-D__GP_SUPPORT__ -D__MIPSEL__ -D__unix__ -D__OpenBSD__ -D__mips__ \
|
||||
-Asystem(unix) -Asystem(OpenBSD) -Acpu(mips) -Amachine(mips) -Aendian(little)"
|
||||
#endif
|
||||
|
||||
/* Layout of source language data types. */
|
||||
|
||||
@ -105,7 +115,6 @@ do { \
|
||||
|
||||
/* collect2 support (Macros for initialization). */
|
||||
|
||||
|
||||
/* Mips default configuration is COFF-only, and confuses collect2. */
|
||||
#undef OBJECT_FORMAT_COFF
|
||||
#undef EXTENDED_COFF
|
||||
|
@ -32,6 +32,11 @@ Boston, MA 02111-1307, USA. */
|
||||
#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
|
||||
#define LOCAL_LABEL_PREFIX "."
|
||||
|
||||
/* The profiling lib spec here is not really correct but we leave
|
||||
it as it is until we have some kind of profiling working. */
|
||||
#define LIB_SPEC OBSD_LIB_SPEC
|
||||
|
||||
|
||||
#include <mips/mips.h>
|
||||
|
||||
/* Get generic OpenBSD definitions. */
|
||||
@ -42,10 +47,15 @@ Boston, MA 02111-1307, USA. */
|
||||
|
||||
|
||||
/* Run-time target specifications. */
|
||||
#define CPP_PREDEFINES "-D__MIPSEL__ -D_MIPSEL -D__SYSTYPE_BSD__ \
|
||||
-D__NO_LEADING_UNDERSCORES__ -D__GP_SUPPORT__ \
|
||||
-D__unix__ -D__OpenBSD__ -D__mips__ \
|
||||
-Asystem(unix) -Asystem(OpenBSD) -Amachine(mips)"
|
||||
#if TARGET_ENDIAN_DEFAULT != 0
|
||||
#define CPP_PREDEFINES "-D__SYSTYPE_BSD__ -D__NO_LEADING_UNDERSCORES__ \
|
||||
-D__GP_SUPPORT__ -D__MIPSEB__ -D__unix__ -D__OpenBSD__ -D__mips__ \
|
||||
-Asystem(unix) -Asystem(OpenBSD) -Acpu(mips) -Amachine(mips) -Aendian(big)"
|
||||
#else
|
||||
#define CPP_PREDEFINES "-D__SYSTYPE_BSD__ -D__NO_LEADING_UNDERSCORES__ \
|
||||
-D__GP_SUPPORT__ -D__MIPSEL__ -D__unix__ -D__OpenBSD__ -D__mips__ \
|
||||
-Asystem(unix) -Asystem(OpenBSD) -Acpu(mips) -Amachine(mips) -Aendian(little)"
|
||||
#endif
|
||||
|
||||
/* Layout of source language data types. */
|
||||
|
||||
@ -105,7 +115,6 @@ do { \
|
||||
|
||||
/* collect2 support (Macros for initialization). */
|
||||
|
||||
|
||||
/* Mips default configuration is COFF-only, and confuses collect2. */
|
||||
#undef OBJECT_FORMAT_COFF
|
||||
#undef EXTENDED_COFF
|
||||
|
Loading…
Reference in New Issue
Block a user