aboutsummaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2006-09-05 18:56:50 +0000
committerH.J. Lu <hjl.tools@gmail.com>2006-09-05 18:56:50 +0000
commit7a2ec0a65dfd5905edc4668ee941bba809c42a68 (patch)
treede802c200ae822ebdd23c13dfa7436e7b02a13f7 /bfd/coffcode.h
parent599b237a8aa1faad4c8d0301b70b680ffc155634 (diff)
downloadgdb-7a2ec0a65dfd5905edc4668ee941bba809c42a68.zip
gdb-7a2ec0a65dfd5905edc4668ee941bba809c42a68.tar.gz
gdb-7a2ec0a65dfd5905edc4668ee941bba809c42a68.tar.bz2
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.
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r--bfd/coffcode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index badb214..fa0a206 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)