From: Georg-Johann Lay Date: Mon, 12 Mar 2012 18:22:01 +0000 (+0000) Subject: re PR other/52545 (output.h: SECTION_EXCLUDE flag clobbers SECTION_MACH_DEP) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2dc5ca182d7d804cd4d48c360ee7cf1d74a431fa;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 39c6bf191fd..fcc25b87364 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2012-03-12 Georg-Johann Lay + + 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 PR target/52499 diff --git a/gcc/output.h b/gcc/output.h index bc8c9d97825..bd83199b6a9 100644 --- a/gcc/output.h +++ b/gcc/output.h @@ -446,8 +446,8 @@ extern void no_asm_to_stream (FILE *); #define SECTION_STYLE_MASK 0x600000 /* bits used for SECTION_STYLE */ #define SECTION_COMMON 0x800000 /* contains common data */ #define SECTION_RELRO 0x1000000 /* data is readonly after relocation processing */ -#define SECTION_MACH_DEP 0x2000000 /* subsequent bits reserved for target */ -#define SECTION_EXCLUDE 0x4000000 /* discarded by the linker */ +#define SECTION_EXCLUDE 0x2000000 /* 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 to using a special assembler directive. */