]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2005-03-01 Alfred M. Szmidt <ams@gnu.org>
authorRoland McGrath <roland@gnu.org>
Mon, 7 Mar 2005 22:46:21 +0000 (22:46 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 7 Mar 2005 22:46:21 +0000 (22:46 +0000)
[BZ #777]
* elf/dl-load.c (__stack_prot) [!PROT_GROWSUP && !PROT_GROWSDOWN]:
Add missing initializer.

elf/dl-load.c

index ab1080e51f2cf79ea8747aeb7f3b1cfc2157baf6..17b90ae8b865e83363ee4df6b61d65425c68fb0d 100644 (file)
@@ -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