Commit 91171315 by David O'Brien Committed by David O'Brien

config.gcc (m68020-*-elf*): Expand tm_file to include all needed cpu configuration headers.

2001-12-11  David O'Brien  <obrien@FreeBSD.org>
	* config.gcc (m68020-*-elf*): Expand tm_file to include all needed
	cpu configuration headers.
	* config/h8300/elf.h: Include dbxelf.h.
	* config/m68k/linux.h: Likewise.
	* config/m68k/m68020-elf.h: Likewise.
	* config/m68k/m68kv4.h: Likewise.
	* config/sh/elf.h: Likewise.
	* config/m68k/m68kemb.h: Add comment about the its purpose.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20011210155120.A23862@redhat.com>

From-SVN: r47885
parent ff1c8a1a
2001-12-11 David O'Brien <obrien@FreeBSD.org>
* config.gcc (m68020-*-elf*): Expand tm_file to include all needed
cpu configuration headers.
* config/h8300/elf.h: Include dbxelf.h.
* config/m68k/linux.h: Likewise.
* config/m68k/m68020-elf.h: Likewise.
* config/m68k/m68kv4.h: Likewise.
* config/sh/elf.h: Likewise.
* config/m68k/m68kemb.h: Add comment about the its purpose.
2001-12-11 Richard Henderson <rth@redhat.com> 2001-12-11 Richard Henderson <rth@redhat.com>
* objc/objc-act.c (build_constructor): Cast initializer values * objc/objc-act.c (build_constructor): Cast initializer values
......
...@@ -1895,7 +1895,7 @@ m68k-*-coff*) ...@@ -1895,7 +1895,7 @@ m68k-*-coff*)
float_format=m68k float_format=m68k
;; ;;
m68020-*-elf* | m68k-*-elf*) m68020-*-elf* | m68k-*-elf*)
tm_file="m68k/m68020-elf.h" tm_file="m68k/m68k-none.h m68k/m68kelf.h dbxelf.h elfos.h m68k/m68kemb.h m68k/m68020-elf.h"
xm_defines=POSIX xm_defines=POSIX
tmake_file=m68k/t-m68kelf tmake_file=m68k/t-m68kelf
header_files=math-68881.h header_files=math-68881.h
......
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG #define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
#include "dbxelf.h"
#include "elfos.h" #include "elfos.h"
......
...@@ -29,6 +29,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -29,6 +29,7 @@ Boston, MA 02111-1307, USA. */
/* Make sure CC1 is undefined. */ /* Make sure CC1 is undefined. */
#undef CC1_SPEC #undef CC1_SPEC
#include "dbxelf.h"
#include "elfos.h" #include "elfos.h"
#include "svr4.h" #include "svr4.h"
#include <linux.h> /* some common stuff */ #include <linux.h> /* some common stuff */
......
...@@ -21,12 +21,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -21,12 +21,6 @@ Boston, MA 02111-1307, USA. */
/* This comment is here to see if it will keep Sun's cpp from dying. */ /* This comment is here to see if it will keep Sun's cpp from dying. */
#include "m68k/m68k-none.h"
#include "m68k/m68kelf.h"
#include "elfos.h"
/* m68k/m68kemb.h sets some macros in ways that override the svr4 abi. */
#include "m68k/m68kemb.h"
/* We need to override the default specs from elfos.h. This suppresses the /* We need to override the default specs from elfos.h. This suppresses the
loading of crt0.o by gcc's default linker spec. For embedded targets crt0 loading of crt0.o by gcc's default linker spec. For embedded targets crt0
now comes from the linker script. */ now comes from the linker script. */
......
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
This is meant to be included after m68k.h. This is meant to be included after m68k.h.
Copyright (C) 1994, 1995, 1998, 1999 Free Software Foundation, Inc. */ Copyright (C) 1994, 1995, 1998, 1999 Free Software Foundation, Inc. */
/* Override the SVR4 ABI for this target. */
#define PTRDIFF_TYPE "long int" #define PTRDIFF_TYPE "long int"
#define SIZE_TYPE "long unsigned int" #define SIZE_TYPE "long unsigned int"
......
...@@ -28,6 +28,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -28,6 +28,7 @@ Boston, MA 02111-1307, USA. */
/* TODO: convert includes to ${tm_file} list in config.gcc. */ /* TODO: convert includes to ${tm_file} list in config.gcc. */
#include "m68k/sgs.h" /* The m68k/SVR4 assembler is SGS based */ #include "m68k/sgs.h" /* The m68k/SVR4 assembler is SGS based */
#include "dbxelf.h"
#include "elfos.h" #include "elfos.h"
#include "svr4.h" /* Pick up the generic SVR4 macros */ #include "svr4.h" /* Pick up the generic SVR4 macros */
......
...@@ -30,6 +30,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -30,6 +30,7 @@ Boston, MA 02111-1307, USA. */
/* Be ELF-like. */ /* Be ELF-like. */
/* TODO: convert includes to ${tm_file} list in config.gcc. */ /* TODO: convert includes to ${tm_file} list in config.gcc. */
#include "dbxelf.h"
#include "elfos.h" #include "elfos.h"
#include "svr4.h" #include "svr4.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment