[PATCH] Support __int20__ type in _intsup.h

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] Support __int20__ type in _intsup.h

Jozef Lawrynowicz-2
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

0001-Support-calculation-of-pointer-size-for-__int20__-ty.patch (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] Support __int20__ type in _intsup.h

Jeff Johnston
Patch applied.

-- Jeff J.

On Tue, Jun 25, 2019 at 7:05 AM Jozef Lawrynowicz <[hidden email]>
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
>