diff options
author | kib <kib@FreeBSD.org> | 2011-01-25 21:12:31 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2011-01-25 21:12:31 +0000 |
commit | 1290d38ac50b3afa7e5781d9d97346a1042c736c (patch) | |
tree | 6b984b52162918ea8254c857cb2d30fd43f83cbf /libexec/rtld-elf/sparc64 | |
parent | 736c72ab1a257909fc96a743c7c7e9a1e584cbaa (diff) | |
download | FreeBSD-src-1290d38ac50b3afa7e5781d9d97346a1042c736c.zip FreeBSD-src-1290d38ac50b3afa7e5781d9d97346a1042c736c.tar.gz |
When loading dso without PT_GNU_STACK phdr, only call
__pthread_map_stacks_exec() on architectures that allow executable
stacks.
Reported and tested by: marcel (ia64)
Diffstat (limited to 'libexec/rtld-elf/sparc64')
-rw-r--r-- | libexec/rtld-elf/sparc64/rtld_machdep.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libexec/rtld-elf/sparc64/rtld_machdep.h b/libexec/rtld-elf/sparc64/rtld_machdep.h index a161071..3160391 100644 --- a/libexec/rtld-elf/sparc64/rtld_machdep.h +++ b/libexec/rtld-elf/sparc64/rtld_machdep.h @@ -65,4 +65,7 @@ typedef struct { extern void *__tls_get_addr(tls_index *ti); +#define RTLD_DEFAULT_STACK_PF_EXEC 0 +#define RTLD_DEFAULT_STACK_EXEC 0 + #endif |