From 911713157618beaeb432bc646f82a074e4c28435 Mon Sep 17 00:00:00 2001 From: David O'Brien Date: Tue, 11 Dec 2001 18:21:04 +0000 Subject: [PATCH] config.gcc (m68020-*-elf*): Expand tm_file to include all needed cpu configuration headers. 2001-12-11 David O'Brien * 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 Message-ID: <20011210155120.A23862@redhat.com> From-SVN: r47885 --- gcc/ChangeLog | 11 +++++++++++ gcc/config.gcc | 2 +- gcc/config/h8300/elf.h | 1 + gcc/config/m68k/linux.h | 1 + gcc/config/m68k/m68020-elf.h | 6 ------ gcc/config/m68k/m68kemb.h | 2 ++ gcc/config/m68k/m68kv4.h | 1 + gcc/config/sh/elf.h | 1 + 8 files changed, 18 insertions(+), 7 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b5c02519b09..357eb2296b9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,14 @@ +2001-12-11 David O'Brien + + * 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 * objc/objc-act.c (build_constructor): Cast initializer values diff --git a/gcc/config.gcc b/gcc/config.gcc index 10999d7c73c..5144c162e25 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -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 diff --git a/gcc/config/h8300/elf.h b/gcc/config/h8300/elf.h index dcfb5e9f8a0..3b6db3b2d38 100644 --- a/gcc/config/h8300/elf.h +++ b/gcc/config/h8300/elf.h @@ -20,6 +20,7 @@ #define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG +#include "dbxelf.h" #include "elfos.h" diff --git a/gcc/config/m68k/linux.h b/gcc/config/m68k/linux.h index f7bb8ae78fc..9926329813e 100644 --- a/gcc/config/m68k/linux.h +++ b/gcc/config/m68k/linux.h @@ -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 /* some common stuff */ diff --git a/gcc/config/m68k/m68020-elf.h b/gcc/config/m68k/m68020-elf.h index ccf8a30e133..07c3f813fc9 100644 --- a/gcc/config/m68k/m68020-elf.h +++ b/gcc/config/m68k/m68020-elf.h @@ -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. */ diff --git a/gcc/config/m68k/m68kemb.h b/gcc/config/m68k/m68kemb.h index 2db87dd5a3b..623a64c521b 100644 --- a/gcc/config/m68k/m68kemb.h +++ b/gcc/config/m68k/m68kemb.h @@ -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" diff --git a/gcc/config/m68k/m68kv4.h b/gcc/config/m68k/m68kv4.h index 4d26e422731..13c303ccc17 100644 --- a/gcc/config/m68k/m68kv4.h +++ b/gcc/config/m68k/m68kv4.h @@ -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 */ diff --git a/gcc/config/sh/elf.h b/gcc/config/sh/elf.h index 7d392dc31e7..8ad74903e7a 100644 --- a/gcc/config/sh/elf.h +++ b/gcc/config/sh/elf.h @@ -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" -- 2.30.2