Little optimization.
authordrepper <drepper>
Wed, 11 Mar 1998 15:31:29 +0000 (15:31 +0000)
committerdrepper <drepper>
Wed, 11 Mar 1998 15:31:29 +0000 (15:31 +0000)
elf/dlsym.c
elf/dlvsym.c

index 3a4bd4a..0da1902 100644 (file)
@@ -66,8 +66,7 @@ RTLD_NEXT used in code not dynamically loaded"));
        l = l->l_loader;
 
       {
-       struct link_map *map = l;
-       struct link_map *mapscope[2] = { map, NULL };
+       struct link_map *mapscope[2] = { l, NULL };
        args->loadbase = _dl_lookup_symbol_skip (args->name, &args->ref,
                                                 mapscope, NULL, match);
       }
index a332c59..c42b0d7 100644 (file)
@@ -68,8 +68,7 @@ RTLD_NEXT used in code not dynamically loaded"));
        l = l->l_loader;
 
       {
-       struct link_map *map = l;
-       struct link_map *mapscope[2] = { map, NULL };
+       struct link_map *mapscope[2] = { l, NULL };
        args->loadbase = _dl_lookup_versioned_symbol_skip (args->name,
                                                           &args->ref,
                                                           mapscope,