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]

Don't use fixproto on Darwin.


At present, fixproto only changes math.h and setjmp.h on Darwin, and
in both cases it only adds prototypes that already exist; it's
harmless, but also pointless.

Bootstrapped & tested on powerpc-darwin7.  I also checked that
fixproto doesn't do anything on 10.2 or 10.3.

-- 
- Geoffrey Keating <geoffk@apple.com>

===File ~/patches/gcc-darwin-nofixproto.patch===============
2003-12-12  Geoffrey Keating  <geoffk@apple.com>

	* config.gcc <i[34567]86-*-darwin*>: Don't use fixproto.
	<powerpc-*-darwin*>: Likewise.

Index: config.gcc
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config.gcc,v
retrieving revision 1.413
diff -u -p -u -p -r1.413 config.gcc
--- config.gcc	11 Dec 2003 20:50:33 -0000	1.413
+++ config.gcc	12 Dec 2003 21:08:35 -0000
@@ -891,7 +891,6 @@ i370-*-linux*)
 	;;
 i[34567]86-*-darwin*)
 	tm_file="${tm_file} i386/darwin.h"
-	use_fixproto=yes
 	;;
 i[34567]86-*-elf*)
 	tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/i386elf.h"
@@ -1688,7 +1687,6 @@ powerpc-*-darwin*)
 	extra_headers=altivec.h
 	# override ppc default
 	need_64bit_hwint=
-	use_fixproto=yes
 	;;
 powerpc*-*-freebsd*)
 	tm_file="${tm_file} dbxelf.h elfos.h ${fbsd_tm_file} rs6000/sysv4.h rs6000/freebsd.h"
============================================================


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