2012-05-25 Sriraman Tallam <tmsriram@google.com>

* symtab.cc (Symbol_table::define_special_symbol):
	Initialize *poldsym to prevent uninitialized variable errors.
This commit is contained in:
Sriraman Tallam 2012-05-25 22:53:52 +00:00
parent 4196f32530
commit 8cc69fb6b5
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2012-05-25 Sriraman Tallam <tmsriram@google.com>
* symtab.cc (Symbol_table::define_special_symbol):
Initialize *poldsym to prevent uninitialized variable errors.
2012-05-23 Cary Coutant <ccoutant@google.com>
* layout.cc (Layout::section_name_mapping): Add rules to handle

View File

@ -1682,6 +1682,7 @@ Symbol_table::define_special_symbol(const char** pname, const char** pversion,
bool* resolve_oldsym)
{
*resolve_oldsym = false;
*poldsym = NULL;
// If the caller didn't give us a version, see if we get one from
// the version script.