aboutsummaryrefslogtreecommitdiff
path: root/include/coff-i960.h
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-05-13 19:56:07 +0000
committerSteve Chamberlain <steve@cygnus>1991-05-13 19:56:07 +0000
commitfb030779ae33290ed6d85c416f32c313b22deb81 (patch)
treead3443ee507a8ee4a4dba0eb8119a5a54d438f4b /include/coff-i960.h
parentdf9d12efd3850b4324323176fae2e8dfb57ba551 (diff)
downloadgdb-fb030779ae33290ed6d85c416f32c313b22deb81.zip
gdb-fb030779ae33290ed6d85c416f32c313b22deb81.tar.gz
gdb-fb030779ae33290ed6d85c416f32c313b22deb81.tar.bz2
*** empty log message ***
Diffstat (limited to 'include/coff-i960.h')
-rwxr-xr-xinclude/coff-i960.h19
1 files changed, 7 insertions, 12 deletions
diff --git a/include/coff-i960.h b/include/coff-i960.h
index bf33d5a..795227a 100755
--- a/include/coff-i960.h
+++ b/include/coff-i960.h
@@ -59,21 +59,16 @@ struct internal_filehdr
/* Mips magics */
-#define MIPSEBMAGIC 0x160
-#define MIPSELMAGIC 0x161
-#define SMIPSEBMAGIC 0x6001
-#define SMIPSELMAGIC 0x162 /*0x6201*/
-#define MIPSEBUMAGIC 0x0180
-#define MIPSELUMAGIC 0x0182
+#define MIPS_MAGIC_1 0x0180
+#define MIPS_MAGIC_2 0x0162
+#define MIPS_MAGIC_3 0x0160
-#define ECOFFBADMAG(x) (((x).f_magic!=MIPSEBMAGIC) &&\
- ((x).f_magic!=MIPSELMAGIC) &&\
- ((x).f_magic!=SMIPSEBMAGIC) &&\
- ((x).f_magic!=SMIPSELMAGIC) &&\
- ((x).f_magic!=MIPSEBUMAGIC) &&\
- ((x).f_magic!=MIPSELUMAGIC))
+#define ECOFFBADMAG(x) (((x).f_magic!=MIPS_MAGIC_1) && \
+ ((x).f_magic!=MIPS_MAGIC_2) &&\
+ ((x).f_magic!=MIPS_MAGIC_3))
+
/** i80960 Magic Numbers
*/