aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--elf/rtld.c3
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2fb941bcff..5c8f634b46 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2003-10-27 Ulrich Drepper <drepper@redhat.com>
+ * elf/rtld.c (map_doit): Pass __RTLD_OPENEXEC in last parameter to
+ _dl_map_object.
+
* elf/sprof.c (load_shobj): Use l_map_start not l_addr to locate
ELF header.
diff --git a/elf/rtld.c b/elf/rtld.c
index 344fedeb95..e92149a667 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -520,7 +520,8 @@ static void
map_doit (void *a)
{
struct map_args *args = (struct map_args *) a;
- args->main_map = INTUSE(_dl_map_object) (NULL, args->str, 0, lt_library, 0, 0);
+ args->main_map = INTUSE(_dl_map_object) (NULL, args->str, 0, lt_library, 0,
+ __RTLD_OPENEXEC);
}
static void