_dl_static_init: Remove nested locking.
authorMaciej W. Rozycki <macro@codesourcery.com>
Thu, 27 Jun 2013 10:15:51 +0000 (11:15 +0100)
committerMaciej W. Rozycki <macro@codesourcery.com>
Thu, 27 Jun 2013 10:49:44 +0000 (11:49 +0100)
commitfe114d206479a36369d732ea260e81a686fdbb0b
treeb073a6e619dd39a7215e042cc76116ba96ca9a23
parentcbe7d24bb48d5f572d714d893a27a8858870b1d2
_dl_static_init: Remove nested locking.

This function is now called from dl_open_worker with the GL(dl_load_lock)
lock held and no longer needs local protection.  GL(dl_load_lock) also
correctly protects _dl_lookup_symbol_x called here that relies on the
caller to have serialized access to the data structures it uses.
ports/ChangeLog.ia64
ports/ChangeLog.mips
ports/sysdeps/unix/sysv/linux/ia64/dl-static.c
ports/sysdeps/unix/sysv/linux/mips/dl-static.c