lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | /* Some compiler optimizations may transform loops into memset/memmove |
2 | calls and without proper declaration it may generate PLT calls. */ | ||||
3 | #if !defined __ASSEMBLER__ && IS_IN (libc) && defined SHARED | ||||
4 | asm ("memmove = __GI_memmove"); | ||||
5 | asm ("memset = __GI_memset"); | ||||
6 | asm ("memcpy = __GI_memcpy"); | ||||
7 | #endif |