aboutsummaryrefslogtreecommitdiff
path: root/include/coff/arm.h
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
commit74f8546d6ecfd867fbd7eaed16dc2156af013402 (patch)
treec3ab6f1d9abfa3c213afc454daba909afc314db4 /include/coff/arm.h
parentff84dbd31f9fbc87c80dbe8bbbe88708653390cc (diff)
downloadnewlib-74f8546d6ecfd867fbd7eaed16dc2156af013402.zip
newlib-74f8546d6ecfd867fbd7eaed16dc2156af013402.tar.gz
newlib-74f8546d6ecfd867fbd7eaed16dc2156af013402.tar.bz2
* arm.h (ARMV7PEMAGIC): Define.
(ARMBADMAG): Update.
Diffstat (limited to 'include/coff/arm.h')
-rw-r--r--include/coff/arm.h6
1 files changed, 4 insertions, 2 deletions
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 */