* dynobj.cc (big_endian>::find_dynsym_sections): Set pi to NULL in
authorIan Lance Taylor <ian@airs.com>
Fri, 8 Jan 2010 23:10:58 +0000 (23:10 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 8 Jan 2010 23:10:58 +0000 (23:10 +0000)
the SHT_SYMTAB case.

gold/ChangeLog
gold/dynobj.cc

index c14bcfb22a09d78ab1fc05bc4f16fcbef8020ca3..046d87aceaaf44c0de2631cdecb4595eaade2e2e 100644 (file)
@@ -1,3 +1,8 @@
+2010-01-08  Ian Lance Taylor  <iant@google.com>
+
+       * dynobj.cc (big_endian>::find_dynsym_sections): Set pi to NULL in
+       the SHT_SYMTAB case.
+
 2010-01-08  Ian Lance Taylor  <iant@google.com>
 
        * object.cc (Sized_relobj::do_layout): Don't get confused if
index cb41402b841b54648162b01b1c962a2ca39ceb30..86668fb0832e1a3f562290454a9bcbd24521b216 100644 (file)
@@ -131,6 +131,7 @@ Sized_dynobj<size, big_endian>::find_dynsym_sections(
          break;
        case elfcpp::SHT_SYMTAB:
          symtab_shndx = i;
+         pi = NULL;
          break;
        case elfcpp::SHT_GNU_versym:
          pi = pversym_shndx;
This page took 0.032218 seconds and 4 git commands to generate.