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-Tag: users/ARM/embedded-gdb-2_26-branch-2016q1~6^2~59 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cf3db3d2451c68875f7a9f5b51e3d5ea3465aaa6;p=thirdparty%2Fbinutils-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 4741b194baf..5c0e709c840 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-17 H.J. Lu Backport from master diff --git a/bfd/coffcode.h b/bfd/coffcode.h index 24998851b47..97db5f798ba 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;