From: Roland McGrath Date: Mon, 7 Mar 2005 22:46:21 +0000 (+0000) Subject: 2005-03-01 Alfred M. Szmidt X-Git-Tag: cvs/glibc-2_3_5~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d98e023eca3c6379841201f95a8d1f66826c208b;p=thirdparty%2Fglibc.git 2005-03-01 Alfred M. Szmidt [BZ #777] * elf/dl-load.c (__stack_prot) [!PROT_GROWSUP && !PROT_GROWSDOWN]: Add missing initializer. --- diff --git a/elf/dl-load.c b/elf/dl-load.c index ab1080e51f2..17b90ae8b86 100644 --- a/elf/dl-load.c +++ b/elf/dl-load.c @@ -1,5 +1,5 @@ /* Map in a shared object's segments from the file. - Copyright (C) 1995-2002, 2003, 2004 Free Software Foundation, Inc. + Copyright (C) 1995-2002, 2003, 2004, 2005 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -110,6 +110,8 @@ int __stack_prot attribute_hidden attribute_relro = PROT_GROWSDOWN; #elif _STACK_GROWS_UP && defined PROT_GROWSUP = PROT_GROWSUP; +#else + = 0; #endif