blob: 8b9c7fdf5f195b17a6cb1a200b3d6b8b56bef3ae [file] [log] [blame]
Anton Korobeynikov11104752012-01-30 10:21:23 +00001//===-- 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 .align 2
15DEFINE_COMPILERRT_FUNCTION(__aeabi_memcpy)
16 b memcpy
17
18DEFINE_AEABI_FUNCTION_ALIAS(__aeabi_memcpy4, __aeabi_memcpy)
19DEFINE_AEABI_FUNCTION_ALIAS(__aeabi_memcpy8, __aeabi_memcpy)