mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-11 03:40:06 +00:00
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:
parent
8f630cca5c
commit
1775babf2b
@ -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):
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user