summaryrefslogtreecommitdiff
path: root/sysdeps/generic/symbol-hacks.h
blob: 137ff57d8aabb71bd828b0a7b64d71855cc8dc61 (plain)
1
2
3
4
5
6
7
8
9
10
/* 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
#include <config.h>
#  if !defined NO_HIDDEN
asm ("memmove = __GI_memmove");
asm ("memset = __GI_memset");
asm ("memcpy = __GI_memcpy");
#  endif
#endif