From 2dc5ca182d7d804cd4d48c360ee7cf1d74a431fa Mon Sep 17 00:00:00 2001 From: Georg-Johann Lay Date: Mon, 12 Mar 2012 18:22:01 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/output.h | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 39c6bf191fdb..fcc25b873643 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 bc8c9d97825d..bd83199b6a97 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. */ -- 2.39.2