This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [ARM] Fix memchr selection logic.
- From: Marcus Shawcroft <marcus dot shawcroft at gmail dot com>
- To: Marcus Shawcroft <marcus dot shawcroft at arm dot com>
- Cc: "newlib at sourceware dot org" <newlib at sourceware dot org>, Richard Earnshaw <Richard dot Earnshaw at arm dot com>
- Date: Thu, 5 Nov 2015 11:15:01 +0000
- Subject: Re: [ARM] Fix memchr selection logic.
- Authentication-results: sourceware.org; auth=none
- References: <563B1C58 dot 8090209 at arm dot com>
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