This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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;

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]