Genuine Mc Coys. These files will be in the next snapshot.
This commit is contained in:
parent
da0fa7eb51
commit
421a562319
@ -18,7 +18,7 @@ along with GNU CC; see the file COPYING. If not, write to
|
||||
the Free Software Foundation, 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
/* We settle for little endian for now. */
|
||||
/* We settle for little endian for now. */
|
||||
#define TARGET_ENDIAN_DEFAULT 0
|
||||
|
||||
#include <alpha/alpha.h>
|
||||
@ -28,14 +28,14 @@ Boston, MA 02111-1307, USA. */
|
||||
#define OBSD_HAS_DECLARE_FUNCTION_SIZE
|
||||
#define OBSD_HAS_DECLARE_OBJECT
|
||||
|
||||
/* alpha ecoff supports only weak aliases, see below. */
|
||||
/* alpha ecoff supports only weak aliases, see below. */
|
||||
#define ASM_WEAKEN_LABEL(FILE,NAME) ASM_OUTPUT_WEAK_ALIAS (FILE,NAME,0)
|
||||
|
||||
#include <openbsd.h>
|
||||
|
||||
/* Controlling the compilation driver. */
|
||||
/* Controlling the compilation driver. */
|
||||
|
||||
/* alpha needs __start. */
|
||||
/* alpha needs __start. */
|
||||
#undef LINK_SPEC
|
||||
#define LINK_SPEC \
|
||||
"%{!nostdlib:%{!r*:%{!e*:-e __start}}} -dc -dp %{assert*}"
|
||||
@ -44,7 +44,7 @@ Boston, MA 02111-1307, USA. */
|
||||
#define CPP_PREDEFINES "-D__unix__ -D__ANSI_COMPAT -Asystem(unix) \
|
||||
-D__OpenBSD__ -D__alpha__ -D__alpha"
|
||||
|
||||
/* Layout of source language data types. */
|
||||
/* Layout of source language data types. */
|
||||
|
||||
/* This must agree with <machine/ansi.h> */
|
||||
#undef SIZE_TYPE
|
||||
@ -65,18 +65,18 @@ Boston, MA 02111-1307, USA. */
|
||||
|
||||
#define LOCAL_LABEL_PREFIX "."
|
||||
|
||||
/* We don't have an init section yet. */
|
||||
/* We don't have an init section yet. */
|
||||
#undef HAS_INIT_SECTION
|
||||
|
||||
/* collect2 support (assembler format: macros for initialization). */
|
||||
/* collect2 support (assembler format: macros for initialization). */
|
||||
|
||||
/* Don't tell collect2 we use COFF as we don't have (yet ?) a dynamic ld
|
||||
library with the proper functions to handle this -> collect2 will
|
||||
default to using nm. */
|
||||
default to using nm. */
|
||||
#undef OBJECT_FORMAT_COFF
|
||||
#undef EXTENDED_COFF
|
||||
|
||||
/* Assembler format: exception region output. */
|
||||
/* Assembler format: exception region output. */
|
||||
|
||||
/* All configurations that don't use elf must be explicit about not using
|
||||
dwarf unwind information. egcs doesn't try too hard to check internal
|
||||
@ -86,7 +86,7 @@ Boston, MA 02111-1307, USA. */
|
||||
#define DWARF2_UNWIND_INFO 0
|
||||
#endif
|
||||
|
||||
/* Assembler format: file framework. */
|
||||
/* Assembler format: file framework. */
|
||||
|
||||
/* Taken from alpha/osf.h. This used to be common to all alpha
|
||||
configurations, but elf has departed from it.
|
||||
@ -109,7 +109,7 @@ Boston, MA 02111-1307, USA. */
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Assembler format: label output. */
|
||||
/* Assembler format: label output. */
|
||||
|
||||
#define ASM_OUTPUT_WEAK_ALIAS(FILE,NAME,VALUE) \
|
||||
do { \
|
||||
@ -123,3 +123,4 @@ Boston, MA 02111-1307, USA. */
|
||||
fputc ('\n', FILE); \
|
||||
} while (0)
|
||||
|
||||
|
||||
|
@ -17,5 +17,7 @@ You should have received a copy of the GNU General Public License
|
||||
along with GNU CC; see the file COPYING. If not, write to
|
||||
the Free Software Foundation, 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <xm-openbsd.h>
|
||||
#include <alpha/xm-alpha.h>
|
||||
|
||||
|
@ -34,7 +34,7 @@ Boston, MA 02111-1307, USA. */
|
||||
/* Run-time target specifications */
|
||||
#define CPP_PREDEFINES "-D__unix__ -D__i386__ -D__OpenBSD__ -Asystem(unix) -Asystem(OpenBSD) -Acpu(i386) -Amachine(i386)"
|
||||
|
||||
/* Layout of source language data types. */
|
||||
/* Layout of source language data types. */
|
||||
|
||||
/* This must agree with <machine/ansi.h> */
|
||||
#undef SIZE_TYPE
|
||||
@ -49,7 +49,7 @@ Boston, MA 02111-1307, USA. */
|
||||
#undef WCHAR_TYPE_SIZE
|
||||
#define WCHAR_TYPE_SIZE 32
|
||||
|
||||
/* Assembler format: overall framework. */
|
||||
/* Assembler format: overall framework. */
|
||||
|
||||
#undef ASM_APP_ON
|
||||
#define ASM_APP_ON "#APP\n"
|
||||
@ -58,33 +58,33 @@ Boston, MA 02111-1307, USA. */
|
||||
#define ASM_APP_OFF "#NO_APP\n"
|
||||
|
||||
/* The following macros were originally stolen from i386v4.h.
|
||||
These have to be defined to get PIC code correct. */
|
||||
These have to be defined to get PIC code correct. */
|
||||
|
||||
/* Assembler format: dispatch tables. */
|
||||
/* Assembler format: dispatch tables. */
|
||||
|
||||
/* How to output an element of a case-vector that is relative.
|
||||
This is only used for PIC code. See comments by the `casesi' insn in
|
||||
i386.md for an explanation of the expression this outputs. */
|
||||
i386.md for an explanation of the expression this outputs. */
|
||||
#undef ASM_OUTPUT_ADDR_DIFF_ELT
|
||||
#define ASM_OUTPUT_ADDR_DIFF_ELT(FILE, BODY, VALUE, REL) \
|
||||
fprintf (FILE, "\t.long _GLOBAL_OFFSET_TABLE_+[.-%s%d]\n", LPREFIX, VALUE)
|
||||
|
||||
/* Assembler format: sections. */
|
||||
/* Assembler format: sections. */
|
||||
|
||||
/* Indicate when jump tables go in the text section. This is
|
||||
necessary when compiling PIC code. */
|
||||
#define JUMP_TABLES_IN_TEXT_SECTION (flag_pic)
|
||||
|
||||
/* Stack & calling: aggregate returns. */
|
||||
/* Stack & calling: aggregate returns. */
|
||||
|
||||
/* Don't default to pcc-struct-return, because gcc is the only compiler, and
|
||||
we want to retain compatibility with older gcc versions. */
|
||||
#define DEFAULT_PCC_STRUCT_RETURN 0
|
||||
|
||||
/* Assembler format: alignment output. */
|
||||
/* Assembler format: alignment output. */
|
||||
|
||||
/* Kludgy test: when gas is upgraded, it will have p2align, and no problems
|
||||
with nops. */
|
||||
with nops. */
|
||||
#ifndef HAVE_GAS_MAX_SKIP_P2ALIGN
|
||||
/* i386 OpenBSD still uses an older gas that doesn't insert nops by default
|
||||
when the .align directive demands to insert extra space in the text
|
||||
@ -94,22 +94,22 @@ Boston, MA 02111-1307, USA. */
|
||||
if ((LOG)!=0) fprintf ((FILE), "\t.align %d,0x90\n", (LOG))
|
||||
#endif
|
||||
|
||||
/* Stack & calling: profiling. */
|
||||
/* Stack & calling: profiling. */
|
||||
|
||||
/* OpenBSD's profiler recovers all information from the stack pointer.
|
||||
The icky part is not here, but in machine/profile.h. */
|
||||
The icky part is not here, but in machine/profile.h. */
|
||||
#undef FUNCTION_PROFILER
|
||||
#define FUNCTION_PROFILER(FILE, LABELNO) \
|
||||
fputs (flag_pic ? "\tcall mcount@PLT\n": "\tcall mcount\n", FILE);
|
||||
|
||||
/* Assembler format: exception region output. */
|
||||
/* Assembler format: exception region output. */
|
||||
|
||||
/* All configurations that don't use elf must be explicit about not using
|
||||
dwarf unwind information. egcs doesn't try too hard to check internal
|
||||
configuration files... */
|
||||
#define DWARF2_UNWIND_INFO 0
|
||||
|
||||
/* Assembler format: alignment output. */
|
||||
/* Assembler format: alignment output. */
|
||||
|
||||
/* A C statement to output to the stdio stream FILE an assembler
|
||||
command to advance the location counter to a multiple of 1<<LOG
|
||||
@ -120,10 +120,11 @@ Boston, MA 02111-1307, USA. */
|
||||
#ifdef HAVE_GAS_MAX_SKIP_P2ALIGN
|
||||
#define ASM_OUTPUT_MAX_SKIP_ALIGN(FILE,LOG,MAX_SKIP) \
|
||||
do { \
|
||||
if ((LOG)!=0) \
|
||||
if ((MAX_SKIP)==0) fprintf ((FILE), "\t.p2align %d\n", (LOG)); \
|
||||
if ((LOG) != 0) \
|
||||
if ((MAX_SKIP) == 0) fprintf ((FILE), "\t.p2align %d\n", (LOG)); \
|
||||
else fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \
|
||||
} while (0)
|
||||
#endif
|
||||
|
||||
/* Note that we pick up ASM_OUTPUT_MI_THUNK from unix.h. */
|
||||
/* Note that we pick up ASM_OUTPUT_MI_THUNK from unix.h. */
|
||||
|
||||
|
@ -17,5 +17,7 @@ You should have received a copy of the GNU General Public License
|
||||
along with GNU CC; see the file COPYING. If not, write to
|
||||
the Free Software Foundation, 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <xm-openbsd.h>
|
||||
#include <i386/xm-i386.h>
|
||||
|
||||
|
@ -19,7 +19,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
/* m68k is an old configuration that does not yet use the TARGET_CPU_DEFAULT
|
||||
framework. */
|
||||
framework. */
|
||||
#define TARGET_DEFAULT (MASK_BITFIELD | MASK_68881 | MASK_68020)
|
||||
|
||||
#include <m68k/m68k.h>
|
||||
@ -40,7 +40,7 @@ Boston, MA 02111-1307, USA. */
|
||||
#define ASM_SPEC "%| %{m68030} %{m68040} %{m68060} %{fpic:-k} %{fPIC:-k -K}"
|
||||
*/
|
||||
|
||||
/* Layout of source language data types. */
|
||||
/* Layout of source language data types. */
|
||||
|
||||
/* This must agree with <machine/ansi.h> */
|
||||
#undef SIZE_TYPE
|
||||
@ -55,12 +55,12 @@ Boston, MA 02111-1307, USA. */
|
||||
#undef WCHAR_TYPE_SIZE
|
||||
#define WCHAR_TYPE_SIZE 32
|
||||
|
||||
/* Storage layout. */
|
||||
/* Storage layout. */
|
||||
|
||||
/* Every structure or union's size must be a multiple of 2 bytes. */
|
||||
#define STRUCTURE_SIZE_BOUNDARY 16
|
||||
|
||||
/* Specific options for DBX Output. */
|
||||
/* Specific options for DBX Output. */
|
||||
|
||||
/* This is BSD, so it wants DBX format. */
|
||||
#define DBX_DEBUGGING_INFO
|
||||
@ -72,13 +72,13 @@ Boston, MA 02111-1307, USA. */
|
||||
continuation back on). */
|
||||
#define DBX_CONTIN_CHAR '?'
|
||||
|
||||
/* Stack & calling: aggregate returns. */
|
||||
/* Stack & calling: aggregate returns. */
|
||||
|
||||
/* Don't default to pcc-struct-return, because gcc is the only compiler, and
|
||||
we want to retain compatibility with older gcc versions. */
|
||||
#define DEFAULT_PCC_STRUCT_RETURN 0
|
||||
|
||||
/* Assembler format: exception region output. */
|
||||
/* Assembler format: exception region output. */
|
||||
|
||||
/* All configurations that don't use elf must be explicit about not using
|
||||
dwarf unwind information. egcs doesn't try too hard to check internal
|
||||
@ -88,10 +88,10 @@ Boston, MA 02111-1307, USA. */
|
||||
|
||||
/* TODO: ASM_OUTPUT_MI_THUNK is busted. I need to figure out
|
||||
what bra func@PLTPC means under linux, and find the corresponding
|
||||
construction for our gas/pic setup. */
|
||||
construction for our gas/pic setup. */
|
||||
#if 0
|
||||
/* Taken from linux.h. Processor dependent optimized code to handle C++
|
||||
multiple inheritance vtable lookup. */
|
||||
multiple inheritance vtable lookup. */
|
||||
|
||||
/* Output code to add DELTA to the first argument, and then jump to FUNCTION.
|
||||
Used for C++ multiple inheritance. */
|
||||
@ -118,3 +118,4 @@ do { \
|
||||
} \
|
||||
} while (0)
|
||||
#endif
|
||||
|
||||
|
@ -17,5 +17,7 @@ You should have received a copy of the GNU General Public License
|
||||
along with GNU CC; see the file COPYING. If not, write to
|
||||
the Free Software Foundation, 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <xm-openbsd.h>
|
||||
#include <m68k/xm-m68k.h>
|
||||
|
||||
|
@ -24,7 +24,7 @@ Boston, MA 02111-1307, USA. */
|
||||
#define OBSD_OLD_GAS
|
||||
#include <openbsd.h>
|
||||
|
||||
/* Run-time target specifications. */
|
||||
/* Run-time target specifications. */
|
||||
#define CPP_PREDEFINES "-D__unix__ -D__sparc__ -D__OpenBSD__ -Asystem(unix) -Asystem(OpenBSD) -Acpu(sparc) -Amachine(sparc)"
|
||||
|
||||
/* Layout of source language data types */
|
||||
@ -42,7 +42,7 @@ Boston, MA 02111-1307, USA. */
|
||||
#undef WCHAR_TYPE_SIZE
|
||||
#define WCHAR_TYPE_SIZE 32
|
||||
|
||||
/* Specific options for DBX Output. */
|
||||
/* Specific options for DBX Output. */
|
||||
|
||||
/* This is BSD, so it wants DBX format. */
|
||||
#define DBX_DEBUGGING_INFO
|
||||
@ -50,14 +50,14 @@ Boston, MA 02111-1307, USA. */
|
||||
/* This is the char to use for continuation */
|
||||
#define DBX_CONTIN_CHAR '?'
|
||||
|
||||
/* Stack & calling: aggregate returns. */
|
||||
/* Stack & calling: aggregate returns. */
|
||||
|
||||
/* Don't default to pcc-struct-return, because gcc is the only compiler, and
|
||||
we want to retain compatibility with older gcc versions. */
|
||||
#undef DEFAULT_PCC_STRUCT_RETURN
|
||||
#define DEFAULT_PCC_STRUCT_RETURN 0
|
||||
|
||||
/* Assembler format: exception region output. */
|
||||
/* Assembler format: exception region output. */
|
||||
|
||||
/* All configurations that don't use elf must be explicit about not using
|
||||
dwarf unwind information. egcs doesn't try too hard to check internal
|
||||
@ -65,3 +65,4 @@ Boston, MA 02111-1307, USA. */
|
||||
#define DWARF2_UNWIND_INFO 0
|
||||
|
||||
/* Default sparc.h does already define ASM_OUTPUT_MI_THUNK */
|
||||
|
||||
|
@ -17,5 +17,7 @@ You should have received a copy of the GNU General Public License
|
||||
along with GNU CC; see the file COPYING. If not, write to
|
||||
the Free Software Foundation, 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <xm-openbsd.h>
|
||||
#include <sparc/xm-sparc.h>
|
||||
|
||||
|
@ -18,7 +18,7 @@ along with GNU CC; see the file COPYING. If not, write to
|
||||
the Free Software Foundation, 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
/* We settle for little endian for now. */
|
||||
/* We settle for little endian for now. */
|
||||
#define TARGET_ENDIAN_DEFAULT 0
|
||||
|
||||
#include <alpha/alpha.h>
|
||||
@ -28,14 +28,14 @@ Boston, MA 02111-1307, USA. */
|
||||
#define OBSD_HAS_DECLARE_FUNCTION_SIZE
|
||||
#define OBSD_HAS_DECLARE_OBJECT
|
||||
|
||||
/* alpha ecoff supports only weak aliases, see below. */
|
||||
/* alpha ecoff supports only weak aliases, see below. */
|
||||
#define ASM_WEAKEN_LABEL(FILE,NAME) ASM_OUTPUT_WEAK_ALIAS (FILE,NAME,0)
|
||||
|
||||
#include <openbsd.h>
|
||||
|
||||
/* Controlling the compilation driver. */
|
||||
/* Controlling the compilation driver. */
|
||||
|
||||
/* alpha needs __start. */
|
||||
/* alpha needs __start. */
|
||||
#undef LINK_SPEC
|
||||
#define LINK_SPEC \
|
||||
"%{!nostdlib:%{!r*:%{!e*:-e __start}}} -dc -dp %{assert*}"
|
||||
@ -44,7 +44,7 @@ Boston, MA 02111-1307, USA. */
|
||||
#define CPP_PREDEFINES "-D__unix__ -D__ANSI_COMPAT -Asystem(unix) \
|
||||
-D__OpenBSD__ -D__alpha__ -D__alpha"
|
||||
|
||||
/* Layout of source language data types. */
|
||||
/* Layout of source language data types. */
|
||||
|
||||
/* This must agree with <machine/ansi.h> */
|
||||
#undef SIZE_TYPE
|
||||
@ -65,18 +65,18 @@ Boston, MA 02111-1307, USA. */
|
||||
|
||||
#define LOCAL_LABEL_PREFIX "."
|
||||
|
||||
/* We don't have an init section yet. */
|
||||
/* We don't have an init section yet. */
|
||||
#undef HAS_INIT_SECTION
|
||||
|
||||
/* collect2 support (assembler format: macros for initialization). */
|
||||
/* collect2 support (assembler format: macros for initialization). */
|
||||
|
||||
/* Don't tell collect2 we use COFF as we don't have (yet ?) a dynamic ld
|
||||
library with the proper functions to handle this -> collect2 will
|
||||
default to using nm. */
|
||||
default to using nm. */
|
||||
#undef OBJECT_FORMAT_COFF
|
||||
#undef EXTENDED_COFF
|
||||
|
||||
/* Assembler format: exception region output. */
|
||||
/* Assembler format: exception region output. */
|
||||
|
||||
/* All configurations that don't use elf must be explicit about not using
|
||||
dwarf unwind information. egcs doesn't try too hard to check internal
|
||||
@ -86,7 +86,7 @@ Boston, MA 02111-1307, USA. */
|
||||
#define DWARF2_UNWIND_INFO 0
|
||||
#endif
|
||||
|
||||
/* Assembler format: file framework. */
|
||||
/* Assembler format: file framework. */
|
||||
|
||||
/* Taken from alpha/osf.h. This used to be common to all alpha
|
||||
configurations, but elf has departed from it.
|
||||
@ -109,7 +109,7 @@ Boston, MA 02111-1307, USA. */
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Assembler format: label output. */
|
||||
/* Assembler format: label output. */
|
||||
|
||||
#define ASM_OUTPUT_WEAK_ALIAS(FILE,NAME,VALUE) \
|
||||
do { \
|
||||
@ -123,3 +123,4 @@ Boston, MA 02111-1307, USA. */
|
||||
fputc ('\n', FILE); \
|
||||
} while (0)
|
||||
|
||||
|
||||
|
@ -17,5 +17,7 @@ You should have received a copy of the GNU General Public License
|
||||
along with GNU CC; see the file COPYING. If not, write to
|
||||
the Free Software Foundation, 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <xm-openbsd.h>
|
||||
#include <alpha/xm-alpha.h>
|
||||
|
||||
|
@ -34,7 +34,7 @@ Boston, MA 02111-1307, USA. */
|
||||
/* Run-time target specifications */
|
||||
#define CPP_PREDEFINES "-D__unix__ -D__i386__ -D__OpenBSD__ -Asystem(unix) -Asystem(OpenBSD) -Acpu(i386) -Amachine(i386)"
|
||||
|
||||
/* Layout of source language data types. */
|
||||
/* Layout of source language data types. */
|
||||
|
||||
/* This must agree with <machine/ansi.h> */
|
||||
#undef SIZE_TYPE
|
||||
@ -49,7 +49,7 @@ Boston, MA 02111-1307, USA. */
|
||||
#undef WCHAR_TYPE_SIZE
|
||||
#define WCHAR_TYPE_SIZE 32
|
||||
|
||||
/* Assembler format: overall framework. */
|
||||
/* Assembler format: overall framework. */
|
||||
|
||||
#undef ASM_APP_ON
|
||||
#define ASM_APP_ON "#APP\n"
|
||||
@ -58,33 +58,33 @@ Boston, MA 02111-1307, USA. */
|
||||
#define ASM_APP_OFF "#NO_APP\n"
|
||||
|
||||
/* The following macros were originally stolen from i386v4.h.
|
||||
These have to be defined to get PIC code correct. */
|
||||
These have to be defined to get PIC code correct. */
|
||||
|
||||
/* Assembler format: dispatch tables. */
|
||||
/* Assembler format: dispatch tables. */
|
||||
|
||||
/* How to output an element of a case-vector that is relative.
|
||||
This is only used for PIC code. See comments by the `casesi' insn in
|
||||
i386.md for an explanation of the expression this outputs. */
|
||||
i386.md for an explanation of the expression this outputs. */
|
||||
#undef ASM_OUTPUT_ADDR_DIFF_ELT
|
||||
#define ASM_OUTPUT_ADDR_DIFF_ELT(FILE, BODY, VALUE, REL) \
|
||||
fprintf (FILE, "\t.long _GLOBAL_OFFSET_TABLE_+[.-%s%d]\n", LPREFIX, VALUE)
|
||||
|
||||
/* Assembler format: sections. */
|
||||
/* Assembler format: sections. */
|
||||
|
||||
/* Indicate when jump tables go in the text section. This is
|
||||
necessary when compiling PIC code. */
|
||||
#define JUMP_TABLES_IN_TEXT_SECTION (flag_pic)
|
||||
|
||||
/* Stack & calling: aggregate returns. */
|
||||
/* Stack & calling: aggregate returns. */
|
||||
|
||||
/* Don't default to pcc-struct-return, because gcc is the only compiler, and
|
||||
we want to retain compatibility with older gcc versions. */
|
||||
#define DEFAULT_PCC_STRUCT_RETURN 0
|
||||
|
||||
/* Assembler format: alignment output. */
|
||||
/* Assembler format: alignment output. */
|
||||
|
||||
/* Kludgy test: when gas is upgraded, it will have p2align, and no problems
|
||||
with nops. */
|
||||
with nops. */
|
||||
#ifndef HAVE_GAS_MAX_SKIP_P2ALIGN
|
||||
/* i386 OpenBSD still uses an older gas that doesn't insert nops by default
|
||||
when the .align directive demands to insert extra space in the text
|
||||
@ -94,22 +94,22 @@ Boston, MA 02111-1307, USA. */
|
||||
if ((LOG)!=0) fprintf ((FILE), "\t.align %d,0x90\n", (LOG))
|
||||
#endif
|
||||
|
||||
/* Stack & calling: profiling. */
|
||||
/* Stack & calling: profiling. */
|
||||
|
||||
/* OpenBSD's profiler recovers all information from the stack pointer.
|
||||
The icky part is not here, but in machine/profile.h. */
|
||||
The icky part is not here, but in machine/profile.h. */
|
||||
#undef FUNCTION_PROFILER
|
||||
#define FUNCTION_PROFILER(FILE, LABELNO) \
|
||||
fputs (flag_pic ? "\tcall mcount@PLT\n": "\tcall mcount\n", FILE);
|
||||
|
||||
/* Assembler format: exception region output. */
|
||||
/* Assembler format: exception region output. */
|
||||
|
||||
/* All configurations that don't use elf must be explicit about not using
|
||||
dwarf unwind information. egcs doesn't try too hard to check internal
|
||||
configuration files... */
|
||||
#define DWARF2_UNWIND_INFO 0
|
||||
|
||||
/* Assembler format: alignment output. */
|
||||
/* Assembler format: alignment output. */
|
||||
|
||||
/* A C statement to output to the stdio stream FILE an assembler
|
||||
command to advance the location counter to a multiple of 1<<LOG
|
||||
@ -120,10 +120,11 @@ Boston, MA 02111-1307, USA. */
|
||||
#ifdef HAVE_GAS_MAX_SKIP_P2ALIGN
|
||||
#define ASM_OUTPUT_MAX_SKIP_ALIGN(FILE,LOG,MAX_SKIP) \
|
||||
do { \
|
||||
if ((LOG)!=0) \
|
||||
if ((MAX_SKIP)==0) fprintf ((FILE), "\t.p2align %d\n", (LOG)); \
|
||||
if ((LOG) != 0) \
|
||||
if ((MAX_SKIP) == 0) fprintf ((FILE), "\t.p2align %d\n", (LOG)); \
|
||||
else fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \
|
||||
} while (0)
|
||||
#endif
|
||||
|
||||
/* Note that we pick up ASM_OUTPUT_MI_THUNK from unix.h. */
|
||||
/* Note that we pick up ASM_OUTPUT_MI_THUNK from unix.h. */
|
||||
|
||||
|
@ -17,5 +17,7 @@ You should have received a copy of the GNU General Public License
|
||||
along with GNU CC; see the file COPYING. If not, write to
|
||||
the Free Software Foundation, 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <xm-openbsd.h>
|
||||
#include <i386/xm-i386.h>
|
||||
|
||||
|
@ -19,7 +19,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
/* m68k is an old configuration that does not yet use the TARGET_CPU_DEFAULT
|
||||
framework. */
|
||||
framework. */
|
||||
#define TARGET_DEFAULT (MASK_BITFIELD | MASK_68881 | MASK_68020)
|
||||
|
||||
#include <m68k/m68k.h>
|
||||
@ -40,7 +40,7 @@ Boston, MA 02111-1307, USA. */
|
||||
#define ASM_SPEC "%| %{m68030} %{m68040} %{m68060} %{fpic:-k} %{fPIC:-k -K}"
|
||||
*/
|
||||
|
||||
/* Layout of source language data types. */
|
||||
/* Layout of source language data types. */
|
||||
|
||||
/* This must agree with <machine/ansi.h> */
|
||||
#undef SIZE_TYPE
|
||||
@ -55,12 +55,12 @@ Boston, MA 02111-1307, USA. */
|
||||
#undef WCHAR_TYPE_SIZE
|
||||
#define WCHAR_TYPE_SIZE 32
|
||||
|
||||
/* Storage layout. */
|
||||
/* Storage layout. */
|
||||
|
||||
/* Every structure or union's size must be a multiple of 2 bytes. */
|
||||
#define STRUCTURE_SIZE_BOUNDARY 16
|
||||
|
||||
/* Specific options for DBX Output. */
|
||||
/* Specific options for DBX Output. */
|
||||
|
||||
/* This is BSD, so it wants DBX format. */
|
||||
#define DBX_DEBUGGING_INFO
|
||||
@ -72,13 +72,13 @@ Boston, MA 02111-1307, USA. */
|
||||
continuation back on). */
|
||||
#define DBX_CONTIN_CHAR '?'
|
||||
|
||||
/* Stack & calling: aggregate returns. */
|
||||
/* Stack & calling: aggregate returns. */
|
||||
|
||||
/* Don't default to pcc-struct-return, because gcc is the only compiler, and
|
||||
we want to retain compatibility with older gcc versions. */
|
||||
#define DEFAULT_PCC_STRUCT_RETURN 0
|
||||
|
||||
/* Assembler format: exception region output. */
|
||||
/* Assembler format: exception region output. */
|
||||
|
||||
/* All configurations that don't use elf must be explicit about not using
|
||||
dwarf unwind information. egcs doesn't try too hard to check internal
|
||||
@ -88,10 +88,10 @@ Boston, MA 02111-1307, USA. */
|
||||
|
||||
/* TODO: ASM_OUTPUT_MI_THUNK is busted. I need to figure out
|
||||
what bra func@PLTPC means under linux, and find the corresponding
|
||||
construction for our gas/pic setup. */
|
||||
construction for our gas/pic setup. */
|
||||
#if 0
|
||||
/* Taken from linux.h. Processor dependent optimized code to handle C++
|
||||
multiple inheritance vtable lookup. */
|
||||
multiple inheritance vtable lookup. */
|
||||
|
||||
/* Output code to add DELTA to the first argument, and then jump to FUNCTION.
|
||||
Used for C++ multiple inheritance. */
|
||||
@ -118,3 +118,4 @@ do { \
|
||||
} \
|
||||
} while (0)
|
||||
#endif
|
||||
|
||||
|
@ -17,5 +17,7 @@ You should have received a copy of the GNU General Public License
|
||||
along with GNU CC; see the file COPYING. If not, write to
|
||||
the Free Software Foundation, 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <xm-openbsd.h>
|
||||
#include <m68k/xm-m68k.h>
|
||||
|
||||
|
@ -24,7 +24,7 @@ Boston, MA 02111-1307, USA. */
|
||||
#define OBSD_OLD_GAS
|
||||
#include <openbsd.h>
|
||||
|
||||
/* Run-time target specifications. */
|
||||
/* Run-time target specifications. */
|
||||
#define CPP_PREDEFINES "-D__unix__ -D__sparc__ -D__OpenBSD__ -Asystem(unix) -Asystem(OpenBSD) -Acpu(sparc) -Amachine(sparc)"
|
||||
|
||||
/* Layout of source language data types */
|
||||
@ -42,7 +42,7 @@ Boston, MA 02111-1307, USA. */
|
||||
#undef WCHAR_TYPE_SIZE
|
||||
#define WCHAR_TYPE_SIZE 32
|
||||
|
||||
/* Specific options for DBX Output. */
|
||||
/* Specific options for DBX Output. */
|
||||
|
||||
/* This is BSD, so it wants DBX format. */
|
||||
#define DBX_DEBUGGING_INFO
|
||||
@ -50,14 +50,14 @@ Boston, MA 02111-1307, USA. */
|
||||
/* This is the char to use for continuation */
|
||||
#define DBX_CONTIN_CHAR '?'
|
||||
|
||||
/* Stack & calling: aggregate returns. */
|
||||
/* Stack & calling: aggregate returns. */
|
||||
|
||||
/* Don't default to pcc-struct-return, because gcc is the only compiler, and
|
||||
we want to retain compatibility with older gcc versions. */
|
||||
#undef DEFAULT_PCC_STRUCT_RETURN
|
||||
#define DEFAULT_PCC_STRUCT_RETURN 0
|
||||
|
||||
/* Assembler format: exception region output. */
|
||||
/* Assembler format: exception region output. */
|
||||
|
||||
/* All configurations that don't use elf must be explicit about not using
|
||||
dwarf unwind information. egcs doesn't try too hard to check internal
|
||||
@ -65,3 +65,4 @@ Boston, MA 02111-1307, USA. */
|
||||
#define DWARF2_UNWIND_INFO 0
|
||||
|
||||
/* Default sparc.h does already define ASM_OUTPUT_MI_THUNK */
|
||||
|
||||
|
@ -17,5 +17,7 @@ You should have received a copy of the GNU General Public License
|
||||
along with GNU CC; see the file COPYING. If not, write to
|
||||
the Free Software Foundation, 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <xm-openbsd.h>
|
||||
#include <sparc/xm-sparc.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user