aboutsummaryrefslogtreecommitdiff
path: root/include/coff-a29k.h
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-10-11 19:44:01 +0000
committerSteve Chamberlain <steve@cygnus>1991-10-11 19:44:01 +0000
commit0c210c9c52e56eda3e50aafbf5517abb538d7132 (patch)
tree33185d00fde16e9d93b63cdcbc1efdedf298dd39 /include/coff-a29k.h
parent0d740984208c34b7a2a2a203f620662346794679 (diff)
downloadgdb-0c210c9c52e56eda3e50aafbf5517abb538d7132.zip
gdb-0c210c9c52e56eda3e50aafbf5517abb538d7132.tar.gz
gdb-0c210c9c52e56eda3e50aafbf5517abb538d7132.tar.bz2
* bfd.h:upgrade from bfd.c
* internalcoff.h: add n_name, n_zeroes and n_offset macros * amdcoff.h: Define OMAGIC and AOUTHDRSZ.
Diffstat (limited to 'include/coff-a29k.h')
-rwxr-xr-xinclude/coff-a29k.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/coff-a29k.h b/include/coff-a29k.h
index 46c131d..8042d51 100755
--- a/include/coff-a29k.h
+++ b/include/coff-a29k.h
@@ -36,12 +36,13 @@ struct external_filehdr
#define SIPFBOMAGIC 0572 /* Am29000 (Byte 0 is MSB) */
#define SIPRBOMAGIC 0573 /* Am29000 (Byte 0 is LSB) */
+
#define A29K_MAGIC_BIG SIPFBOMAGIC
#define A29K_MAGIC_LITTLE SIPRBOMAGIC
#define A29KBADMAG(x) (((x).f_magic!=A29K_MAGIC_BIG) && \
((x).f_magic!=A29K_MAGIC_LITTLE))
-
+#define OMAGIC A29K_MAGIC_BIG
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/
/*
@@ -70,6 +71,7 @@ typedef struct external_aouthdr
} AOUTHDR;
#define AOUTSZ (sizeof(AOUTHDR))
+#define AOUTHDRSZ (sizeof(AOUTHDR))
/* aouthdr magic numbers */
#define NMAGIC 0410 /* separate i/d executable */