This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

elf/dl-load.c broken


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
 
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]