[PATCH, ARM] memchr for ARM

Greta Yorsh Greta.Yorsh@arm.com
Tue Oct 11 17:28:00 GMT 2011

Thanks for the explanations.

> Perhaps; in other libraries I'd had it in a .S file and just marked
> the function and file as being assembled in thumb;
> it's a little more tricky to do here if I'm sometimes #including the .c
> file.

I had a similar problem with memcpy for ARM in newlib. Also, the long inline
assembly is a bit hard to read. I created a stub .c file for the include and
.S for the actual code. Is there a better way?


-- Greta

More information about the Newlib mailing list