]> sourceware.org Git - glibc.git/blobdiff - elf/rtld.c
elf: Add initial flag argument to __libc_early_init
[glibc.git] / elf / rtld.c
index 0016db86a7f63f7403e79d5e30878065ffd50825..5ccc3c2dbb751086625642f018f41d5040f68c5d 100644 (file)
@@ -2373,8 +2373,10 @@ ERROR: '%s': cannot process note segment.\n", _dl_argv[0]);
       rtld_timer_accum (&relocate_time, start);
     }
 
-  /* Relocation is complete.  Perform early libc initialization.  */
-  _dl_call_libc_early_init (GL(dl_ns)[LM_ID_BASE].libc_map);
+  /* Relocation is complete.  Perform early libc initialization.  This
+     is the initial libc, even if audit modules have been loaded with
+     other libcs.  */
+  _dl_call_libc_early_init (GL(dl_ns)[LM_ID_BASE].libc_map, true);
 
   /* Do any necessary cleanups for the startup OS interface code.
      We do these now so that no calls are made after rtld re-relocation
This page took 0.031081 seconds and 5 git commands to generate.