diff options
author | Sean Eric Fagan <sef@cygnus> | 1991-09-19 22:28:00 +0000 |
---|---|---|
committer | Sean Eric Fagan <sef@cygnus> | 1991-09-19 22:28:00 +0000 |
commit | b1c86ef190810e341c32b12aeadeec0f55bfc732 (patch) | |
tree | 6f4e03c63f85a3c1f1798aa353777cc8650dc913 /include/coff-m68k.h | |
parent | f24adda313333714038bec83180443ffb4726786 (diff) | |
download | gdb-b1c86ef190810e341c32b12aeadeec0f55bfc732.zip gdb-b1c86ef190810e341c32b12aeadeec0f55bfc732.tar.gz gdb-b1c86ef190810e341c32b12aeadeec0f55bfc732.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'include/coff-m68k.h')
-rwxr-xr-x | include/coff-m68k.h | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/include/coff-m68k.h b/include/coff-m68k.h index fb215bb..b9a7e69 100755 --- a/include/coff-m68k.h +++ b/include/coff-m68k.h @@ -13,7 +13,7 @@ struct external_filehdr { }; -/* Motorola 68000/68008/68010/68020 */ +/* Motorola 68000/68008/68010/68020 file magic numbers*/ #define MC68MAGIC 0520 #define MC68KWRMAGIC 0520 /* writeable text segments */ #define MC68TVMAGIC 0521 @@ -22,8 +22,15 @@ struct external_filehdr { #define M68MAGIC 0210 #define M68TVMAGIC 0211 -#define M68KBADMAG(x) (((x).f_magic!=MC68MAGIC) && ((x).f_magic!=MC68KWRMAGIC) && ((x).f_magic!=MC68TVMAGIC) && \ - ((x).f_magic!=MC68KROMAGIC) && ((x).f_magic!=MC68KPGMAGIC) && ((x).f_magic!=M68MAGIC) && ((x).f_magic!=M68TVMAGIC) ) +# define COFF_TIMESTAMP +# define XPG3_FLAG +# define MC68KBCSMAGIC 0526 +#define M68KBADMAG(x) \ + (((x).f_magic!=MC68MAGIC) && ((x).f_magic!=MC68KWRMAGIC) \ + && ((x).f_magic!=MC68TVMAGIC) && ((x).f_magic!=MC68KROMAGIC) \ + && ((x).f_magic!=MC68KPGMAGIC) && ((x).f_magic!=M68MAGIC) \ + && ((x).f_magic!=M68TVMAGIC) && ((x).f_magic!=MC68KBCSMAGIC) ) + @@ -50,6 +57,14 @@ AOUTHDR; #define AOUTSZ (sizeof(AOUTHDR)) + +/* a.out header magic numbers */ + +#define MC68PGMAGIC 0413 /* Page aligned shared a.out */ +#define MC68WRMAGIC 0407 /* Private text */ +#define MC68ROMAGIC 0410 /* Shared text */ +#define MC68PGLIBMAGIC 0443 /* Page aligned shared lib */ +#define MC68AOUTVSTAMP 0000 /* Version stamp */ /********************** SECTION HEADER **********************/ @@ -74,6 +89,10 @@ struct external_scnhdr { #define _TEXT ".text" #define _DATA ".data" #define _BSS ".bss" +#define _TV ".tv" +#define _NL ".nl" +#define _INIT ".init" +#define _FINI ".fini" #define SCNHDR struct external_scnhdr |