This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] PE/COFF regression in base of code and data calculation


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e2b4fc913bad3b6a6e4b00b11c7c75268892150d

commit e2b4fc913bad3b6a6e4b00b11c7c75268892150d
Author: Toni Spets <toni.spets@iki.fi>
Date:   Tue Mar 29 14:25:23 2016 +1030

    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:
---
 bfd/ChangeLog  | 6 ++++++
 bfd/coffcode.h | 2 ++
 2 files changed, 8 insertions(+)

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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]