[PATCH] Support __int20__ type in _intsup.h

Jozef Lawrynowicz jozef.l@mittosystems.com
Tue Jun 25 11:05:00 GMT 2019


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Support-calculation-of-pointer-size-for-__int20__-ty.patch
Type: text/x-patch
Size: 1487 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20190625/055d8bb6/attachment.bin>


More information about the Newlib mailing list