+2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
+
+ [BZ #15022]
+ * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
+ over to...
+ (dl_open_worker) [!SHARED]: ... here.
+
2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
* elf/elf.h (AT_HWCAP2): Add a new a_type entry.
if (relocation_in_progress)
LIBC_PROBE (reloc_complete, 3, args->nsid, r, new);
+#ifndef SHARED
+ DL_STATIC_INIT (new);
+#endif
+
/* Run the initializer functions of new objects. */
_dl_init (new, args->argc, args->argv, args->env);
/* Release the lock. */
__rtld_lock_unlock_recursive (GL(dl_load_lock));
-#ifndef SHARED
- DL_STATIC_INIT (args.map);
-#endif
-
return args.map;
}