Add support for maxq10 and maxq20 machine values

This commit is contained in:
Nick Clifton 2005-01-10 16:33:51 +00:00
parent 7cd6e35969
commit c4a0585f60
2 changed files with 13 additions and 4 deletions

View File

@ -1,7 +1,11 @@
2005-01-10 Inderpreet Singh <inderpreetb@noida.hcltech.com>
* maxq.h (F_MAXQ10, F_MAXQ20): Define.
2004-11-08 Inderpreet Singh <inderpreetb@nioda.hcltech.com> 2004-11-08 Inderpreet Singh <inderpreetb@nioda.hcltech.com>
Vineet Sharma <vineets@noida.hcltech.com> Vineet Sharma <vineets@noida.hcltech.com>
* maxqh: New file: Defintions for the maxq port. * maxq.h: New file: Defintions for the maxq port.
2004-11-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> 2004-11-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>

View File

@ -1,6 +1,6 @@
/* COFF spec for MAXQ /* 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 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 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 /* Bits for f_flags: F_RELFLG relocation info stripped from file F_EXEC file
is executable (no unresolved external references) F_LNNO line numbers is executable (no unresolved external references) F_LNNO line numbers
stripped from file F_LSYMS local symbols stripped from file F_AR32WR file stripped from file F_LSYMS local symbols stripped from file. */
has byte ordering of an AR32WR machine (e.g. vax). */
#define F_RELFLG (0x0001) #define F_RELFLG (0x0001)
#define F_EXEC (0x0002) #define F_EXEC (0x0002)
#define F_LNNO (0x0004) #define F_LNNO (0x0004)
#define F_LSYMS (0x0008) #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. */ /* Magic numbers for maxq. */
#define MAXQ20MAGIC 0xa0 #define MAXQ20MAGIC 0xa0
#define MAXQ20BADMAG(x) (((x).f_magic != MAXQ20MAGIC)) #define MAXQ20BADMAG(x) (((x).f_magic != MAXQ20MAGIC))