summaryrefslogtreecommitdiff
path: root/sysdeps/generic/symbol-hacks.h
blob: ce576c9fd26d9f4fd9f9b24fb438c23c3c44c775 (plain)
1
2
3
4
5
6
7
/* Some compiler optimizations may transform loops into memset/memmove
   calls and without proper declaration it may generate PLT calls.  */
#if !defined __ASSEMBLER__ && IS_IN (libc) && defined SHARED
asm ("memmove = __GI_memmove");
asm ("memset = __GI_memset");
asm ("memcpy = __GI_memcpy");
#endif