From 664e7d93f93d421225a115a433d0dbbc40444daa Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 20 Sep 2004 15:08:26 +0000 Subject: Update. 2004-09-20 Ulrich Drepper * elf/dl-load.c: Define __stack_prot. * sysdeps/unix/sysv/linux/dl-execstack.c: Don't define __stack_prot here, just declare it. --- sysdeps/unix/sysv/linux/dl-execstack.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'sysdeps/unix') diff --git a/sysdeps/unix/sysv/linux/dl-execstack.c b/sysdeps/unix/sysv/linux/dl-execstack.c index c2b964bf7f..97ff5d0e62 100644 --- a/sysdeps/unix/sysv/linux/dl-execstack.c +++ b/sysdeps/unix/sysv/linux/dl-execstack.c @@ -28,12 +28,7 @@ #include "kernel-features.h" -int __stack_prot attribute_hidden attribute_relro -#if _STACK_GROWS_DOWN - = PROT_READ|PROT_WRITE|PROT_GROWSDOWN; -#elif _STACK_GROWS_UP - = PROT_READ|PROT_WRITE|PROT_GROWSUP; -#endif +extern int __stack_prot attribute_relro attribute_hidden; int -- cgit v1.2.3