aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/ia64/dl-static.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5f2c5f4..ca16f87 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-12-22 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
+
+ * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_init):
+ Initialize REF before passing it to _dl_lookup_symbol.
+
2003-12-21 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/dl-sysdep.c (_exit): Define with attribute_hidden.
diff --git a/sysdeps/unix/sysv/linux/ia64/dl-static.c b/sysdeps/unix/sysv/linux/ia64/dl-static.c
index b51b2f2..6489068 100644
--- a/sysdeps/unix/sysv/linux/ia64/dl-static.c
+++ b/sysdeps/unix/sysv/linux/ia64/dl-static.c
@@ -49,7 +49,7 @@ static void *variables[] =
void
_dl_static_init (struct link_map *map)
{
- const ElfW(Sym) *ref;
+ const ElfW(Sym) *ref = NULL;
lookup_t loadbase;
void (*f) (void *[]);