This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/31490] Compile error section type conflict
- From: "dtemirbulatov at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 May 2007 15:25:57 -0000
- Subject: [Bug target/31490] Compile error section type conflict
- References: <bug-31490-10179@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from dtemirbulatov at gmail dot com 2007-05-02 16:25 -------
workaround for the bug:
--- gcc/varasm.c-orig 2007-05-02 19:15:04.000000000 +0400
+++ gcc/varasm.c 2007-05-02 19:16:17.000000000 +0400
@@ -5519,6 +5519,8 @@ decl_readonly_section (tree decl, int re
case SECCAT_RODATA_MERGE_STR_INIT:
case SECCAT_RODATA_MERGE_CONST:
case SECCAT_SRODATA:
+ case SECCAT_DATA_REL_RO:
+ case SECCAT_DATA_REL_RO_LOCAL:
return true;
break;
default:
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31490