]> sourceware.org Git - glibc.git/commitdiff
More fixes for unsafe compiler optimization
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Tue, 29 Apr 2014 19:15:45 +0000 (14:15 -0500)
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Wed, 30 Apr 2014 13:41:42 +0000 (08:41 -0500)
GCC 4.9 -ftree-loop-distribute-patterns now may transform loops in
memcpy.  Add the alias to internal GLIBC symbol to avoid PLT creation.

ChangeLog
sysdeps/generic/symbol-hacks.h

index 6bacb5c25d17b5c1b0910591d7c0832dcd56b9d1..054072fb36ca301d7ed2337987d8340fd7987a8c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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):
index 9eaf014ff2414cfd4b27f89fc094a54c3b4d8403..6bec24b7a017e27ecfc4b388faa05135ca038aab 100644 (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
This page took 0.121838 seconds and 5 git commands to generate.