mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 03:29:47 +08:00
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:
@ -100,6 +100,12 @@ struct external_scnhdr {
|
|||||||
#define SCNHDR struct external_scnhdr
|
#define SCNHDR struct external_scnhdr
|
||||||
#define SCNHSZ sizeof(SCNHDR)
|
#define SCNHSZ sizeof(SCNHDR)
|
||||||
|
|
||||||
|
/*
|
||||||
|
* names of "special" sections
|
||||||
|
*/
|
||||||
|
#define _TEXT ".text"
|
||||||
|
#define _DATA ".data"
|
||||||
|
#define _BSS ".bss"
|
||||||
|
|
||||||
/********************** LINE NUMBERS **********************/
|
/********************** LINE NUMBERS **********************/
|
||||||
|
|
||||||
|
@ -100,6 +100,12 @@ struct external_scnhdr
|
|||||||
#define SCNHDR struct external_scnhdr
|
#define SCNHDR struct external_scnhdr
|
||||||
#define SCNHSZ sizeof(SCNHDR)
|
#define SCNHSZ sizeof(SCNHDR)
|
||||||
|
|
||||||
|
/*
|
||||||
|
* names of "special" sections
|
||||||
|
*/
|
||||||
|
#define _TEXT ".text"
|
||||||
|
#define _DATA ".data"
|
||||||
|
#define _BSS ".bss"
|
||||||
|
|
||||||
/********************** LINE NUMBERS **********************/
|
/********************** LINE NUMBERS **********************/
|
||||||
|
|
||||||
|
@ -66,6 +66,13 @@ struct external_scnhdr {
|
|||||||
#define SCNHDR struct external_scnhdr
|
#define SCNHDR struct external_scnhdr
|
||||||
#define SCNHSZ sizeof(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_DATA_SECTION_ALIGNMENT 4
|
||||||
#define DEFAULT_BSS_SECTION_ALIGNMENT 4
|
#define DEFAULT_BSS_SECTION_ALIGNMENT 4
|
||||||
#define DEFAULT_TEXT_SECTION_ALIGNMENT 16
|
#define DEFAULT_TEXT_SECTION_ALIGNMENT 16
|
||||||
|
@ -105,13 +105,6 @@ struct internal_scnhdr {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* names of "special" sections
|
|
||||||
*/
|
|
||||||
#define _TEXT ".text"
|
|
||||||
#define _DATA ".data"
|
|
||||||
#define _BSS ".bss"
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* s_flags "type"
|
* s_flags "type"
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user