PATCH: clarify comments in fp-bit.{h,c}

Mike Stump mrs@apple.com
Tue Jan 3 23:49:00 GMT 2006


On Jan 3, 2006, at 3:10 PM, Ben Elliston wrote:
> The libgcc exception clause in fp-bit.h and fp-bit.c seems to be in
> need of tidying up.  The following text appears in fp-bit.c:
>
> /* 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.  */
>
> This duplicates some commentary closer to the top of the file:
>
>    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.)
>
> These seem to say the same thing.  My patch retains the latter comment
> in the main part of the GPL copyright notice in both files and removes
> the former.  Okay for the trunk?

Almost ok.  Please copy the exact text from libgcc2.c for both files  
instead.

Last I checked, it said:

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 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.)

almost the same, but different.  See http://gcc.gnu.org/ml/gcc/ 
2004-06/msg01828.html for your approval.  :-)



More information about the Gcc-patches mailing list