diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-12-15 12:32:27 -0800 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-12-15 12:32:27 -0800 |
commit | 2af6396817fb9df98e63de75dd59fd999ee9f1d0 (patch) | |
tree | d66827c66d770f1f3d697dbb027b59064e6ab0e0 /ChangeLog | |
parent | 2510d01ddba195f8cfaa3c2349f75e0612719d82 (diff) | |
download | glibc-2af6396817fb9df98e63de75dd59fd999ee9f1d0.tar glibc-2af6396817fb9df98e63de75dd59fd999ee9f1d0.tar.gz glibc-2af6396817fb9df98e63de75dd59fd999ee9f1d0.tar.bz2 glibc-2af6396817fb9df98e63de75dd59fd999ee9f1d0.zip |
Avoid ELF lookup race.
On some architectures the update of the l_used field in the lookup
functions races with setting the other bits in the bitfield. Simply
avoid this and optimize use of l_used in general.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +2009-12-15 Ulrich Drepper <drepper@redhat.com> + + * include/link.h (struct link_map): Move l_used into its own word. + * elf/dl-lookup.c (_dl_lookup_symbol_x): Only update l_used when it is + still zero. + * elf/dl-object.c (_dl_new_object): Set dl_used if we know it is + never really used. + 2009-12-13 H.J. Lu <hongjiu.lu@intel.com> * sysdeps/i386/i686/multiarch/strcspn.S Include <init-arch.h> |