[PATCH] Define wordsize.h macros everywhere
Steve Ellcey
sellcey@caviumnetworks.com
Thu Nov 3 20:41:00 GMT 2016
On Fri, 2016-10-28 at 09:07 -0700, Steve Ellcey wrote:
> On Thu, 2016-10-27 at 18:16 -0200, Adhemerval Zanella wrote:
> >
> >
> > On 27/10/2016 16:45, Steve Ellcey wrote:
> >
> > >
> > > Â
> > > +Â Â Â You should have received a copy of the GNU Lesser General
> > > Public
> > > +Â Â Â License along with the GNU C Library; if not, see
> > > +Â Â Â <<a rel="nofollow"
> > > href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/<
> > > /a
> > > >
> > > > >.  */
> >
> > I think you editor added some http tag on this URL.
> Actually, it looks like it got messed up in my patch. Â I have fixed
> it locally and can resubmit the patch if necessary.
>
> Steve Ellcey
> sellcey@caviumnetworks.com
Here is a ping/repost of this patch with the comment fixed. This patch
defines macros in the various wordsize.h files so they can be used
without having to check if they are defined first and adds
documentation about what they do in bits/wordsize.h.
Steve Ellcey
sellcey@caviumnetworks.com
2016-11-03  Yury Norov  <ynorov@caviumnetworks.com>
            Steve Ellcey <sellcey@caviumnetworks.com>
        * bits/wordsize.h: Add documentation.
        * sysdeps/aarch64/bits/wordsize.h : New file
        * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
        definitions.
        (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
        * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
        with #if instead of #ifdef.
        * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
        * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
        __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
        Add or change defines.
        * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
        * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
        * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
        * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
        * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
        * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
        * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
        * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
        * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wordsize.patch
Type: text/x-patch
Size: 11863 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20161103/e8318002/attachment.bin>
More information about the Libc-alpha
mailing list