fix arm run-time abi string functions
authorSzabolcs Nagy <nsz@port70.net>
Tue, 21 Feb 2017 00:07:34 +0000 (00:07 +0000)
committerRich Felker <dalias@aerifal.cx>
Thu, 22 Jun 2017 22:34:06 +0000 (18:34 -0400)
commite6def544358afd5648a428d2e02c147a1f901048
tree9210513645e1a5dc230e1f128237dbe978e94ee7
parent91d34c4533e6bf6eacad7a9f001f28f9e5ebc656
fix arm run-time abi string functions

in arm rtabi these __aeabi_* functions have special abi (they are
only allowed to clobber r0,r1,r2,r3,ip,lr,cpsr), so they cannot
be simple wrappers around normal string functions (which may
clobber other registers), the safest solution is to write them in
asm, a minimalistic implementation works because these are not
supposed to be emitted by compilers or used in general.
src/string/arm/__aeabi_memclr.c [deleted file]
src/string/arm/__aeabi_memcpy.c [deleted file]
src/string/arm/__aeabi_memcpy.s [new file with mode: 0644]
src/string/arm/__aeabi_memmove.c [deleted file]
src/string/arm/__aeabi_memset.c [deleted file]
src/string/arm/__aeabi_memset.s [new file with mode: 0644]