[ARM] Fix memchr selection logic.

Marcus Shawcroft marcus.shawcroft@gmail.com
Thu Nov 5 11:32:00 GMT 2015


On 5 November 2015 at 09:07, Marcus Shawcroft <marcus.shawcroft@arm.com> wrote:

> #if (__ARM_ARCH >= 7 && __ARM_ARCH_PROFILE != 'M') || defined
> (__ARM_ARCH_6T2__)
>

> 2015-11-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
>
>        * libc/machine/arm/configure.in (HAVE_ARMV7): Correct logic.
>        * libc/machine/arm/memchr.S: Likewise.
>        * libc/machine/arm/configure: Regenerate.


Patch withdrawn.

Following offline discussion with Richard I'm going to present a patch
that gates this behaviour on the ACLE macros  ARM_ISA_THUMB>=2 &&
__ARM_FEATURE_DSP and uses acle-compat.h to provide these definitions
for the benefit of older compilers.

Cheers
/Marcus



More information about the Newlib mailing list