Pre-processor mismatch between [libc/machine/arm] strlen.c and strlen-armv7.s - may lead in duplicate definition

Nick Clifton nickc@redhat.com
Tue Aug 25 13:31:00 GMT 2015


Hi Corinna,

> Somebody from arm can comment on this, please?

Markus is correct - the parenthesis is needed.

Cheers
   Nick

PS. A better patch would be to define the tests in one place - arm_asm.h 
- and then check the results in both strlen,c and strlen-armv7.S.  In 
that way there would be no need to ensure synchronisation between the 
sources.  But if that is going to be done, then a full cleanup of the 
code in the machine/arm directory would probably be in order.

Cheers
   Nick



More information about the Newlib mailing list