re PR other/52545 (output.h: SECTION_EXCLUDE flag clobbers SECTION_MACH_DEP)
authorGeorg-Johann Lay <avr@gjlay.de>
Mon, 12 Mar 2012 18:22:01 +0000 (18:22 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Mon, 12 Mar 2012 18:22:01 +0000 (18:22 +0000)
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
gcc/output.h

index 39c6bf191fdb54003ae267b43c83642fcabf5901..fcc25b873643176caa229108c5fc0ec5f6f9db59 100644 (file)
@@ -1,3 +1,9 @@
+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
index bc8c9d97825d561ba62d2c3eeb92eb7bf2dbb125..bd83199b6a97ccf78a6039006e8e99383cd387d7 100644 (file)
@@ -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.  */