From 7a2ec0a65dfd5905edc4668ee941bba809c42a68 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 5 Sep 2006 18:56:50 +0000 Subject: [PATCH] 2006-09-05 Bibo Mao PR binutils/3171 * coffcode.h (coff_write_object_contents): Set the optional header magic number to PE32PMAGIC instead of ZMAGIC for ia64. --- bfd/ChangeLog | 6 ++++++ bfd/coffcode.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index fc7eca1ac14..5df36f34eee 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2006-09-05 Bibo Mao + + 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 * elf32-arm.c (elf32_arm_howto_table_1): Adjust entries for diff --git a/bfd/coffcode.h b/bfd/coffcode.h index badb2144705..fa0a206a5ef 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) -- 2.30.2