diff options
Diffstat (limited to 'elf/rtld.c')
-rw-r--r-- | elf/rtld.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -482,6 +482,10 @@ of this helper program; chances are you did not intend to run this program.\n", preloads = NULL; npreloads = 0; + /* Initialize the data structures for the search paths for shared + objects. */ + _dl_init_paths (); + preloadlist = getenv ("LD_PRELOAD"); if (preloadlist) { @@ -595,10 +599,6 @@ of this helper program; chances are you did not intend to run this program.\n", assert (i == npreloads); } - /* Initialize the data structures for the search paths for shared - objects. */ - _dl_init_paths (); - /* Load all the libraries specified by DT_NEEDED entries. If LD_PRELOAD specified some libraries to load, these are inserted before the actual dependencies in the executable's searchlist for symbol resolution. */ |