OSDN Git Service

* gcc.texi: Fixes for makeinfo 4.0 --html.
[pf3gnuchains/gcc-fork.git] / gcc / libgcc1.c
index a45601f..bece500 100644 (file)
@@ -1,6 +1,6 @@
 /* Subroutines needed by GCC output code on some machines.  */
 /* Compile this file with the Unix C compiler!  */
-/* Copyright (C) 1987, 1988, 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1987, 1988, 1992, 1994, 1995 Free Software Foundation, Inc.
 
 This file is free software; you can redistribute it and/or modify it
 under the terms of the GNU General Public License as published by the
@@ -22,11 +22,13 @@ General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with this program; see the file COPYING.  If not, write to
-the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
+the Free Software Foundation, 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA.  */
 
-/* As a special exception, if you link this library with files
-   compiled with GCC to produce an executable, this does not cause
-   the resulting executable to be covered by the GNU General Public License.
+/* As a special exception, if you link this library with other files,
+   some of which are compiled with GCC, to produce an executable,
+   this library does not by itself cause the resulting executable
+   to be covered by the GNU General Public License.
    This exception does not however invalidate any other reasons why
    the executable file might be covered by the GNU General Public License.  */
 
@@ -75,10 +77,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #define perform_lshrsi3(a, b) return a >> b
 #endif
 
-#ifndef perform_lshlsi3
-#define perform_lshlsi3(a, b) return a << b
-#endif
-
 #ifndef perform_ashrsi3
 #define perform_ashrsi3(a, b) return a >> b
 #endif
@@ -210,6 +208,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #define nongcc_SI_type long int
 #endif
 
+/* Define the C data type to use for a value of word size */
+#ifndef nongcc_word_type
+#define nongcc_word_type nongcc_SI_type
+#endif
+
 /* Define the type to be used for returning an SF mode value
    and the method for turning a float into that type.
    These definitions work for machines where an SF value is
@@ -290,15 +293,6 @@ __lshrsi3 (a, b)
 }
 #endif
 
-#ifdef L_lshlsi3
-nongcc_SI_type
-__lshlsi3 (a, b)
-     unsigned nongcc_SI_type a, b;
-{
-  perform_lshlsi3 (a, b);
-}
-#endif
-
 #ifdef L_ashrsi3
 nongcc_SI_type
 __ashrsi3 (a, b)
@@ -368,7 +362,7 @@ __subdf3 (a, b)
    and so on.  */
 
 #ifdef L_eqdf2
-nongcc_SI_type
+nongcc_word_type
 __eqdf2 (a, b)
      double a, b;
 {
@@ -378,7 +372,7 @@ __eqdf2 (a, b)
 #endif
 
 #ifdef L_nedf2
-nongcc_SI_type
+nongcc_word_type
 __nedf2 (a, b)
      double a, b;
 {
@@ -388,7 +382,7 @@ __nedf2 (a, b)
 #endif
 
 #ifdef L_gtdf2
-nongcc_SI_type
+nongcc_word_type
 __gtdf2 (a, b)
      double a, b;
 {
@@ -398,7 +392,7 @@ __gtdf2 (a, b)
 #endif
 
 #ifdef L_gedf2
-nongcc_SI_type
+nongcc_word_type
 __gedf2 (a, b)
      double a, b;
 {
@@ -408,7 +402,7 @@ __gedf2 (a, b)
 #endif
 
 #ifdef L_ltdf2
-nongcc_SI_type
+nongcc_word_type
 __ltdf2 (a, b)
      double a, b;
 {
@@ -418,7 +412,7 @@ __ltdf2 (a, b)
 #endif
 
 #ifdef L_ledf2
-nongcc_SI_type
+nongcc_word_type
 __ledf2 (a, b)
      double a, b;
 {
@@ -496,7 +490,7 @@ __subsf3 (a, b)
 #endif
 
 #ifdef L_eqsf2
-nongcc_SI_type
+nongcc_word_type
 __eqsf2 (a, b)
      FLOAT_ARG_TYPE a, b;
 {
@@ -507,7 +501,7 @@ __eqsf2 (a, b)
 #endif
 
 #ifdef L_nesf2
-nongcc_SI_type
+nongcc_word_type
 __nesf2 (a, b)
      FLOAT_ARG_TYPE a, b;
 {
@@ -518,7 +512,7 @@ __nesf2 (a, b)
 #endif
 
 #ifdef L_gtsf2
-nongcc_SI_type
+nongcc_word_type
 __gtsf2 (a, b)
      FLOAT_ARG_TYPE a, b;
 {
@@ -529,7 +523,7 @@ __gtsf2 (a, b)
 #endif
 
 #ifdef L_gesf2
-nongcc_SI_type
+nongcc_word_type
 __gesf2 (a, b)
      FLOAT_ARG_TYPE a, b;
 {
@@ -540,7 +534,7 @@ __gesf2 (a, b)
 #endif
 
 #ifdef L_ltsf2
-nongcc_SI_type
+nongcc_word_type
 __ltsf2 (a, b)
      FLOAT_ARG_TYPE a, b;
 {
@@ -551,7 +545,7 @@ __ltsf2 (a, b)
 #endif
 
 #ifdef L_lesf2
-nongcc_SI_type
+nongcc_word_type
 __lesf2 (a, b)
      FLOAT_ARG_TYPE a, b;
 {