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 ip2k.h to modern include style


This converts ip2k.h to the "modern style".

	* config.gcc: Explicitly mention elfos.h in ip2k entry.
	* config/ip2k/ip2k.h: Don't #include it here.

Index: config.gcc
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config.gcc,v
retrieving revision 1.323
diff -u -r1.323 config.gcc
--- config.gcc	15 Jun 2003 04:47:35 -0000	1.323
+++ config.gcc	16 Jun 2003 11:41:11 -0000
@@ -1273,6 +1273,7 @@
 	cxx_target_objs="ia64-c.o"
 	;;
 ip2k-*-elf)
+	tm_file="elfos.h ${tm_file}"
 	;;
 m32r-*-elf*)
 	tm_file="dbxelf.h elfos.h svr4.h ${tm_file}"
Index: config/ip2k/ip2k.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/ip2k/ip2k.h,v
retrieving revision 1.25
diff -u -r1.25 ip2k.h
--- config/ip2k/ip2k.h	14 Jun 2003 21:47:42 -0000	1.25
+++ config/ip2k/ip2k.h	16 Jun 2003 11:41:15 -0000
@@ -22,10 +22,7 @@
 Boston, MA 02111-1307, USA.  */
 
 
-/* Set up System V.4 (aka ELF) defaults.  */
-
-#include "elfos.h"
-#undef ASM_SPEC			/* But we have a GAS assembler.  */
+#undef ASM_SPEC	/* We have a GAS assembler.  */
 
 #define TARGET_CPU_CPP_BUILTINS()		\
   do						\

-- 
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]