This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH] Support __int20__ type in _intsup.h
- From: Jeff Johnston <jjohnstn at redhat dot com>
- To: Jozef Lawrynowicz <jozef dot l at mittosystems dot com>
- Cc: Newlib <newlib at sourceware dot org>
- Date: Tue, 25 Jun 2019 13:37:46 -0400
- Subject: Re: [PATCH] Support __int20__ type in _intsup.h
- References: <20190625120528.0829078b@jozef-kubuntu>
Patch applied.
-- Jeff J.
On Tue, Jun 25, 2019 at 7:05 AM Jozef Lawrynowicz <jozef.l@mittosystems.com>
wrote:
> A new patch to GCC (r272640) modifies the MSP430 target to use "__int20__"
> for
> PTRDIFF_TYPE (and therefore INTPTR_TYPE) instead of "__int20".
>
> To support the calculation of pointer size in
> newlib/libc/include/sys/_intsup.h, definitions for __int20__ need to be
> added.
>
> Patch is attached.
>
> If the patch is acceptable I would appreciate if someone would commit it
> for
> me, as I do not have write access.
>
> Thanks,
> Jozef
>