This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ARM] Fix memchr selection logic.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]