This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
elf/dl-load.c broken
- From: "Alfred M. Szmidt" <ams at kemisten dot nu>
- To: libc-alpha at sources dot redhat dot com
- Date: Tue, 01 Mar 2005 10:14:31 +0100
- Subject: elf/dl-load.c broken
- Reply-to: ams at kemisten dot nu
Fix for the following attached:
dl-load.c:108: error: parse error at end of input
dl-load.c:109:1: unterminated #elif
2005-03-01 Alfred M. Szmidt <ams@gnu.org>
* elf/dl-load.c: Default to zero if [_STACK_GROWS_DOWN &&
PROT_GROWSDOWN] and [_STACK_GROWS_UP && PROT_GROWSUP] are false.
Index: elf/dl-load.c
===================================================================
RCS file: /cvsroot/libc/libc/elf/dl-load.c,v
retrieving revision 1.262
diff -u -p -r1.262 elf/dl-load.c
--- elf/dl-load.c 23 Feb 2005 06:04:46 -0000 1.262
+++ elf/dl-load.c 25 Feb 2005 02:41:25 -0000
@@ -110,6 +110,8 @@ int __stack_prot attribute_hidden attrib
= PROT_GROWSDOWN;
#elif _STACK_GROWS_UP && defined PROT_GROWSUP
= PROT_GROWSUP;
+#else
+ = 0;
#endif