123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- #include <features.h>
- #include <bits/arm_asm.h>
- #ifdef __UCLIBC_SUSV3_LEGACY__
- .text
- .global bcopy
- .type bcopy,%function
- .align 4
- #if defined(__thumb__) && !defined(__thumb2__)
- .thumb_func
- bcopy:
- push {r2, lr}
- mov ip, r0
- mov r0, r1
- mov r1, ip
- bl _memcpy
- POP_RET
- #else
- bcopy:
-
- eor r0, r1, r0
- eor r1, r0, r1
- eor r0, r1, r0
- b _memcpy
- #endif
-
- .size bcopy,.-bcopy
- #endif
|