ce426f
From a060ed545478f28bded88544e9361c49cf442427 Mon Sep 17 00:00:00 2001
ce426f
From: Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
ce426f
Date: Wed, 30 Jul 2014 08:19:53 -0500
ce426f
Subject: [PATCH] More fixes for unsafe compiler optimization
ce426f
ce426f
commit 1775babf2be39c3e09eb8b855379d0aca867abeb
ce426f
Author: Adhemerval Zanella <azanella@linux.vnet.ibm.com>
ce426f
Date:   Tue Apr 29 14:15:45 2014 -0500
ce426f
ce426f
GCC 4.9 -ftree-loop-distribute-patterns now may transform loops in
ce426f
memcpy.  Add the alias to internal GLIBC symbol to avoid PLT creation.
ce426f
---
ce426f
 sysdeps/generic/symbol-hacks.h | 1 +
ce426f
 1 file changed, 1 insertion(+)
ce426f
ce426f
diff --git glibc-2.17-c758a686/sysdeps/generic/symbol-hacks.h glibc-2.17-c758a686/sysdeps/generic/symbol-hacks.h
ce426f
index 9eaf014..6bec24b 100644
ce426f
--- glibc-2.17-c758a686/sysdeps/generic/symbol-hacks.h
ce426f
+++ glibc-2.17-c758a686/sysdeps/generic/symbol-hacks.h
ce426f
@@ -3,4 +3,5 @@
ce426f
 #if !defined __ASSEMBLER__ && !defined NOT_IN_libc && defined SHARED
ce426f
 asm ("memmove = __GI_memmove");
ce426f
 asm ("memset = __GI_memset");
ce426f
+asm ("memcpy = __GI_memcpy");
ce426f
 #endif
ce426f
-- 
ce426f
1.8.3.1
ce426f