summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2006-09-05 18:56:50 +0000
committerH.J. Lu <hjl@lucon.org>2006-09-05 18:56:50 +0000
commit72c5570e9339d8b2aeb9e8694cb1df29305f0570 (patch)
tree8add39784768edc57c12f8c2fbd64c90c5eeeadb
parenteb73646d5f770aa1e931f7deddb80c3d4065f152 (diff)
downloadbinutils-redhat-72c5570e9339d8b2aeb9e8694cb1df29305f0570.tar.gz
2006-09-05 Bibo Mao <bibo.mao@intel.com>
PR binutils/3171 * coffcode.h (coff_write_object_contents): Set the optional header magic number to PE32PMAGIC instead of ZMAGIC for ia64.
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/coffcode.h2
2 files changed, 7 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index fc7eca1ac1..5df36f34ee 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2006-09-05 Bibo Mao <bibo.mao@intel.com>
+
+ PR binutils/3171
+ * coffcode.h (coff_write_object_contents): Set the optional
+ header magic number to PE32PMAGIC instead of ZMAGIC for ia64.
+
2006-09-04 Mark Shinwell <shinwell@codesourcery.com>
* elf32-arm.c (elf32_arm_howto_table_1): Adjust entries for
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index badb214470..fa0a206a5e 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -3869,7 +3869,7 @@ coff_write_object_contents (bfd * abfd)
#if defined(IA64)
#define __A_MAGIC_SET__
- internal_a.magic = ZMAGIC;
+ internal_a.magic = PE32PMAGIC;
#endif /* IA64 */
#if defined(SPARC)