diff options
author | Joseph Myers <joseph@codesourcery.com> | 2009-01-20 21:58:30 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2009-01-20 21:58:30 +0000 |
commit | 5a248274816ee85329a40a8b323f189facecc39b (patch) | |
tree | 7bd521d1e5955c62017c96500d41dc5e1407bf4b /gcc/longlong.h | |
parent | 5b3b1d0977ec1ac457d91d247a84a95d949dfabc (diff) | |
download | gcc-5a248274816ee85329a40a8b323f189facecc39b.zip gcc-5a248274816ee85329a40a8b323f189facecc39b.tar.gz gcc-5a248274816ee85329a40a8b323f189facecc39b.tar.bz2 |
re PR other/38758 (gcc ships with GPL-only library parts (longlong.h))
PR other/38758
* longlong.h: Update copyright years. Use soft-fp license
notice. Sync __clz_tab declaration with glibc.
From-SVN: r143531
Diffstat (limited to 'gcc/longlong.h')
-rw-r--r-- | gcc/longlong.h | 48 |
1 files changed, 33 insertions, 15 deletions
diff --git a/gcc/longlong.h b/gcc/longlong.h index 45a95c4..9bfd322 100644 --- a/gcc/longlong.h +++ b/gcc/longlong.h @@ -1,20 +1,33 @@ /* longlong.h -- definitions for mixed size 32/64 bit arithmetic. - Copyright (C) 1991, 1992, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2004, - 2005, 2007 Free Software Foundation, Inc. + Copyright (C) 1991, 1992, 1994, 1995, 1996, 1997, 1998, 1999, 2000, + 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 + Free Software Foundation, Inc. - This definition 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 Free Software Foundation; either - version 3, or (at your option) any later version. - - This definition file 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. + This file is part of the GNU C Library. - You should have received a copy of the GNU General Public License - along with this program; see the file COPYING3. If not see - <http://www.gnu.org/licenses/>. */ + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + In addition to the permissions in the GNU Lesser General Public + License, the Free Software Foundation gives you unlimited + permission to link the 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 Lesser 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.) + + The GNU C Library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, write to the Free + Software Foundation, 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. */ /* You have to define the following before including this file: @@ -42,7 +55,12 @@ #define UDWtype UDItype #endif -extern const UQItype __clz_tab[256]; +/* Used in glibc only. */ +#ifndef attribute_hidden +#define attribute_hidden +#endif + +extern const UQItype __clz_tab[256] attribute_hidden; /* Define auxiliary asm macros. |