This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Avoid use of "register" as optimization hint
- From: Roland McGrath <roland at hack dot frob dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: David Miller <davem at davemloft dot net>, <libc-alpha at sourceware dot org>
- Date: Fri, 7 Jun 2013 16:08:53 -0700 (PDT)
- Subject: Re: Avoid use of "register" as optimization hint
- References: <20130607215803 dot 20E5C2C088 at topped-with-meat dot com> <20130607 dot 150846 dot 391679654440350613 dot davem at davemloft dot net> <20130607221208 dot 6A7E82C08D at topped-with-meat dot com> <20130607 dot 151601 dot 1661940145743853691 dot davem at davemloft dot net> <20130607222746 dot 662422C08C at topped-with-meat dot com> <Pine dot LNX dot 4 dot 64 dot 1306072231380 dot 9729 at digraph dot polyomino dot org dot uk>
> I'd presumed that the code had been copied in when GMP and glibc were both
> under the same version of the LGPL (as they were for a long time) and so
> hadn't involved any special permission; I hadn't realised that there was a
> relicensing from GPL to LGPL involved when the code was added to glibc.
The beginning of version control history for libc is 1995-02-18, by which
time we already had code that was from a prerelease of what would be GMP
2.0 and that was under LGPLv2 (as was libc at that time).
So further archeology requires finding tarballs from the earlier era (which
are not on ftp.gnu.org any more), or trusting inferences we can make from
old ChangeLog entries, or trusting my memory (which is known to be unreliable).
The initial use of GMP code in libc has a ChangeLog entry from 1993-12-24.
The newest GMP release at that time was 1.3.2, which was under GPLv2. This
matches my memory of writing scripts to massage GMP sources to replace
their license text. But I also had something like that for code that lived
in /gd/gnu/lib (an informal predecessor to today's gnulib) such as getopt,
so maybe I'm conflating the memories.
Thanks,
Roland