diff options
author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2014-04-29 14:15:45 -0500 |
---|---|---|
committer | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2014-04-30 08:41:42 -0500 |
commit | 1775babf2be39c3e09eb8b855379d0aca867abeb (patch) | |
tree | 1b1a06663ba859b858a8ff66cd5ff32b3a2e5df8 /sysdeps/generic | |
parent | 8f630cca5c36941db1cb48726016bbed80ec1041 (diff) | |
download | glibc-1775babf2be39c3e09eb8b855379d0aca867abeb.tar.gz glibc-1775babf2be39c3e09eb8b855379d0aca867abeb.tar.xz glibc-1775babf2be39c3e09eb8b855379d0aca867abeb.zip |
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.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r-- | sysdeps/generic/symbol-hacks.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/generic/symbol-hacks.h b/sysdeps/generic/symbol-hacks.h index 9eaf014ff2..6bec24b7a0 100644 --- a/sysdeps/generic/symbol-hacks.h +++ b/sysdeps/generic/symbol-hacks.h @@ -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 |