about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2013-06-12 10:21:22 -0500
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2013-06-12 10:21:22 -0500
commit6a97b62a5b4f18aea849d6f4d8de58d1469d2521 (patch)
tree0fdb35cb468bdb040fd3a1f01b4ddcc70b0f30dd /ChangeLog
parent94f2c076692a5a4beaa9a85eb10dbe4d891acb1e (diff)
downloadglibc-6a97b62a5b4f18aea849d6f4d8de58d1469d2521.tar.gz
glibc-6a97b62a5b4f18aea849d6f4d8de58d1469d2521.tar.xz
glibc-6a97b62a5b4f18aea849d6f4d8de58d1469d2521.zip
Fix unsafe compiler optimization
GCC 4.8 enables -ftree-loop-distribute-patterns at -O3 by default and
this optimization may transform loops into memset/memmove calls. Without
proper handling this may generate unexpected PLT calls on GLIBC.
This patch fixes by create memset/memmove alias to internal GLIBC
__GI_memset/__GI_memmove symbols.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d38c96a9e8..d08f0a6b2e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2013-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
+
+	[BZ #15605]
+	* sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
+	generated by the compiler on loop optimizations.
+	* sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
+	general definitions.
+
 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
 
 	* math/bug-nextafter.c: Include <math-tests.h>.