diff options
author | Ian Lance Taylor <ian@airs.com> | 2010-01-08 23:10:58 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2010-01-08 23:10:58 +0000 |
commit | 2703e3eb93fbefd8c386ee0d06a1991dc4d6008c (patch) | |
tree | 11889c82aa7b7372719e0d516ef7037322758d0a /gold/dynobj.cc | |
parent | ee882def942acc850b1b37db382ecfcbb354de61 (diff) | |
download | gdb-2703e3eb93fbefd8c386ee0d06a1991dc4d6008c.zip gdb-2703e3eb93fbefd8c386ee0d06a1991dc4d6008c.tar.gz gdb-2703e3eb93fbefd8c386ee0d06a1991dc4d6008c.tar.bz2 |
* dynobj.cc (big_endian>::find_dynsym_sections): Set pi to NULL in
the SHT_SYMTAB case.
Diffstat (limited to 'gold/dynobj.cc')
-rw-r--r-- | gold/dynobj.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gold/dynobj.cc b/gold/dynobj.cc index cb41402..86668fb 100644 --- a/gold/dynobj.cc +++ b/gold/dynobj.cc @@ -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; |