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
This commit is contained in:
David O'Brien 2001-12-11 18:21:04 +00:00 committed by David O'Brien
parent ff1c8a1a18
commit 9117131576
8 changed files with 18 additions and 7 deletions

View File

@ -1,3 +1,14 @@
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>
* objc/objc-act.c (build_constructor): Cast initializer values

View File

@ -1895,7 +1895,7 @@ m68k-*-coff*)
float_format=m68k
;;
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
tmake_file=m68k/t-m68kelf
header_files=math-68881.h

View File

@ -20,6 +20,7 @@
#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
#include "dbxelf.h"
#include "elfos.h"

View File

@ -29,6 +29,7 @@ Boston, MA 02111-1307, USA. */
/* Make sure CC1 is undefined. */
#undef CC1_SPEC
#include "dbxelf.h"
#include "elfos.h"
#include "svr4.h"
#include <linux.h> /* some common stuff */

View File

@ -21,12 +21,6 @@ Boston, MA 02111-1307, USA. */
/* 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
loading of crt0.o by gcc's default linker spec. For embedded targets crt0
now comes from the linker script. */

View File

@ -2,6 +2,8 @@
This is meant to be included after m68k.h.
Copyright (C) 1994, 1995, 1998, 1999 Free Software Foundation, Inc. */
/* Override the SVR4 ABI for this target. */
#define PTRDIFF_TYPE "long int"
#define SIZE_TYPE "long unsigned int"

View File

@ -28,6 +28,7 @@ Boston, MA 02111-1307, USA. */
/* TODO: convert includes to ${tm_file} list in config.gcc. */
#include "m68k/sgs.h" /* The m68k/SVR4 assembler is SGS based */
#include "dbxelf.h"
#include "elfos.h"
#include "svr4.h" /* Pick up the generic SVR4 macros */

View File

@ -30,6 +30,7 @@ Boston, MA 02111-1307, USA. */
/* Be ELF-like. */
/* TODO: convert includes to ${tm_file} list in config.gcc. */
#include "dbxelf.h"
#include "elfos.h"
#include "svr4.h"