This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH 3/9] bfd: Set the armv7 pe magic if targeting the armv7 version of arm/pe/coff
- From: Martin Storsjo <martin at martin dot st>
- To: binutils at sourceware dot org
- Date: Thu, 2 May 2013 02:39:02 +0300
- Subject: [PATCH 3/9] bfd: Set the armv7 pe magic if targeting the armv7 version of arm/pe/coff
- References: <1367451548-71365-1-git-send-email-martin at martin dot st>
---
bfd/coffcode.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 96b2c21..d520f0d 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -2886,7 +2886,9 @@ coff_set_flags (bfd * abfd,
#ifdef ARMMAGIC
case bfd_arch_arm:
-#ifdef ARM_WINCE
+#ifdef ARMV7_WIN
+ * magicp = ARMV7PEMAGIC;
+#elif defined(ARM_WINCE)
* magicp = ARMPEMAGIC;
#else
* magicp = ARMMAGIC;
--
1.7.9.4