summaryrefslogtreecommitdiff
path: root/lib/libcompiler_rt/arm/aeabi_memcpy.S
blob: eabfa490494c9d1cc356cb282321acea58e422d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//===-- 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); }

        .syntax unified
        .p2align 2
DEFINE_COMPILERRT_FUNCTION(__aeabi_memcpy)
        b       memcpy
END_COMPILERRT_FUNCTION(__aeabi_memcpy)

DEFINE_AEABI_FUNCTION_ALIAS(__aeabi_memcpy4, __aeabi_memcpy)
DEFINE_AEABI_FUNCTION_ALIAS(__aeabi_memcpy8, __aeabi_memcpy)

NO_EXEC_STACK_DIRECTIVE