This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/31490] [4.6 Regression] Compile error section type conflict


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31490

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
                 CC|                            |jakub at gcc dot gnu.org
   Target Milestone|---                         |4.6.0
            Summary|Compile error section type  |[4.6 Regression] Compile
                   |conflict                    |error section type conflict
      Known to fail|                            |

--- Comment #21 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-01-27 14:00:25 UTC ---
This patch is wrong and causes DT_TEXTREL nscd.
The relocation mask should never be ignored, otherwise
static const char *const foo __attribute__((__used__, __section__ ("bar"))) =
"baz";
is incorrectly put into readonly section with -fpie or -fpic, eventhough it
must be writable.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]