projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee882de
)
* dynobj.cc (big_endian>::find_dynsym_sections): Set pi to NULL in
author
Ian Lance Taylor
<ian@airs.com>
Fri, 8 Jan 2010 23:10:58 +0000
(23:10 +0000)
committer
Ian Lance Taylor
<ian@airs.com>
Fri, 8 Jan 2010 23:10:58 +0000
(23:10 +0000)
the SHT_SYMTAB case.
gold/ChangeLog
patch
|
blob
|
history
gold/dynobj.cc
patch
|
blob
|
history
diff --git
a/gold/ChangeLog
b/gold/ChangeLog
index c14bcfb22a09d78ab1fc05bc4f16fcbef8020ca3..046d87aceaaf44c0de2631cdecb4595eaade2e2e 100644
(file)
--- a/
gold/ChangeLog
+++ b/
gold/ChangeLog
@@
-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
diff --git
a/gold/dynobj.cc
b/gold/dynobj.cc
index cb41402b841b54648162b01b1c962a2ca39ceb30..86668fb0832e1a3f562290454a9bcbd24521b216 100644
(file)
--- 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;