mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
Update.
* elf/rtld.c (map_doit): Pass __RTLD_OPENEXEC in last parameter to _dl_map_object.
This commit is contained in:
parent
9a267ae298
commit
476238abeb
@ -1,5 +1,8 @@
|
|||||||
2003-10-27 Ulrich Drepper <drepper@redhat.com>
|
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/sprof.c (load_shobj): Use l_map_start not l_addr to locate
|
||||||
ELF header.
|
ELF header.
|
||||||
|
|
||||||
|
@ -520,7 +520,8 @@ static void
|
|||||||
map_doit (void *a)
|
map_doit (void *a)
|
||||||
{
|
{
|
||||||
struct map_args *args = (struct map_args *) 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
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user