From 5a248274816ee85329a40a8b323f189facecc39b Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Tue, 20 Jan 2009 21:58:30 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/longlong.h | 48 +++++++++++++++++++++++++++++++++--------------- 2 files changed, 39 insertions(+), 15 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8e90a9d3..aca8760 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2009-01-20 Joseph Myers + + PR other/38758 + * longlong.h: Update copyright years. Use soft-fp license + notice. Sync __clz_tab declaration with glibc. + 2009-01-20 Steve Ellcey PR target/30687 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 - . */ + 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. -- 2.7.4