diff options
author | Toni Spets <toni.spets@iki.fi> | 2016-03-29 14:25:23 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2016-03-29 16:03:07 +1030 |
commit | e2b4fc913bad3b6a6e4b00b11c7c75268892150d (patch) | |
tree | b643afc3d9ea32e083289645a414cc68bb062673 /bfd | |
parent | 82b8a7851fb9d7724c53d13a4319d1e47acc4460 (diff) | |
download | gdb-e2b4fc913bad3b6a6e4b00b11c7c75268892150d.zip gdb-e2b4fc913bad3b6a6e4b00b11c7c75268892150d.tar.gz gdb-e2b4fc913bad3b6a6e4b00b11c7c75268892150d.tar.bz2 |
PE/COFF regression in base of code and data calculation
PR 19878
* coffcode.h (coff_write_object_contents): Revert accidental
2014-11-10 change.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rw-r--r-- | bfd/coffcode.h | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index b57cfa5..54dc971 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2016-03-29 Toni Spets <toni.spets@iki.fi> + + PR 19878 + * coffcode.h (coff_write_object_contents): Revert accidental + 2014-11-10 change. + 2016-03-22 Alan Modra <amodra@gmail.com> PR 19850 diff --git a/bfd/coffcode.h b/bfd/coffcode.h index caceab6..798f7f7 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; |