The machine-dependent files should declare the section names - not the
authorJohn Gilmore <gnu@cygnus>
Wed, 21 Aug 1991 04:08:28 +0000 (04:08 +0000)
committerJohn Gilmore <gnu@cygnus>
Wed, 21 Aug 1991 04:08:28 +0000 (04:08 +0000)
"internal" file.  Previously this was done as a mishmash.

include/coff-i960.h
include/coff-m88k.h
include/coff-mips.h
include/internalcoff.h

index 80dee56c70731665e5d31f71cc5bd26c3981d208..073d6463cc702b5485d460b7489659990f676346 100755 (executable)
@@ -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 **********************/
 
index 40b98ff56bd3eeeee26539d7ddb3bed19dc095f5..8b11470e3b0451dde945a16669797a1b5a444395 100755 (executable)
@@ -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 **********************/
 
index 59e4f80a4e9ed0ad3b08c82f775b256e9f2f0b03..2222e5627b2c1f341e36a5cd0d20f4392542d103 100755 (executable)
@@ -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
index 726e7942699fca75056d5961f77ccab1d58b7252..a3dfa608fdd51857e8e4cfc71d4882c41e850b76 100755 (executable)
@@ -105,13 +105,6 @@ struct internal_scnhdr {
 };
 
 
-/*
- * names of "special" sections
- */
-#define _TEXT  ".text"
-#define _DATA  ".data"
-#define _BSS   ".bss"
-
 /*
  * s_flags "type"
  */