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]

[patch] Convert config/sh/coff.h to new include style


dbxcoff.h doesn't reference SDB_DEBUGGING_INFO, so this should be safe.
It wouldn't hurt to have someone who can actually build for this target
check it, of course.

	* config/sh/coff.h: Don't include dbxcoff.h.
	* config.gcc: List it here.

Index: config.gcc
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config.gcc,v
retrieving revision 1.324
diff -u -r1.324 config.gcc
--- config.gcc	16 Jun 2003 22:38:17 -0000	1.324
+++ config.gcc	17 Jun 2003 02:00:57 -0000
@@ -1806,7 +1806,7 @@
 	;;
 sh-*-rtems*)
 	tmake_file="sh/t-sh t-rtems"
-	tm_file="${tm_file} sh/coff.h sh/rtems.h rtems.h"
+	tm_file="${tm_file} dbxcoff.h sh/coff.h sh/rtems.h rtems.h"
 	if test x$enable_threads = xyes; then
 	  thread_file='rtems'
 	fi
@@ -1874,7 +1874,7 @@
 	esac
 	;;
 sh-*-*)
-	tm_file="${tm_file} sh/coff.h"
+	tm_file="${tm_file} dbxcoff.h sh/coff.h"
 	;;
 sparc-tti-*)
 	tm_file="${tm_file} sparc/pbd.h"
Index: config/sh/coff.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/sh/coff.h,v
retrieving revision 1.6
diff -u -r1.6 coff.h
--- config/sh/coff.h	18 May 2003 09:46:19 -0000	1.6
+++ config/sh/coff.h	17 Jun 2003 02:00:57 -0000
@@ -23,10 +23,6 @@
 
 #define SDB_DEBUGGING_INFO 1
 
-/* Output DBX (stabs) debugging information if doing -gstabs.  */
-
-#include "dbxcoff.h"
-
 #define SDB_DELIM ";"
 
 #ifndef MAX_OFILE_ALIGNMENT

-- 
Nathanael Nerode  <neroden at gcc.gnu.org>
Don't use the GNU FDL for free documentation.  See
<http://home.twcny.rr.com/nerode/neroden/fdl.html>


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