This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
RE: [PATCH, ARM] memchr for ARM
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?
http://sourceware.org/ml/newlib/2011/msg00474.html
-- Greta