* sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_init):
authorRoland McGrath <roland@gnu.org>
Mon, 22 Dec 2003 20:30:32 +0000 (20:30 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 22 Dec 2003 20:30:32 +0000 (20:30 +0000)
Initialize REF before passing it to _dl_lookup_symbol.

ChangeLog
sysdeps/unix/sysv/linux/ia64/dl-static.c

index 5f2c5f4..ca16f87 100644 (file)
--- 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.
index b51b2f2..6489068 100644 (file)
@@ -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 *[]);