From bc7d7419adae7ddf9c8e7c19af44cd3b7f40a27c Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Wed, 21 Aug 1991 04:08:28 +0000 Subject: [PATCH] The machine-dependent files should declare the section names - not the "internal" file. Previously this was done as a mishmash. --- include/coff-i960.h | 6 ++++++ include/coff-m88k.h | 6 ++++++ include/coff-mips.h | 7 +++++++ include/internalcoff.h | 7 ------- 4 files changed, 19 insertions(+), 7 deletions(-) diff --git a/include/coff-i960.h b/include/coff-i960.h index 80dee56c707..073d6463cc7 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 40b98ff56bd..8b11470e3b0 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 59e4f80a4e9..2222e5627b2 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 726e7942699..a3dfa608fdd 100755 --- a/include/internalcoff.h +++ b/include/internalcoff.h @@ -105,13 +105,6 @@ struct internal_scnhdr { }; -/* - * names of "special" sections - */ -#define _TEXT ".text" -#define _DATA ".data" -#define _BSS ".bss" - /* * s_flags "type" */ -- 2.30.2