More fixes for unsafe compiler optimization

GCC 4.9 -ftree-loop-distribute-patterns now may transform loops in
memcpy.  Add the alias to internal GLIBC symbol to avoid PLT creation.
This commit is contained in:
Adhemerval Zanella 2014-04-29 14:15:45 -05:00
parent 8f630cca5c
commit 1775babf2b
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
* * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
* nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):

View File

@ -3,4 +3,5 @@
#if !defined __ASSEMBLER__ && !defined NOT_IN_libc && defined SHARED
asm ("memmove = __GI_memmove");
asm ("memset = __GI_memset");
asm ("memcpy = __GI_memcpy");
#endif