This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] include dbxelf.h via tm_file rather than thru elfos.h.


On Mon, Dec 10, 2001 at 03:25:05PM -0800, Richard Henderson wrote:
> On Tue, Dec 11, 2001 at 12:00:39AM +0100, Rainer Orth wrote:
> > 	* config/sparc/sol2-sld-64.h: Include dbxelf.h again.
> 
> Ok.

Patch to fix the rest:


Index: config.gcc
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config.gcc,v
retrieving revision 1.126
diff -u -r1.126 config.gcc
--- config.gcc	2001/12/10 11:18:31	1.126
+++ config.gcc	2001/12/10 23:29:36
@@ -1895,7 +1909,7 @@
 	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

Index: config/h8300/elf.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/h8300/elf.h,v
retrieving revision 1.4
diff -u -r1.4 elf.h
--- elf.h	2001/11/19 11:28:51	1.4
+++ elf.h	2001/12/10 23:29:38
@@ -20,6 +20,7 @@
 
 #define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
 
+#include "dbxelf.h"
 #include "elfos.h"
 
 
Index: config/m68k/linux.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/m68k/linux.h,v
retrieving revision 1.18
diff -u -r1.18 linux.h
--- linux.h	2001/11/14 23:46:45	1.18
+++ linux.h	2001/12/10 23:29:39
@@ -29,6 +29,7 @@
 /* Make sure CC1 is undefined.  */
 #undef CC1_SPEC
 
+#include "dbxelf.h"
 #include "elfos.h"
 #include "svr4.h"
 #include <linux.h>		/* some common stuff */
Index: config/m68k/m68020-elf.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/m68k/m68020-elf.h,v
retrieving revision 1.4
diff -u -r1.4 m68020-elf.h
--- m68020-elf.h	1999/12/14 23:14:42	1.4
+++ m68020-elf.h	2001/12/10 23:29:39
@@ -21,12 +21,6 @@
 
 /* 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.  */
Index: config/m68k/m68kemb.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/m68k/m68kemb.h,v
retrieving revision 1.6
diff -u -r1.6 m68kemb.h
--- m68kemb.h	2000/11/02 23:29:11	1.6
+++ m68kemb.h	2001/12/10 23:29:39
@@ -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"
 
Index: config/m68k/m68kv4.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/m68k/m68kv4.h,v
retrieving revision 1.15
diff -u -r1.15 m68kv4.h
--- m68kv4.h	2001/11/11 05:56:41	1.15
+++ m68kv4.h	2001/12/10 23:29:39
@@ -28,6 +28,7 @@
 /* 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 */
 
Index: config/sh/elf.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/sh/elf.h,v
retrieving revision 1.16
diff -u -r1.16 elf.h
--- elf.h	2001/10/19 22:27:38	1.16
+++ elf.h	2001/12/10 23:29:39
@@ -30,6 +30,7 @@
 
 /* Be ELF-like.  */
 /* TODO: convert includes to ${tm_file} list in config.gcc.  */
+#include "dbxelf.h"
 #include "elfos.h"
 #include "svr4.h"
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]