PE/COFF regression in base of code and data calculation

PR 19878
	* coffcode.h (coff_write_object_contents): Revert accidental
	2014-11-10 change.
This commit is contained in:
Toni Spets 2016-03-29 14:25:23 +10:30 committed by Alan Modra
parent 82b8a7851f
commit e2b4fc913b
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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;