Avoid ELF lookup race.
commit2af6396817fb9df98e63de75dd59fd999ee9f1d0
authorUlrich Drepper <drepper@redhat.com>
Tue, 15 Dec 2009 20:32:27 +0000 (15 12:32 -0800)
committerUlrich Drepper <drepper@redhat.com>
Tue, 15 Dec 2009 20:32:27 +0000 (15 12:32 -0800)
treed66827c66d770f1f3d697dbb027b59064e6ab0e0
parent2510d01ddba195f8cfaa3c2349f75e0612719d82
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.
ChangeLog
elf/dl-lookup.c
elf/dl-object.c
include/link.h