[patch] Convert ip2k.h to modern include style
Nathanael Nerode
neroden@twcny.rr.com
Mon Jun 16 12:14:00 GMT 2003
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>
More information about the Gcc-patches
mailing list