From 606832e6e59fc9771c1c9b2de8666bdfb0b344de Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 8 Feb 2005 08:25:22 +0000 Subject: * sysdeps/sh/dl-machine.h (elf_machine_rela): Remove code using RESOLVE. 2005-02-07 Ulrich Drepper * elf/dl-load.c (_dl_map_object_from_fd): Makre sure registers are set correctly. * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Define. --- elf/dl-load.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'elf') diff --git a/elf/dl-load.c b/elf/dl-load.c index 03b7f0b4ee..f307dada2e 100644 --- a/elf/dl-load.c +++ b/elf/dl-load.c @@ -36,6 +36,7 @@ #include #include #include +#include #include @@ -1373,6 +1374,10 @@ cannot allocate TLS data structures for initial thread"); #endif __stack_prot |= PROT_READ|PROT_WRITE|PROT_EXEC; +#ifdef check_consistency + check_consistency (); +#endif + errval = (*GL(dl_make_stack_executable_hook)) (stack_endp); if (errval) { -- cgit v1.2.3