This is the mail archive of the gcc-patches@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] |
A little uggy, but no more so than -- as you point out -- what was already there before.The problem here is that we (on purpose) removed everything that would have told varasm.c that the const object needs to live in writable memory. The solution is to temporarily un-mark the object from being const; this is the same as what we do for objects with constructors, so this seems safe.
Ok?
-- Mark Mitchell CodeSourcery, LLC (916) 791-8304 mark@codesourcery.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |