diff options
author | Nick Clifton <nickc@redhat.com> | 2005-07-14 07:07:46 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2005-07-14 07:07:46 +0000 |
commit | 15ac1d4f68f6ee5be2df0e125b101759f27dfd12 (patch) | |
tree | 3aa9b3136a8d379dad86fef7c5be3e20e18171fd /include/coff/alpha.h | |
parent | 1d9c9cd779b490a3934235b2a6bf18b9282e3642 (diff) | |
download | fsf-binutils-gdb-15ac1d4f68f6ee5be2df0e125b101759f27dfd12.zip fsf-binutils-gdb-15ac1d4f68f6ee5be2df0e125b101759f27dfd12.tar.gz fsf-binutils-gdb-15ac1d4f68f6ee5be2df0e125b101759f27dfd12.tar.bz2 |
Add code to detect and either handle or issue an error message for binaries
created by the DEC ALPHA compilers.
Diffstat (limited to 'include/coff/alpha.h')
-rw-r--r-- | include/coff/alpha.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/coff/alpha.h b/include/coff/alpha.h index 3b00c92..7433938 100644 --- a/include/coff/alpha.h +++ b/include/coff/alpha.h @@ -1,7 +1,7 @@ /* ECOFF support on Alpha machines. coff/ecoff.h must be included before this file. - Copyright 2001 Free Software Foundation, Inc. + Copyright 2001, 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 @@ -34,6 +34,9 @@ struct external_filehdr #define ALPHA_ECOFF_BADMAG(x) \ ((x).f_magic != ALPHA_MAGIC && (x).f_magic != ALPHA_MAGIC_BSD) +#define ALPHA_ECOFF_COMPRESSEDMAG(x) \ + ((x).f_magic == ALPHA_MAGIC_COMPRESSED) + /* The object type is encoded in the f_flags. */ #define F_ALPHA_OBJECT_TYPE_MASK 0x3000 #define F_ALPHA_NO_SHARED 0x1000 |