summaryrefslogtreecommitdiffstats
path: root/contrib/compiler-rt/lib/arm/aeabi_memcpy.S
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2012-08-08 09:42:44 +0000
committerandrew <andrew@FreeBSD.org>2012-08-08 09:42:44 +0000
commit30502844bd04cb59ab3146bfc660987e81eaaac0 (patch)
treeee445c9472d0093c3489f12d8048a72fe6e55f66 /contrib/compiler-rt/lib/arm/aeabi_memcpy.S
parent54cb95d6380dbb936499b9c35fd4ad12ba649f42 (diff)
parentcfeab007a554034f0b3ab4a677cf9dd2696c12f9 (diff)
downloadFreeBSD-src-30502844bd04cb59ab3146bfc660987e81eaaac0.zip
FreeBSD-src-30502844bd04cb59ab3146bfc660987e81eaaac0.tar.gz
Import compiler-rt r160957.
This is mostly a no-op other than for ARM where it adds missing __aeabi_mem* and __aeabi_*divmod functions. Even on ARM these will remain unused until the rest of the ARM EABI code is merged.
Diffstat (limited to 'contrib/compiler-rt/lib/arm/aeabi_memcpy.S')
-rw-r--r--contrib/compiler-rt/lib/arm/aeabi_memcpy.S19
1 files changed, 19 insertions, 0 deletions
diff --git a/contrib/compiler-rt/lib/arm/aeabi_memcpy.S b/contrib/compiler-rt/lib/arm/aeabi_memcpy.S
new file mode 100644
index 0000000..8b9c7fd
--- /dev/null
+++ b/contrib/compiler-rt/lib/arm/aeabi_memcpy.S
@@ -0,0 +1,19 @@
+//===-- aeabi_memcpy.S - EABI memcpy implementation -----------------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#include "../assembly.h"
+
+// void __aeabi_memcpy(void *dest, void *src, size_t n) { memcpy(dest, src, n); }
+
+ .align 2
+DEFINE_COMPILERRT_FUNCTION(__aeabi_memcpy)
+ b memcpy
+
+DEFINE_AEABI_FUNCTION_ALIAS(__aeabi_memcpy4, __aeabi_memcpy)
+DEFINE_AEABI_FUNCTION_ALIAS(__aeabi_memcpy8, __aeabi_memcpy)
OpenPOWER on IntegriCloud