(_dl_init): Correct typo (DT_PREINIT_ARRAY not DT_PREINIT_ARRAYSZ).
authordrepper <drepper>
Fri, 28 Apr 2000 05:19:36 +0000 (05:19 +0000)
committerdrepper <drepper>
Fri, 28 Apr 2000 05:19:36 +0000 (05:19 +0000)
elf/dl-init.c

index dfef83d..683b94b 100644 (file)
@@ -32,7 +32,7 @@ void
 internal_function
 _dl_init (struct link_map *main_map, int argc, char **argv, char **env)
 {
-  ElfW(Dyn) *preinit_array = main_map->l_info[DT_PREINIT_ARRAYSZ];
+  ElfW(Dyn) *preinit_array = main_map->l_info[DT_PREINIT_ARRAY];
   struct r_debug *r;
   unsigned int i;