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 target/31490] Compile error section type conflict



------- 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


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