add backported cosmopolitan memcpy
commitb0c263b7233c77e9b3584fae0ecb685b792a0777
authorrofl0r <rofl0r@users.noreply.github.com>
Mon, 6 Sep 2021 01:05:26 +0000 (6 01:05 +0000)
committerrofl0r <rofl0r@users.noreply.github.com>
Mon, 6 Sep 2021 01:05:29 +0000 (6 01:05 +0000)
tree7f3afb5885802a96bf2da192b1fc937ed1e6bf15
parent9b859402bb944501f645e3c203d4bd4fb9d4f568
add backported cosmopolitan memcpy

this was actually quite hard as cosmopolitan uses C preprocessor macros,
gas macros, and external tables distributed over several files, as well
as initializer code for those tables.
unfortunately, the code is not PIC compatible so it can't be linked into
a shared object.
memcpy_cosmopolitan.s [new file with mode: 0644]