aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1999-05-19 07:25:59 +0000
committerNick Clifton <nickc@redhat.com>1999-05-19 07:25:59 +0000
commita74ffb029e42cab61745e28e9af2a6c658ccd2eb (patch)
treeb7a7ae2aa560e466d5ebc08529ec41cc86ce9585
parent3699964af7aa95ea01684f50d8904d322d563c0b (diff)
downloadgdb-a74ffb029e42cab61745e28e9af2a6c658ccd2eb.zip
gdb-a74ffb029e42cab61745e28e9af2a6c658ccd2eb.tar.gz
gdb-a74ffb029e42cab61745e28e9af2a6c658ccd2eb.tar.bz2
Renumber cpu flag bits to avoid collision with PE flag bits
-rw-r--r--include/coff/ChangeLog6
-rw-r--r--include/coff/arm.h19
2 files changed, 16 insertions, 9 deletions
diff --git a/include/coff/ChangeLog b/include/coff/ChangeLog
index 783a017..b6c35ab 100644
--- a/include/coff/ChangeLog
+++ b/include/coff/ChangeLog
@@ -1,3 +1,9 @@
+Mon May 17 13:35:35 1999 Stan Cox <scox@cygnus.com>
+
+ * coff/arm.h (F_PIC, F_ARM_2, F_ARM_2a, F_ARM_3, F_ARM_3M,
+ F_ARM_4, F_ARM_4T, F_APCS26): Changed values to distinguish
+ F_ARM_2a, F_ARM_3M, F_ARM_4T.
+
1999-05-15 Nick Clifton <nickc@cygnus.com>
* mcore.h (IMAGE_REL_MCORE_RVA): Define.
diff --git a/include/coff/arm.h b/include/coff/arm.h
index dd578b1..e5d78d6 100644
--- a/include/coff/arm.h
+++ b/include/coff/arm.h
@@ -44,16 +44,17 @@ struct external_filehdr {
/* Bits stored in flags field of the internal_f structure */
#define F_INTERWORK (0x0010)
-#define F_PIC_INT (0x0020)
#define F_APCS_FLOAT (0x0040)
-#define F_ARM_ARCHITECTURE_MASK (0x0c00)
-#define F_ARM_2 (0x0000)
-#define F_ARM_2a (0x0000)
-#define F_ARM_3 (0x0400)
-#define F_ARM_3M (0x0400)
-#define F_ARM_4 (0x0800)
-#define F_ARM_4T (0x0c00)
-#define F_APCS26 (0x4000)
+#define F_PIC (0x0080)
+#define F_APCS26 (0x1000)
+#define F_ARM_ARCHITECTURE_MASK (0x4000+0x0800+0x0400)
+#define F_ARM_2 (0x0400)
+#define F_ARM_2a (0x0800)
+#define F_ARM_3 (0x0c00)
+#define F_ARM_3M (0x4000)
+#define F_ARM_4 (0x4400)
+#define F_ARM_4T (0x4800)
+#define F_ARM_spare (0x4c00)
/*
* ARMMAGIC ought to encoded the procesor type,