Anton Korobeynikov | 1110475 | 2012-01-30 10:21:23 +0000 | [diff] [blame] | 1 | //===-- aeabi_memcmp.S - EABI memcmp 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_memcmp(void *dest, void *src, size_t n) { memcmp(dest, src, n); } |
| 13 | |
| 14 | .align 2 |
| 15 | DEFINE_COMPILERRT_FUNCTION(__aeabi_memcmp) |
| 16 | b memcmp |
| 17 | |
| 18 | DEFINE_AEABI_FUNCTION_ALIAS(__aeabi_memcmp4, __aeabi_memcmp) |
| 19 | DEFINE_AEABI_FUNCTION_ALIAS(__aeabi_memcmp8, __aeabi_memcmp) |