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]

Re: Simple bug fix in gold linker.


Sriraman Tallam <tmsriram@google.com> writes:

>    Patch ok? This was causing an uninitialized variable error while building.
>
> 	* symtab.cc (Symbol_table::add_undefined_symbol_from_command_line):
> 	Initialize oldsym to prevent uninitialized variable errors.

Instead of this, change Symbol_table::define_special_symbol to set
*poldsym = NULL at the top of the function.  That patch is approved if
it fixes the problem.

Ian


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