aboutsummaryrefslogtreecommitdiff
path: root/include/coff-i386.h
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-09-20 03:44:17 +0000
committerJohn Gilmore <gnu@cygnus>1991-09-20 03:44:17 +0000
commit8215bbacd070c17618fa9e48c179f8ac2db306a0 (patch)
tree58caca64e457d2fb0f6ea666df230b7e8bb93067 /include/coff-i386.h
parent7054ee6d2b63d63cff91d8ac55e0de1b399dc71d (diff)
downloadgdb-8215bbacd070c17618fa9e48c179f8ac2db306a0.zip
gdb-8215bbacd070c17618fa9e48c179f8ac2db306a0.tar.gz
gdb-8215bbacd070c17618fa9e48c179f8ac2db306a0.tar.bz2
Undo precipitous changes.
Diffstat (limited to 'include/coff-i386.h')
-rwxr-xr-xinclude/coff-i386.h28
1 files changed, 9 insertions, 19 deletions
diff --git a/include/coff-i386.h b/include/coff-i386.h
index baf7cca..a3e902e 100755
--- a/include/coff-i386.h
+++ b/include/coff-i386.h
@@ -22,24 +22,15 @@ struct external_filehdr {
* F_AR32WR file has byte ordering of an AR32WR machine (e.g. vax)
*/
-#define F_RELFLG 0000001
-#define F_EXEC 0000002
-#define F_LNNO 0000004
-#define F_LSYMS 0000010
-#define F_MINMAL 0000020
-#define F_UPDATE 0000040
-#define F_SWABD 0000100
-#define F_AR16WR 0000200
-#define F_AR32WR 0000400
-#define F_AR32W 0001000
-#define F_PATCH 0002000
-#define F_NODF 0002000
-
-#define I386MAGIC 0514
+#define F_RELFLG (0x0001)
+#define F_EXEC (0x0002)
+#define F_LNNO (0x0004)
+#define F_LSYMS (0x0008)
+
+
+
+#define I386MAGIC 0x14c
#define I386BADMAG(x) (((x).f_magic!=I386MAGIC))
-#define I386AOUTMAGIC 0413
-#define I386AOUTVSTAMP 0000
-#define COFF_TIMESTAMP
#define FILHDR struct external_filehdr
@@ -119,7 +110,7 @@ struct external_scnhdr {
#define _TEXT ".text"
#define _DATA ".data"
#define _BSS ".bss"
-#define _COMMENT ".comment"
+
/*
* s_flags "type"
*/
@@ -320,6 +311,5 @@ struct external_reloc {
#define DEFAULT_DATA_SECTION_ALIGNMENT 4
#define DEFAULT_BSS_SECTION_ALIGNMENT 4
#define DEFAULT_TEXT_SECTION_ALIGNMENT 4
-#define DEFAULT_COMMENT_SECTION_ALIGNMENT 4
/* For new sections we havn't heard of before */
#define DEFAULT_SECTION_ALIGNMENT 4