diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 9c9990fdd6fe4a2e339bd1e3f90ae84f7e17b1f7..af9d5afafbe0bc2a92b63e4f43a3234e2a6f79fc 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,18 @@ +2000-05-01 Mark Mitchell <mark@codesourcery.com> + + * exception.cc: Update license notice. + * new.cc: Likewise. + * new1.cc: Likewise. + * new2.cc: Likewise. + * tinfo.cc: Likewise. + * tinfo2.cc: Likewise. + * vec.cc: Likewise. + * inc/cxxabi.h: Likewise. + * inc/exception: Likewise. + * inc/new: Likewise. + * inc/new.h: Likewise. + * inc/typeinfo: Likewise. + 2000-05-01 Jason Merrill <jason@casey.cygnus.com> * tree.c (build_target_expr_with_type): If we already have a diff --git a/gcc/cp/exception.cc b/gcc/cp/exception.cc index 3f61b3ed66a73cd5e6787570524a72360133cc00..a38477b050d869de91c99c22b758e4e1a3329d14 100644 --- a/gcc/cp/exception.cc +++ b/gcc/cp/exception.cc @@ -18,12 +18,14 @@ // the Free Software Foundation, 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. -// 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. +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file 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. #pragma implementation "exception" diff --git a/gcc/cp/inc/cxxabi.h b/gcc/cp/inc/cxxabi.h index 416b046e71a48326370a147a418dad06cbac6c74..b85624085e676a4fa6d4ac28a0f79e3ee8b93f18 100644 --- a/gcc/cp/inc/cxxabi.h +++ b/gcc/cp/inc/cxxabi.h @@ -1,9 +1,35 @@ /* new abi support -*- C++ -*- Copyright (C) 2000 Free Software Foundation, Inc. - Written by Nathan Sidwell, Codesourcery LLC, <nathan@codesourcery.com> - - This file declares the new abi entry points into the runtime. It is not + Written by Nathan Sidwell, Codesourcery LLC, <nathan@codesourcery.com> */ + +// This file is part of GNU CC. +// +// 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. +// +// 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. +// +// 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. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file 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. + +/* This file declares the new abi entry points into the runtime. It is not normally necessary for user programs to include this header, or use the entry points directly. However, this header is available should that be needed. diff --git a/gcc/cp/inc/exception b/gcc/cp/inc/exception index cb262c00658c39999a226593ba0b6fbea98d8c42..4d35c56c4054ecadc6615534e174c4479aaeba30 100644 --- a/gcc/cp/inc/exception +++ b/gcc/cp/inc/exception @@ -1,5 +1,31 @@ // Exception Handling support header for -*- C++ -*- -// Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation +// Copyright (C) 1995, 1996, 1997, 1998, 2000 Free Software Foundation + +// This file is part of GNU CC. +// +// 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. +// +// 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. +// +// 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. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file 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. #ifndef __EXCEPTION__ #define __EXCEPTION__ diff --git a/gcc/cp/inc/new b/gcc/cp/inc/new index 821c99dc0d5a17506c92891e6e2432ef73ebc03f..cbb8d107acff183f8d109e5d341ff9fd00cab464 100644 --- a/gcc/cp/inc/new +++ b/gcc/cp/inc/new @@ -1,5 +1,31 @@ // The -*- C++ -*- dynamic memory management header. -// Copyright (C) 1994, 1996, 1997, 1998 Free Software Foundation +// Copyright (C) 1994, 1996, 1997, 1998, 2000 Free Software Foundation + +// This file is part of GNU CC. +// +// 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. +// +// 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. +// +// 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. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file 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. #ifndef __NEW__ #define __NEW__ diff --git a/gcc/cp/inc/new.h b/gcc/cp/inc/new.h index 006be7efb07fac1ebb837480562745219b9f1c04..cb1fa4cb5caa3becee3728a9a79acb64649d8205 100644 --- a/gcc/cp/inc/new.h +++ b/gcc/cp/inc/new.h @@ -1,4 +1,31 @@ // -*- C++ -*- forwarding header. +// Copyright (C) 2000 Free Software Foundation + +// This file is part of GNU CC. +// +// 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. +// +// 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. +// +// 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. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file 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. #ifndef __NEW_H__ #define __NEW_H__ diff --git a/gcc/cp/inc/typeinfo b/gcc/cp/inc/typeinfo index 8c5bbd839ad92e52ea28a80d72eaa7a8bd1cc02c..91f0de2c720c8b7885685bdb2ffc9f34e7c1a55b 100644 --- a/gcc/cp/inc/typeinfo +++ b/gcc/cp/inc/typeinfo @@ -1,6 +1,32 @@ // RTTI support for -*- C++ -*- // Copyright (C) 1994, 1995, 1996, 1997, 1998, 2000 Free Software Foundation +// This file is part of GNU CC. +// +// 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. +// +// 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. +// +// 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. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file 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. + // __GXX_ABI_VERSION distinguishes the ABI that is being used. Values <100 // indicate the `old' abi, which grew as C++ was defined. Values >=100 // indicate the `new' abi, which is a cross vendor C++ abi, documented at diff --git a/gcc/cp/new.cc b/gcc/cp/new.cc index 0d69ce1b00fc8fb685896de5897967eead17e8cb..4015ae7cd4ba2c93e3e37243adb266c8cc31e9d7 100644 --- a/gcc/cp/new.cc +++ b/gcc/cp/new.cc @@ -1,5 +1,5 @@ // Implementation file for the -*- C++ -*- dynamic memory management header. -// Copyright (C) 1996, 1997, 1998 Free Software Foundation +// Copyright (C) 1996, 1997, 1998, 2000 Free Software Foundation // This file is part of GNU CC. @@ -18,12 +18,14 @@ // the Free Software Foundation, 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. -// 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. +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file 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. #pragma implementation "new" #include "new" diff --git a/gcc/cp/new1.cc b/gcc/cp/new1.cc index 3adcef26c05b291c287caea8c91113d5b94a5c04..8d76f414356f0e70e912545396490abaea7425d6 100644 --- a/gcc/cp/new1.cc +++ b/gcc/cp/new1.cc @@ -1,5 +1,5 @@ // Support routines for the -*- C++ -*- dynamic memory management. -// Copyright (C) 1997, 1998, 1999 Free Software Foundation +// Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation // This file is part of GNU CC. @@ -18,12 +18,14 @@ // the Free Software Foundation, 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. -// 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. +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file 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. #include "new" using std::new_handler; diff --git a/gcc/cp/new2.cc b/gcc/cp/new2.cc index 182b2d1d5298e8de12c90c67581d1b992f256c80..abf4420da5db968d65b0c3d23ab966043b7d24ff 100644 --- a/gcc/cp/new2.cc +++ b/gcc/cp/new2.cc @@ -18,12 +18,14 @@ // the Free Software Foundation, 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. -// 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. +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file 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. #include "new" diff --git a/gcc/cp/tinfo.cc b/gcc/cp/tinfo.cc index d84d83ee359c3af12ca42d1fce3a9e1c76d47005..a710aab40b5b0fb219dac627e6f2736f044e61b8 100644 --- a/gcc/cp/tinfo.cc +++ b/gcc/cp/tinfo.cc @@ -18,12 +18,14 @@ // the Free Software Foundation, 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. -// 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. +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file 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. #pragma implementation "typeinfo" diff --git a/gcc/cp/tinfo2.cc b/gcc/cp/tinfo2.cc index 2be647a54df14b04df49f6398bab7547cb2415c5..2b364c918c8d217e9a55500c1ca840cedc3b00aa 100644 --- a/gcc/cp/tinfo2.cc +++ b/gcc/cp/tinfo2.cc @@ -18,12 +18,14 @@ // the Free Software Foundation, 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. -// 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. +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file 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. #include <stddef.h> #include "tinfo.h" diff --git a/gcc/cp/vec.cc b/gcc/cp/vec.cc index 4f5ce4960efafd0b6b2ac8f8f7b763cbdc7a8e9f..23aef76da0e9462fb1bf877e5af3c9552fac2ec5 100644 --- a/gcc/cp/vec.cc +++ b/gcc/cp/vec.cc @@ -18,12 +18,14 @@ // the Free Software Foundation, 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. -// 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. +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file 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. #if defined(__GXX_ABI_VERSION) && __GXX_ABI_VERSION >= 100 #include <cxxabi.h>