about summary refs log tree commit diff
path: root/nptl/tst-flock1.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2013-06-12 10:21:22 -0500
committerRyan S. Arnold <rsa@linux.vnet.ibm.com>2013-07-26 09:30:36 -0500
commit7dfe8a35215a019f552f117d907eca294225c121 (patch)
treec4a814d67fa81eeda93b2402d7957c38d87e4485 /nptl/tst-flock1.c
parente0c595c971d958da58533a2b9b59f46a71a1e4cf (diff)
downloadglibc-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-flock1.c')
0 files changed, 0 insertions, 0 deletions