This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] Disable fixproto for targets using libgloss.h
- From: neroden at twcny dot rr dot com (Nathanael Nerode)
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 26 Sep 2003 00:26:04 -0400
- Subject: [patch] Disable fixproto for targets using libgloss.h
These three targets all include libgloss.h, so I'm making the educated
guess that they're newlib targets. Anyone else think this is reasonable?
* config.gcc (i960-*-coff*, m68k-*-aout*, sparclite-*-coff*):
Disable fixproto.
Index: config.gcc
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config.gcc,v
retrieving revision 1.380
diff -u -r1.380 config.gcc
--- config.gcc 25 Sep 2003 07:30:57 -0000 1.380
+++ config.gcc 26 Sep 2003 04:23:55 -0000
@@ -1184,6 +1184,7 @@
tmake_file=i960/t-960bare
c_target_objs="i960-c.o"
cxx_target_objs="i960-c.o"
+ use_fixproto=no
;;
i960-*-rtems)
tmake_file="i960/t-960bare t-rtems"
@@ -1305,6 +1306,7 @@
m68k-*-aout*)
tmake_file=m68k/t-m68kbare
tm_file="m68k/m68k.h m68k/m68k-none.h m68k/m68kemb.h m68k/m68k-aout.h libgloss.h"
+ use_fixproto=no
;;
m68k-*-coff*)
tmake_file=m68k/t-m68kbare
@@ -2011,6 +2013,7 @@
sparclite-*-coff*)
tm_file="${tm_file} gofast.h sparc/lite.h svr3.h sparc/litecoff.h dbxcoff.h libgloss.h"
tmake_file=sparc/t-sparclite
+ use_fixproto=no
;;
sparclite-*-elf*)
tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h sparc/sol2.h sparc/elf.h gofast.h sparc/liteelf.h"
--
Nathanael Nerode <neroden at gcc.gnu.org>
http://home.twcny.rr.com/nerode/neroden/fdl.html