summaryrefslogtreecommitdiff
path: root/elf/dl-open.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/dl-open.c')
-rw-r--r--elf/dl-open.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/dl-open.c b/elf/dl-open.c
index 25f2ba6fab..8f4f9f5015 100644
--- a/elf/dl-open.c
+++ b/elf/dl-open.c
@@ -46,13 +46,13 @@ _dl_open (const char *file, int mode)
struct r_debug *r;
/* Load the named object. */
- new = _dl_map_object (NULL, file, lt_loaded);
+ new = _dl_map_object (NULL, file, lt_loaded, 0);
if (new->l_searchlist)
/* It was already open. */
return new;
/* Load that object's dependencies. */
- _dl_map_object_deps (new, NULL, 0);
+ _dl_map_object_deps (new, NULL, 0, 0);
/* Relocate the objects loaded. We do this in reverse order so that copy