From: Toni Spets Date: Tue, 29 Mar 2016 03:55:23 +0000 (+1030) Subject: PE/COFF regression in base of code and data calculation X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e2b4fc913bad3b6a6e4b00b11c7c75268892150d;p=binutils-gdb.git PE/COFF regression in base of code and data calculation PR 19878 * coffcode.h (coff_write_object_contents): Revert accidental 2014-11-10 change. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index b57cfa55006..54dc971eb40 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2016-03-29 Toni Spets + + PR 19878 + * coffcode.h (coff_write_object_contents): Revert accidental + 2014-11-10 change. + 2016-03-22 Alan Modra PR 19850 diff --git a/bfd/coffcode.h b/bfd/coffcode.h index caceab6e68e..798f7f7f0a5 100644 --- a/bfd/coffcode.h +++ b/bfd/coffcode.h @@ -4076,6 +4076,8 @@ coff_write_object_contents (bfd * abfd) internal_f.f_flags |= F_DYNLOAD; #endif + memset (&internal_a, 0, sizeof internal_a); + /* Set up architecture-dependent stuff. */ { unsigned int magic = 0;