This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
gold patch committed: Fix bug in earlier commit
- From: Ian Lance Taylor <iant at google dot com>
- To: binutils at sourceware dot org
- Date: Fri, 08 Jan 2010 15:11:46 -0800
- Subject: gold patch committed: Fix bug in earlier commit
I committed this patch to gold to fix a bug in a change I committed
earlier today.
Ian
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.
Index: dynobj.cc
===================================================================
RCS file: /cvs/src/src/gold/dynobj.cc,v
retrieving revision 1.54
diff -p -u -r1.54 dynobj.cc
--- dynobj.cc 8 Jan 2010 21:24:44 -0000 1.54
+++ dynobj.cc 8 Jan 2010 23:10:10 -0000
@@ -131,6 +131,7 @@ Sized_dynobj<size, big_endian>::find_dyn
break;
case elfcpp::SHT_SYMTAB:
symtab_shndx = i;
+ pi = NULL;
break;
case elfcpp::SHT_GNU_versym:
pi = pversym_shndx;