[patch] Disable fixproto on m68k-elf

Paul Brook paul@codesourcery.com
Mon Nov 28 21:46:00 GMT 2005


The patch below disables fixproto for m68k-elf.  My main motivation for doing 
this is I want to build a newlib based canadian cross, and fixproto doesn't 
work in canadian cross configurations.

As discussed previously there's some suspicion that fixproto never did 
anything useful on this target. It's definitely not needed for newlib based 
toolchains.
http://gcc.gnu.org/ml/gcc/2005-11/msg01160.html

Ok?

Paul

2005-11-28  Paul Brook  <paul@codesourcery.com>

	* config.gcc: Don't use fixproto on m68k-elf.

Index: gcc/config.gcc
===================================================================
--- gcc/config.gcc	(revision 107623)
+++ gcc/config.gcc	(working copy)
@@ -1382,7 +1382,6 @@
 	tm_defines="MOTOROLA USE_GAS"
 	tmake_file=m68k/t-m68kelf
 	extra_parts="crtbegin.o crtend.o"
-	use_fixproto=yes
 	;;
 m68010-*-netbsdelf* | m68k*-*-netbsdelf*)
 	tm_file="${tm_file} dbxelf.h elfos.h netbsd.h netbsd-elf.h 
m68k/netbsd-elf.h"



More information about the Gcc-patches mailing list