diff options
author | Ulrich Drepper <drepper@redhat.com> | 2005-02-08 08:25:22 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2005-02-08 08:25:22 +0000 |
commit | 606832e6e59fc9771c1c9b2de8666bdfb0b344de (patch) | |
tree | 6485492e9feef23990d57bfd6b15a548df6ba287 /elf | |
parent | dbfc1e02671b7ed137272af79751b534613a9326 (diff) | |
download | glibc-606832e6e59fc9771c1c9b2de8666bdfb0b344de.tar glibc-606832e6e59fc9771c1c9b2de8666bdfb0b344de.tar.gz glibc-606832e6e59fc9771c1c9b2de8666bdfb0b344de.tar.bz2 glibc-606832e6e59fc9771c1c9b2de8666bdfb0b344de.zip |
* sysdeps/sh/dl-machine.h (elf_machine_rela): Remove code using
RESOLVE.
2005-02-07 Ulrich Drepper <drepper@redhat.com>
* 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.
Diffstat (limited to 'elf')
-rw-r--r-- | elf/dl-load.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 <dl-osinfo.h> #include <stackinfo.h> #include <caller.h> +#include <sysdep.h> #include <dl-dst.h> @@ -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) { |