install.texi (Installation): Remove obsolete description for libstdc++ which is now...
[platform/upstream/gcc.git] / gcc / libgcc1.c
index a45601f..8ec6391 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
@@ -9,11 +9,12 @@ later version.
 
 In addition to the permissions in the GNU General Public License, the
 Free Software Foundation gives you unlimited permission to link the
-compiled version of this file with other programs, and to distribute
-those programs without any restriction coming from the use of this
-file.  (The General Public License restrictions do apply in other
-respects; for example, they cover modification of the file, and
-distribution when not linked into another program.)
+compiled version of this file into combinations with other programs,
+and to distribute those combinations without any restriction coming
+from the use of this file.  (The General Public License restrictions
+do apply in other respects; for example, they cover modification of
+the file, and distribution when not linked into a combine
+executable.)
 
 This file is distributed in the hope that it will be useful, but
 WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -22,13 +23,8 @@ 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.  */
-
-/* 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.
-   This exception does not however invalidate any other reasons why
-   the executable file might be covered by the GNU General Public License.  */
+the Free Software Foundation, 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA.  */
 
 #include "config.h"
 
@@ -75,10 +71,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 +202,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 +287,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 +356,7 @@ __subdf3 (a, b)
    and so on.  */
 
 #ifdef L_eqdf2
-nongcc_SI_type
+nongcc_word_type
 __eqdf2 (a, b)
      double a, b;
 {
@@ -378,7 +366,7 @@ __eqdf2 (a, b)
 #endif
 
 #ifdef L_nedf2
-nongcc_SI_type
+nongcc_word_type
 __nedf2 (a, b)
      double a, b;
 {
@@ -388,7 +376,7 @@ __nedf2 (a, b)
 #endif
 
 #ifdef L_gtdf2
-nongcc_SI_type
+nongcc_word_type
 __gtdf2 (a, b)
      double a, b;
 {
@@ -398,7 +386,7 @@ __gtdf2 (a, b)
 #endif
 
 #ifdef L_gedf2
-nongcc_SI_type
+nongcc_word_type
 __gedf2 (a, b)
      double a, b;
 {
@@ -408,7 +396,7 @@ __gedf2 (a, b)
 #endif
 
 #ifdef L_ltdf2
-nongcc_SI_type
+nongcc_word_type
 __ltdf2 (a, b)
      double a, b;
 {
@@ -418,7 +406,7 @@ __ltdf2 (a, b)
 #endif
 
 #ifdef L_ledf2
-nongcc_SI_type
+nongcc_word_type
 __ledf2 (a, b)
      double a, b;
 {
@@ -496,7 +484,7 @@ __subsf3 (a, b)
 #endif
 
 #ifdef L_eqsf2
-nongcc_SI_type
+nongcc_word_type
 __eqsf2 (a, b)
      FLOAT_ARG_TYPE a, b;
 {
@@ -507,7 +495,7 @@ __eqsf2 (a, b)
 #endif
 
 #ifdef L_nesf2
-nongcc_SI_type
+nongcc_word_type
 __nesf2 (a, b)
      FLOAT_ARG_TYPE a, b;
 {
@@ -518,7 +506,7 @@ __nesf2 (a, b)
 #endif
 
 #ifdef L_gtsf2
-nongcc_SI_type
+nongcc_word_type
 __gtsf2 (a, b)
      FLOAT_ARG_TYPE a, b;
 {
@@ -529,7 +517,7 @@ __gtsf2 (a, b)
 #endif
 
 #ifdef L_gesf2
-nongcc_SI_type
+nongcc_word_type
 __gesf2 (a, b)
      FLOAT_ARG_TYPE a, b;
 {
@@ -540,7 +528,7 @@ __gesf2 (a, b)
 #endif
 
 #ifdef L_ltsf2
-nongcc_SI_type
+nongcc_word_type
 __ltsf2 (a, b)
      FLOAT_ARG_TYPE a, b;
 {
@@ -551,7 +539,7 @@ __ltsf2 (a, b)
 #endif
 
 #ifdef L_lesf2
-nongcc_SI_type
+nongcc_word_type
 __lesf2 (a, b)
      FLOAT_ARG_TYPE a, b;
 {