]> git.proxmox.com Git - rustc.git/blob - src/compiler-rt/lib/builtins/arm/aeabi_memcpy.S
Imported Upstream version 1.6.0+dfsg1
[rustc.git] / src / compiler-rt / lib / builtins / arm / aeabi_memcpy.S
1 //===-- aeabi_memcpy.S - EABI memcpy implementation -----------------------===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #include "../assembly.h"
11
12 // void __aeabi_memcpy(void *dest, void *src, size_t n) { memcpy(dest, src, n); }
13
14 .p2align 2
15 DEFINE_COMPILERRT_FUNCTION(__aeabi_memcpy)
16 b memcpy
17 END_COMPILERRT_FUNCTION(__aeabi_memcpy)
18
19 DEFINE_AEABI_FUNCTION_ALIAS(__aeabi_memcpy4, __aeabi_memcpy)
20 DEFINE_AEABI_FUNCTION_ALIAS(__aeabi_memcpy8, __aeabi_memcpy)