Commit 2dc5ca18 by Georg-Johann Lay Committed by Georg-Johann Lay

re PR other/52545 (output.h: SECTION_EXCLUDE flag clobbers SECTION_MACH_DEP)

	PR other/52545
	* output.h (SECTION_EXCLUDE, SECTION_MACH_DEP): Don't use
	SECTION_MACH_DEP reserved bits for SECTION_EXCLUDE.

From-SVN: r185259
parent ed2d1466
2012-03-12 Georg-Johann Lay <avr@gjlay.de> 2012-03-12 Georg-Johann Lay <avr@gjlay.de>
PR other/52545
* output.h (SECTION_EXCLUDE, SECTION_MACH_DEP): Don't use
SECTION_MACH_DEP reserved bits for SECTION_EXCLUDE.
2012-03-12 Georg-Johann Lay <avr@gjlay.de>
PR target/52499 PR target/52499
* config/avr/avr.c (avr_mode_code_base_reg_class): Change return * config/avr/avr.c (avr_mode_code_base_reg_class): Change return
type from reg_class_t to enum reg_class. type from reg_class_t to enum reg_class.
......
...@@ -446,8 +446,8 @@ extern void no_asm_to_stream (FILE *); ...@@ -446,8 +446,8 @@ extern void no_asm_to_stream (FILE *);
#define SECTION_STYLE_MASK 0x600000 /* bits used for SECTION_STYLE */ #define SECTION_STYLE_MASK 0x600000 /* bits used for SECTION_STYLE */
#define SECTION_COMMON 0x800000 /* contains common data */ #define SECTION_COMMON 0x800000 /* contains common data */
#define SECTION_RELRO 0x1000000 /* data is readonly after relocation processing */ #define SECTION_RELRO 0x1000000 /* data is readonly after relocation processing */
#define SECTION_MACH_DEP 0x2000000 /* subsequent bits reserved for target */ #define SECTION_EXCLUDE 0x2000000 /* discarded by the linker */
#define SECTION_EXCLUDE 0x4000000 /* discarded by the linker */ #define SECTION_MACH_DEP 0x4000000 /* subsequent bits reserved for target */
/* This SECTION_STYLE is used for unnamed sections that we can switch /* This SECTION_STYLE is used for unnamed sections that we can switch
to using a special assembler directive. */ to using a special assembler directive. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment