arrfab / rpms / glibc

Forked from rpms/glibc 5 years ago
Clone

Blame SOURCES/glibc-rh731837-19.patch

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