[committed] config.gcc: Move use_fixproto=no from generic openbsd clause to specific clauses
Nathanael Nerode
neroden@twcny.rr.com
Wed Sep 24 02:18:00 GMT 2003
Motivation is much the same as in
http://gcc.gnu.org/ml/gcc-patches/2003-09/msg01596.html.
A similar phenomenon showed up: alpha*-*-openbsd* used to not disable
fixproto even though every other openbsd configuartion did, because
alpha*-*-openbsd* overrides tmake_file completely (not including
t-openbsd, t-libc-ok, or t-libgcc-pic). This seems very odd to me.
Alpha/OpenBSD-knowledgable people, any comments on that issue?
Anyway, I seriously doubt that OpenBSD headers are unregenerate K&R on
alpha and ANSI everywhere else. :-)
* config.gcc: Move use_fixproto=no from generic OpenBSD clause
to specific OpenBSD clauses.
Index: config.gcc
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config.gcc,v
retrieving revision 1.363
diff -u -r1.363 config.gcc
--- config.gcc 23 Sep 2003 21:51:44 -0000 1.363
+++ config.gcc 24 Sep 2003 02:02:24 -0000
@@ -367,7 +367,6 @@
thread_file='posix'
tmake_file="${tmake_file} t-openbsd-thread"
fi
- use_fixproto=no
;;
*-*-netbsd*)
tmake_file="t-slibgcc-elf-ver t-libc-ok t-netbsd t-libgcc-pic"
@@ -534,8 +533,8 @@
# default x-alpha is only appropriate for dec-osf.
target_cpu_default="MASK_GAS"
tmake_file="alpha/t-alpha alpha/t-ieee"
+ use_fixproto=no
;;
-
alpha*-dec-osf[45]*)
if test x$stabs = xyes
then
@@ -1480,6 +1479,7 @@
tm_defines="${tm_defines} TARGET_ENDIAN_DEFAULT=0";;
*) tm_defines="${tm_defines} TARGET_ENDIAN_DEFAULT=MASK_BIG_ENDIAN";;
esac
+ use_fixproto=no
;;
mipsisa32-*-elf* | mipsisa32el-*-elf*)
tm_file="${tm_file} mips/elf.h"
@@ -1576,6 +1576,7 @@
#powerpc-*-openbsd*)
# tmake_file="${tmake_file} rs6000/t-fprules "
# extra_headers=
+# use_fixproto=no
# ;;
powerpc64-*-linux*)
tm_file="rs6000/biarch64.h ${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h"
@@ -1896,6 +1897,7 @@
tm_file="sparc/openbsd1-64.h sparc/sparc.h elfos.h svr4.h sparc/sysv4.h sparc/sol2.h sparc/sp64-elf.h openbsd.h sparc/openbsd64.h"
gas=yes gnu_ld=yes
with_cpu=ultrasparc
+ use_fixproto=no
;;
sparc-*-elf*)
tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h sparc/sol2.h sparc/elf.h"
@@ -2121,6 +2123,7 @@
vax-*-openbsd*)
tm_file="vax/vax.h vax/openbsd1.h openbsd.h vax/openbsd.h"
use_collect2=yes
+ use_fixproto=no
;;
vax-*-ultrix*) # VAXen running ultrix
tm_file="${tm_file} vax/ultrix.h"
--
Nathanael Nerode <neroden at gcc.gnu.org>
http://home.twcny.rr.com/nerode/neroden/fdl.html
More information about the Gcc-patches
mailing list