elf/dl-load.c broken

Alfred M. Szmidt ams@kemisten.nu
Tue Mar 1 09:14:00 GMT 2005


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
 
 



More information about the Libc-alpha mailing list