11110475a1b56528bbb53829a86ee2f4292547ec4Anton Korobeynikov//===-- aeabi_memcpy.S - EABI memcpy implementation -----------------------===//
21110475a1b56528bbb53829a86ee2f4292547ec4Anton Korobeynikov//
31110475a1b56528bbb53829a86ee2f4292547ec4Anton Korobeynikov//                     The LLVM Compiler Infrastructure
41110475a1b56528bbb53829a86ee2f4292547ec4Anton Korobeynikov//
51110475a1b56528bbb53829a86ee2f4292547ec4Anton Korobeynikov// This file is dual licensed under the MIT and the University of Illinois Open
61110475a1b56528bbb53829a86ee2f4292547ec4Anton Korobeynikov// Source Licenses. See LICENSE.TXT for details.
71110475a1b56528bbb53829a86ee2f4292547ec4Anton Korobeynikov//
81110475a1b56528bbb53829a86ee2f4292547ec4Anton Korobeynikov//===----------------------------------------------------------------------===//
91110475a1b56528bbb53829a86ee2f4292547ec4Anton Korobeynikov
101110475a1b56528bbb53829a86ee2f4292547ec4Anton Korobeynikov#include "../assembly.h"
111110475a1b56528bbb53829a86ee2f4292547ec4Anton Korobeynikov
121110475a1b56528bbb53829a86ee2f4292547ec4Anton Korobeynikov//  void __aeabi_memcpy(void *dest, void *src, size_t n) { memcpy(dest, src, n); }
131110475a1b56528bbb53829a86ee2f4292547ec4Anton Korobeynikov
142d1fdb26e458c4ddc04155c1d421bced3ba90cd0Stephen Hines        .p2align 2
151110475a1b56528bbb53829a86ee2f4292547ec4Anton KorobeynikovDEFINE_COMPILERRT_FUNCTION(__aeabi_memcpy)
161110475a1b56528bbb53829a86ee2f4292547ec4Anton Korobeynikov        b       memcpy
172d1fdb26e458c4ddc04155c1d421bced3ba90cd0Stephen HinesEND_COMPILERRT_FUNCTION(__aeabi_memcpy)
181110475a1b56528bbb53829a86ee2f4292547ec4Anton Korobeynikov
191110475a1b56528bbb53829a86ee2f4292547ec4Anton KorobeynikovDEFINE_AEABI_FUNCTION_ALIAS(__aeabi_memcpy4, __aeabi_memcpy)
201110475a1b56528bbb53829a86ee2f4292547ec4Anton KorobeynikovDEFINE_AEABI_FUNCTION_ALIAS(__aeabi_memcpy8, __aeabi_memcpy)
21