aboutsummaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
diff options
context:
space:
mode:
authorToni Spets <toni.spets@iki.fi>2016-03-29 14:25:23 +1030
committerAlan Modra <amodra@gmail.com>2016-03-29 16:03:07 +1030
commite2b4fc913bad3b6a6e4b00b11c7c75268892150d (patch)
treeb643afc3d9ea32e083289645a414cc68bb062673 /bfd/coffcode.h
parent82b8a7851fb9d7724c53d13a4319d1e47acc4460 (diff)
downloadgdb-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.h2
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;