add v850 to rtems types

Eric Blake eblake@redhat.com
Thu Sep 13 23:03:00 GMT 2012


On 09/05/2012 10:59 PM, Ralf Corsepius wrote:
> On 09/06/2012 12:38 AM, Joel Sherrill wrote:
>> Is the attached patch OK to apply?
> 
> 
> No.
> 
> The v850 is already covered by
> 
> 
> 2012-07-13  Ralf Corsépius  <ralf.corsepius@rtems.org>
> 
>         * libc/sys/rtems/machine/_types.h (_ssize_t): Add __ARM_EABI__,
>         __v850__, __v851__.
> 
> 
> The non-POSIX compliant __v850 define is redundant to the
> POSIX-compliant __v850__ and __v851__

Huh?  How is __v850 non-POSIX compliant?  POSIX mirrors the C99 rules
(and C11 keeps those rules) that all identifiers starting with __ are
reserved for the implementation; hence __v850 and __v850__ are both
implementation-reserved names, and neither one violates POSIX.

-- 
Eric Blake   eblake@redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/newlib/attachments/20120913/7038d596/attachment.sig>


More information about the Newlib mailing list