* dynobj.cc (big_endian>::find_dynsym_sections): Set pi to NULL in

the SHT_SYMTAB case.
This commit is contained in:
Ian Lance Taylor 2010-01-08 23:10:58 +00:00
parent ee882def94
commit 2703e3eb93
2 changed files with 6 additions and 0 deletions

View 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

View 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;