From 6a97b62a5b4f18aea849d6f4d8de58d1469d2521 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Wed, 12 Jun 2013 10:21:22 -0500 Subject: 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. --- ChangeLog | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index d38c96a..d08f0a6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2013-06-11 Adhemerval Zanella + + [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 * math/bug-nextafter.c: Include . -- cgit v1.1