The machine-dependent files should declare the section names - not the

"internal" file.  Previously this was done as a mishmash.
This commit is contained in:
John Gilmore 1991-08-21 04:08:28 +00:00
parent c6e7b0ede0
commit bc7d7419ad
4 changed files with 19 additions and 7 deletions

View File

@ -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 **********************/

View File

@ -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 **********************/

View File

@ -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

View File

@ -105,13 +105,6 @@ struct internal_scnhdr {
};
/*
* names of "special" sections
*/
#define _TEXT ".text"
#define _DATA ".data"
#define _BSS ".bss"
/*
* s_flags "type"
*/