aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-01-02 13:20:50 +0000
committerNick Clifton <nickc@redhat.com>2013-01-02 13:20:50 +0000
commit4f15c8939e0b9515162367c915ee309dfc4d70a9 (patch)
tree8998e29b25ca11842e3ce8311d2ff79ff2615d6e
parentbab4becb122e95e9cd17cb8046d9d3cf49d351f4 (diff)
downloadgdb-4f15c8939e0b9515162367c915ee309dfc4d70a9.zip
gdb-4f15c8939e0b9515162367c915ee309dfc4d70a9.tar.gz
gdb-4f15c8939e0b9515162367c915ee309dfc4d70a9.tar.bz2
* arm.h (ARMV7PEMAGIC): Define.
(ARMBADMAG): Update.
-rw-r--r--include/coff/ChangeLog5
-rw-r--r--include/coff/arm.h6
2 files changed, 9 insertions, 2 deletions
diff --git a/include/coff/ChangeLog b/include/coff/ChangeLog
index 0f07044..11437dd 100644
--- a/include/coff/ChangeLog
+++ b/include/coff/ChangeLog
@@ -1,3 +1,8 @@
+2013-01-02 Martin Storsjo <martin@martin.st>
+
+ * arm.h (ARMV7PEMAGIC): Define.
+ (ARMBADMAG): Update.
+
2011-06-02 Nick Clifton <nickc@redhat.com>
* i860.h: Fix spelling mistake in comment.
diff --git a/include/coff/arm.h b/include/coff/arm.h
index 9c34005..4beb121 100644
--- a/include/coff/arm.h
+++ b/include/coff/arm.h
@@ -1,5 +1,6 @@
/* ARM COFF support for BFD.
- Copyright 1998, 1999, 2000, 2002, 2003, 2010 Free Software Foundation, Inc.
+ Copyright 1998, 1999, 2000, 2002, 2003, 2010, 2013
+ Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
@@ -81,9 +82,10 @@
#define ARMPEMAGIC 0x1c0
#define THUMBPEMAGIC 0x1c2
+#define ARMV7PEMAGIC 0x1c4
#undef ARMBADMAG
-#define ARMBADMAG(x) (((x).f_magic != ARMMAGIC) && ((x).f_magic != ARMPEMAGIC) && ((x).f_magic != THUMBPEMAGIC))
+#define ARMBADMAG(x) (((x).f_magic != ARMMAGIC) && ((x).f_magic != ARMPEMAGIC) && ((x).f_magic != THUMBPEMAGIC) && ((x).f_magic != ARMV7PEMAGIC))
#define OMAGIC 0404 /* object files, eg as output */
#define ZMAGIC 0413 /* demand load format, eg normal ld output */