From d3e4ed994c517460a344153aa0a7d48cbcfa0237 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 22 Dec 2003 20:30:32 +0000 Subject: * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_init): Initialize REF before passing it to _dl_lookup_symbol. --- ChangeLog | 5 +++++ sysdeps/unix/sysv/linux/ia64/dl-static.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5f2c5f4..ca16f87 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-12-22 Maciej W. Rozycki + + * 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 * 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 *[]); -- cgit v1.1