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/coffcode.h | |
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/coffcode.h')
-rw-r--r-- | bfd/coffcode.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; |