This is the mail archive of the binutils@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]

PATCH: binutils/3171: efi-app-ia64 objcopy magic error


The optional header magic number should be PE32PMAGIC for ia64. I am
checking this patch as an obvious fix.


H.J.
---
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.

--- bfd/coffcode.h.pe	2006-05-11 08:52:55.000000000 -0700
+++ bfd/coffcode.h	2006-09-05 09:51:17.000000000 -0700
@@ -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)


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