From c4a0585f6034feb31c2a99f3d79465786c572da2 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 10 Jan 2005 16:33:51 +0000 Subject: [PATCH] Add support for maxq10 and maxq20 machine values --- include/coff/ChangeLog | 6 +++++- include/coff/maxq.h | 11 ++++++++--- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/include/coff/ChangeLog b/include/coff/ChangeLog index 533e59b07..3d2c66d4e 100644 --- a/include/coff/ChangeLog +++ b/include/coff/ChangeLog @@ -1,7 +1,11 @@ +2005-01-10 Inderpreet Singh + + * maxq.h (F_MAXQ10, F_MAXQ20): Define. + 2004-11-08 Inderpreet Singh Vineet Sharma - * maxqh: New file: Defintions for the maxq port. + * maxq.h: New file: Defintions for the maxq port. 2004-11-08 Aaron W. LaFramboise diff --git a/include/coff/maxq.h b/include/coff/maxq.h index a7be9cb1e..694a3fa63 100644 --- a/include/coff/maxq.h +++ b/include/coff/maxq.h @@ -1,6 +1,6 @@ /* COFF spec for MAXQ - Copyright 2004 Free Software Foundation, Inc. + Copyright 2004, 2005 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -25,14 +25,19 @@ /* Bits for f_flags: F_RELFLG relocation info stripped from file F_EXEC file is executable (no unresolved external references) F_LNNO line numbers - stripped from file F_LSYMS local symbols stripped from file F_AR32WR file - has byte ordering of an AR32WR machine (e.g. vax). */ + stripped from file F_LSYMS local symbols stripped from file. */ #define F_RELFLG (0x0001) #define F_EXEC (0x0002) #define F_LNNO (0x0004) #define F_LSYMS (0x0008) +/* Variant Specific Flags for MAXQ10 and MAXQ20. */ +#define F_MAXQ10 (0x0030) +#define F_MAXQ20 (0x0040) + +#define F_MACHMASK (0x00F0) + /* Magic numbers for maxq. */ #define MAXQ20MAGIC 0xa0 #define MAXQ20BADMAG(x) (((x).f_magic != MAXQ20MAGIC))