summaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-03-07 22:46:21 +0000
committerRoland McGrath <roland@gnu.org>2005-03-07 22:46:21 +0000
commitd98e023eca3c6379841201f95a8d1f66826c208b (patch)
treeccc908e52b618c4d3845cd4c1b0540325db5f196 /elf
parent3d91edb5a319be46ab8d615d725e2e82924c1b57 (diff)
2005-03-01 Alfred M. Szmidt <ams@gnu.org>
[BZ #777] * elf/dl-load.c (__stack_prot) [!PROT_GROWSUP && !PROT_GROWSDOWN]: Add missing initializer.
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-load.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/elf/dl-load.c b/elf/dl-load.c
index ab1080e51f..17b90ae8b8 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