aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-01-15 19:59:44 +0000
committerUlrich Drepper <drepper@redhat.com>2004-01-15 19:59:44 +0000
commit80f50bfacf31b3641b8e8d437e97e4bd3947521d (patch)
tree9a67ad3ea55f6c9c92f813bd342a38e7ecedb868
parent697afbe1c8ba2037d0f7929f888a6994e6c21583 (diff)
downloadglibc-80f50bfacf31b3641b8e8d437e97e4bd3947521d.tar
glibc-80f50bfacf31b3641b8e8d437e97e4bd3947521d.tar.gz
glibc-80f50bfacf31b3641b8e8d437e97e4bd3947521d.tar.bz2
glibc-80f50bfacf31b3641b8e8d437e97e4bd3947521d.zip
Update.
* sysdeps/generic/dl-sysdep.c: Initialize __libc_stack_end.
-rw-r--r--ChangeLog1
-rw-r--r--sysdeps/generic/dl-sysdep.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9d2f1df44c..6583cbce24 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
2004-01-15 Ulrich Drepper <drepper@redhat.com>
+ * sysdeps/generic/dl-sysdep.c: Initialize __libc_stack_end.
* elf/rtld.c: Initialize _dl_argv to allow aliasing.
* resolv/resolv.h: Add RES_USEBSTRING.
diff --git a/sysdeps/generic/dl-sysdep.c b/sysdeps/generic/dl-sysdep.c
index 704dbdb432..b95c02d92f 100644
--- a/sysdeps/generic/dl-sysdep.c
+++ b/sysdeps/generic/dl-sysdep.c
@@ -53,7 +53,7 @@ INTVARDEF(__libc_enable_secure)
int __libc_multiple_libcs = 0; /* Defining this here avoids the inclusion
of init-first. */
/* This variable contains the lowest stack address ever used. */
-void *__libc_stack_end attribute_relro;
+void *__libc_stack_end attribute_relro = NULL;
rtld_hidden_data_def(__libc_stack_end)
static ElfW(auxv_t) *_dl_auxv attribute_relro;