From: Sriraman Tallam Date: Fri, 25 May 2012 22:53:52 +0000 (+0000) Subject: 2012-05-25 Sriraman Tallam X-Git-Tag: sid-snapshot-20120601~46 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8cc69fb6b57def8f0e9e931e7ac64ae7b689af60;p=external%2Fbinutils.git 2012-05-25 Sriraman Tallam * symtab.cc (Symbol_table::define_special_symbol): Initialize *poldsym to prevent uninitialized variable errors. --- diff --git a/gold/ChangeLog b/gold/ChangeLog index 4ba85c9..0cd5e27 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2012-05-25 Sriraman Tallam + + * symtab.cc (Symbol_table::define_special_symbol): + Initialize *poldsym to prevent uninitialized variable errors. + 2012-05-23 Cary Coutant * layout.cc (Layout::section_name_mapping): Add rules to handle diff --git a/gold/symtab.cc b/gold/symtab.cc index ebce5ca..fd81e8bd 100644 --- a/gold/symtab.cc +++ b/gold/symtab.cc @@ -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.