blob: bdd521814629244ec484c096e8f8e0253485303e [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001/*
2 * Copyright (C) 2004-2007 Atmel Corporation
3 *
4 * This file is subject to the terms and conditions of the GNU Lesser General
5 * Public License. See the file "COPYING.LIB" in the main directory of this
6 * archive for more details.
7 */
8
9#include <features.h>
10
11#ifdef __UCLIBC_SUSV3_LEGACY__
12
13 .text
14 .global bcopy
15 .type bcopy, @function
16 .align 1
17bcopy:
18 /* Swap the first two arguments */
19 eor r11, r12
20 eor r12, r11
21 eor r11, r12
22 rjmp HIDDEN_JUMPTARGET(memmove)
23
24 .size bcopy, . - bcopy
25
26#endif /* __UCLIBC_SUSV3_LEGACY__ */