diff options
author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2013-06-12 10:21:22 -0500 |
---|---|---|
committer | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2013-06-12 10:21:22 -0500 |
commit | 6a97b62a5b4f18aea849d6f4d8de58d1469d2521 (patch) | |
tree | 0fdb35cb468bdb040fd3a1f01b4ddcc70b0f30dd /nptl/pthread_mutex_init.c | |
parent | 94f2c076692a5a4beaa9a85eb10dbe4d891acb1e (diff) | |
download | glibc-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 'nptl/pthread_mutex_init.c')
0 files changed, 0 insertions, 0 deletions