[PATCH][ARM]Use ACLE compiler macros for determining the available features
Corinna Vinschen
vinschen@redhat.com
Thu Mar 27 08:56:00 GMT 2014
On Mar 26 17:35, Richard Earnshaw wrote:
> GCC has for a number of years provides a set of pre-defined macros for
> use with determining the ISA and features of the target during
> pre-processing. However, the design was always somewhat cumbersome in
> that each new architecture revision created a new define and then
> removed the previous one. This meant that it was necessary to keep
> updating the support code simply to recognise a new architecture being
> added.
>
> The ACLE specification
> (http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.set.swdev/index.html)
> provides a much more suitable interface and GCC has supported this since
> gcc-4.8.
>
> This patch makes use of the ACLE pre-defines to map to the internal
> feature definitions. To support older versions of GCC a compatibility
> header is provided that maps the traditional pre-defines onto the new
> ACLE ones.
>
> Long term we may want to retire the internal pre-defines and move to
> using the ACLE features directly; but that's for another day.
>
> I'll commit this in ~24 hours if I don't hear any objections.
Sounds good.
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20140327/492550b8/attachment.sig>
More information about the Newlib
mailing list