aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-08-21 04:08:28 +0000
committerJohn Gilmore <gnu@cygnus>1991-08-21 04:08:28 +0000
commitbc7d7419adae7ddf9c8e7c19af44cd3b7f40a27c (patch)
treea1b4b06c6be7f09ec89edf5b30a3c6bd40d99227 /include
parentc6e7b0ede0205e259e3e84818638432655e27772 (diff)
downloadgdb-bc7d7419adae7ddf9c8e7c19af44cd3b7f40a27c.zip
gdb-bc7d7419adae7ddf9c8e7c19af44cd3b7f40a27c.tar.gz
gdb-bc7d7419adae7ddf9c8e7c19af44cd3b7f40a27c.tar.bz2
The machine-dependent files should declare the section names - not the
"internal" file. Previously this was done as a mishmash.
Diffstat (limited to 'include')
-rwxr-xr-xinclude/coff-i960.h6
-rwxr-xr-xinclude/coff-m88k.h6
-rwxr-xr-xinclude/coff-mips.h7
-rwxr-xr-xinclude/internalcoff.h7
4 files changed, 19 insertions, 7 deletions
diff --git a/include/coff-i960.h b/include/coff-i960.h
index 80dee56..073d646 100755
--- a/include/coff-i960.h
+++ b/include/coff-i960.h
@@ -100,6 +100,12 @@ struct external_scnhdr {
#define SCNHDR struct external_scnhdr
#define SCNHSZ sizeof(SCNHDR)
+/*
+ * names of "special" sections
+ */
+#define _TEXT ".text"
+#define _DATA ".data"
+#define _BSS ".bss"
/********************** LINE NUMBERS **********************/
diff --git a/include/coff-m88k.h b/include/coff-m88k.h
index 40b98ff..8b11470 100755
--- a/include/coff-m88k.h
+++ b/include/coff-m88k.h
@@ -100,6 +100,12 @@ struct external_scnhdr
#define SCNHDR struct external_scnhdr
#define SCNHSZ sizeof(SCNHDR)
+/*
+ * names of "special" sections
+ */
+#define _TEXT ".text"
+#define _DATA ".data"
+#define _BSS ".bss"
/********************** LINE NUMBERS **********************/
diff --git a/include/coff-mips.h b/include/coff-mips.h
index 59e4f80..2222e56 100755
--- a/include/coff-mips.h
+++ b/include/coff-mips.h
@@ -66,6 +66,13 @@ struct external_scnhdr {
#define SCNHDR struct external_scnhdr
#define SCNHSZ sizeof(SCNHDR)
+/*
+ * names of "special" sections
+ */
+#define _TEXT ".text"
+#define _DATA ".data"
+#define _BSS ".bss"
+
#define DEFAULT_DATA_SECTION_ALIGNMENT 4
#define DEFAULT_BSS_SECTION_ALIGNMENT 4
#define DEFAULT_TEXT_SECTION_ALIGNMENT 16
diff --git a/include/internalcoff.h b/include/internalcoff.h
index 726e794..a3dfa60 100755
--- a/include/internalcoff.h
+++ b/include/internalcoff.h
@@ -106,13 +106,6 @@ struct internal_scnhdr {
/*
- * names of "special" sections
- */
-#define _TEXT ".text"
-#define _DATA ".data"
-#define _BSS ".bss"
-
-/*
* s_flags "type"
*/
#define STYP_REG (0x0000) /* "regular": allocated, relocated, loaded */