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: Fix use of uninitialized data in elf32-ppc.c


On Fri, Jan 28, 2011 at 11:25:26PM +0000, Joseph S. Myers wrote:
> This patch fixes nondeterministic behavior in the ppc32 linker arising
> from the has_sda_refs field in struct ppc_elf_link_hash_entry not
> being initialized.
> 
> Tested with no regressions with cross to powerpc-linux-gnu.  OK to
> commit?

Yes please.  2.21 too.

> 2011-01-28  Joseph Myers  <joseph@codesourcery.com>
> 
> 	* elf32-ppc.c (ppc_elf_link_hash_newfunc): Initialize has_sda_refs
> 	field.

-- 
Alan Modra
Australia Development Lab, IBM


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