PR 9812
[binutils-gdb.git] / gold / object.cc
index 9030abe5b33948cdebc8eb021428d0f676377afd..a05dcfc5e713ed1e36dc7a473066c28825bd696e 100644 (file)
@@ -913,7 +913,7 @@ Sized_relobj<size, big_endian>::do_layout(Symbol_table* symtab,
                          && symtab->gc()->is_worklist_ready());
   if (shnum == 0)
     return;
-  Symbols_data* gc_sd;
+  Symbols_data* gc_sd = NULL;
   if (is_gc_pass_one)
     {
       // During garbage collection save the symbols data to use it when