diff options
author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2013-06-12 10:21:22 -0500 |
---|---|---|
committer | Ryan S. Arnold <rsa@linux.vnet.ibm.com> | 2013-07-26 09:30:36 -0500 |
commit | 7dfe8a35215a019f552f117d907eca294225c121 (patch) | |
tree | c4a814d67fa81eeda93b2402d7957c38d87e4485 /nptl/tst-spin1.c | |
parent | e0c595c971d958da58533a2b9b59f46a71a1e4cf (diff) | |
download | glibc-7dfe8a35215a019f552f117d907eca294225c121.tar.gz glibc-7dfe8a35215a019f552f117d907eca294225c121.tar.xz glibc-7dfe8a35215a019f552f117d907eca294225c121.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. (cherry picked from commit 6a97b62a5b4f18aea849d6f4d8de58d1469d2521)
Diffstat (limited to 'nptl/tst-spin1.c')
0 files changed, 0 insertions, 0 deletions