summaryrefslogtreecommitdiff
path: root/sysdeps/generic/symbol-hacks.h
blob: fe99289a4b05439025f4a75875a1194e07766cdd (plain)
1
2
3
4
5
6
7
8
9
/* Some compiler optimizations may transform loops into memset/memmove
   calls and without proper declaration it may generate PLT calls.  */
#if !defined __ASSEMBLER__ && !defined NOT_IN_libc && defined SHARED
#include <config.h>
#  if !defined NO_HIDDEN
asm ("memmove = __GI_memmove");
asm ("memset = __GI_memset");
#  endif
#endif