[PATCH][ARM]Use ACLE compiler macros for determining the available features
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
> The ACLE specification
> provides a much more suitable interface and GCC has supported this since
> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 819 bytes
Desc: not available
More information about the Newlib