Mon Jun 10 06:14:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
authorroland <roland>
Mon, 10 Jun 1996 20:11:01 +0000 (20:11 +0000)
committerroland <roland>
Mon, 10 Jun 1996 20:11:01 +0000 (20:11 +0000)
commit2c0c0629010e6da2289ccfa816c4e665b4a27a7c
tree9b7eca8098089d1edafb1ab884c1bbe1150549fe
parentbc7d610613d013c6d34b4ce9443cfdf82c383cdc
Mon Jun 10 06:14:03 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* elf/dl-runtime.c (_dl_global_scope): New variable.
(_dl_object_relocation_scope): New function.
(fixup): Use it.
* elf/rtld.c (dl_main): Use it.
* elf/dl-open.c (_dl_open): Use it.  If (MODE & RTLD_GLOBAL), set the
l_global bit and append the new map to _dl_global_scope.
* elf/link.h: Declare _dl_global_scope, _dl_global_scope_alloc,
and _dl_object_relocation_scope.
* elf/dl-runtime.c (fixup): Set up scope for symbol lookup properly as
done in _dl_relocate_object.
elf/dl-runtime.c