]> gcc.gnu.org Git - gcc.git/commitdiff
mkfixinc.sh (*-gnu*): activate fixinc for GNU/Hurd and GNU/Linux.
authorRichard Earnshaw <rearnsha@gcc.gnu.org>
Tue, 5 Dec 2000 18:08:09 +0000 (18:08 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Tue, 5 Dec 2000 18:08:09 +0000 (18:08 +0000)
* fixinc/mkfixinc.sh(*-gnu*): activate fixinc for GNU/Hurd and
GNU/Linux.

* fixinc/mkfixinc.sh: Run fixinc on netbsd.
* fixinc/inclhack.def (machine/ansi.h): Run this rule on all files,
to cope with aliased copies.
* fixinc/fixincl.x: Regenerate.

From-SVN: r38044

gcc/ChangeLog
gcc/fixinc/fixincl.x
gcc/fixinc/inclhack.def
gcc/fixinc/mkfixinc.sh

index 7fad8ade3155a9b471f0909f2bf53d942cf37661..89b91200c521cec668603b8c9e1bda3bc85feeb5 100644 (file)
@@ -1,3 +1,15 @@
+2000-12-05  Bruce Korb  <bkorb@gnu.org>
+
+       * fixinc/mkfixinc.sh(*-gnu*): activate fixinc for GNU/Hurd and
+       GNU/Linux.
+
+2000-12-05  Richard Earnshaw  <rearnsha@arm.com>
+
+       * fixinc/mkfixinc.sh: Run fixinc on netbsd.
+       * fixinc/inclhack.def (machine/ansi.h): Run this rule on all files,
+       to cope with aliased copies.
+       * fixinc/fixincl.x: Regenerate.
+
 2000-12-05  Bernd Schmidt  <bernds@redhat.co.uk>
 
        * sched-vis.c: Guard with #ifdef INSN_SCHEDULING.
index 9942790113e9e309930536a3e0ca667821add9d9..533f795ab73ac5901b4128bae062cd3e80c4eb7d 100644 (file)
@@ -2648,8 +2648,7 @@ tSCC zMachine_Ansi_H_Va_ListName[] =
 /*
  *  File name selection pattern
  */
-tSCC zMachine_Ansi_H_Va_ListList[] =
-  "|machine/ansi.h|";
+#define zMachine_Ansi_H_Va_ListList (char*)NULL
 /*
  *  Machine/OS name selection pattern
  */
index 1b73f0c11d4f2eda87c786972b1d6c59c0a2f877..41ee2cda7684f4d87edcc5499c8bb8ab35009b3a 100644 (file)
@@ -1475,10 +1475,12 @@ fix = {
 
 /*
  * Fix BSD machine/ansi.h to use __builtin_va_list to define _BSD_VA_LIST_.
+ * 
+ * On NetBSD, machine is a symbolic link to an architecture specific
+ * directory name, so we can't match a specific file name here.
  */
 fix = {
     hackname = machine_ansi_h_va_list;
-    files    = machine/ansi.h;
     select   = "define[ \t]+_BSD_VA_LIST_[ \t]";
     bypass   = '__builtin_va_list';
 
index 3e60389f3af34af7e9f8e7eaa422bdae45f3d9b7..ec9cdbcb985e1c963c70f3bca14a568e19a62559 100755 (executable)
@@ -50,7 +50,6 @@ case $machine in
                fixincludes=fixinc.interix
                ;;
 
-       *-*-netbsd* | \
        i?86-*-openbsd*)
                fixincludes=fixinc.wrap
                ;;
@@ -67,14 +66,12 @@ case $machine in
        alpha*-dec-vms* | \
        arm-semi-aout | armel-semi-aout | \
        arm-semi-aof | armel-semi-aof | \
-       arm-*-gnu* | \
        c*-convex-* | \
        hppa1.1-*-osf* | \
        hppa1.0-*-osf* | \
        hppa1.1-*-bsd* | \
        hppa1.0-*-bsd* | \
        hppa*-*-lites* | \
-       *-*-gnu* | \
        i?86-moss-msdos* | i?86-*-moss* | \
        i?86-*-osf1* | \
        i?86-*-win32 | \
This page took 0.096226 seconds and 5 git commands to generate.