bcopy.S 532 B

1234567891011121314151617181920212223242526
  1. /*
  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. #include <features.h>
  9. #ifdef __UCLIBC_SUSV3_LEGACY__
  10. .text
  11. .global bcopy
  12. .type bcopy, @function
  13. .align 1
  14. bcopy:
  15. /* Swap the first two arguments */
  16. eor r11, r12
  17. eor r12, r11
  18. eor r11, r12
  19. rjmp HIDDEN_JUMPTARGET(memmove)
  20. .size bcopy, . - bcopy
  21. #endif /* __UCLIBC_SUSV3_LEGACY__ */