OSDN Git Service

* emit-rtl.c (gen_reg_rtx): Also reallocate reg_decl array.
[pf3gnuchains/gcc-fork.git] / gcc / genmultilib
index 6610b7b..3cbfaa1 100644 (file)
@@ -2,22 +2,22 @@
 # Generates multilib.h.
 #   Copyright (C) 1994, 1995, 1996, 1997, 1999 Free Software Foundation, Inc.
 
-#This file is part of GNU CC.
+#This file is part of GCC.
 
-#GNU CC is free software; you can redistribute it and/or modify
-#it under the terms of the GNU General Public License as published by
-#the Free Software Foundation; either version 2, or (at your option)
-#any later version.
+#GCC is free software; you can redistribute it and/or modify it under
+#the terms of the GNU General Public License as published by the Free
+#Software Foundation; either version 2, or (at your option) any later
+#version.
 
-#GNU CC is distributed in the hope that it will be useful,
-#but WITHOUT ANY WARRANTY; without even the implied warranty of
-#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#GNU General Public License for more details.
+#GCC is distributed in the hope that it will be useful, but WITHOUT
+#ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+#FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+#for more details.
 
 #You should have received a copy of the GNU General Public License
-#along with GNU CC; see the file COPYING.  If not, write to
-#the Free Software Foundation, 59 Temple Place - Suite 330,
-#Boston, MA 02111-1307, USA.
+#along with GCC; see the file COPYING.  If not, write to the Free
+#Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+#02111-1307, USA.
 
 # This shell script produces a header file which the gcc driver
 # program uses to pick which library to use based on the machine
@@ -57,8 +57,8 @@
 # the compiler similar to exceptions. The difference being that exclusions
 # allow matching default options that genmultilib does not know about and
 # is done at runtime as opposed to being sorted out at compile time.
-# Each element in the list is a seperate exclusion rule. Each rule is
-# a list of options (sans preceding '-') seperated by a '/'. The options
+# Each element in the list is a separate exclusion rule. Each rule is
+# a list of options (sans preceding '-') separated by a '/'. The options
 # on the rule are grouped as an AND operation, and all options much match
 # for the rule to exclude a set. Options can be preceded with a '!' to
 # match a logical NOT.
@@ -107,7 +107,7 @@ exceptions=$4
 extra=$5
 exclusions=$6
 
-echo "static char *multilib_raw[] = {"
+echo "static const char *const multilib_raw[] = {"
 
 # What we want to do is select all combinations of the sets in
 # options.  Each combination which includes a set of mutually
@@ -285,7 +285,7 @@ echo "};"
 # Note, the format of the matches is reversed compared
 # to what we want, so switch them around.
 echo ""
-echo "static char *multilib_matches_raw[] = {"
+echo "static const char *const multilib_matches_raw[] = {"
 for match in ${matches}; do
   l=`echo ${match} | sed -e 's/=.*$//' -e 's/?/=/g'`
   r=`echo ${match} | sed -e 's/^.*=//' -e 's/?/=/g'`
@@ -301,11 +301,11 @@ echo "};"
 
 # Output the default options now
 echo ""
-echo "static char *multilib_extra = \"${extra}\";"
+echo "static const char *multilib_extra = \"${extra}\";"
 
 # Output the exclusion rules now
 echo ""
-echo "static char *multilib_exclusions_raw[] = {"
+echo "static const char *const multilib_exclusions_raw[] = {"
 for rule in ${exclusions}; do
   s=`echo ${rule} | sed -e 's,/, ,g'`
   echo "\"${s};\","