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 3/9] bfd: Set the armv7 pe magic if targeting the armv7 version of arm/pe/coff


---
 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


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