[Bug java/26007] initialized final static data should go in .rodata, not .data

licheng.1212 at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue May 17 16:29:00 GMT 2011


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

licheng.1212@gmail.com <licheng.1212 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |licheng.1212 at gmail dot
                   |                            |com

--- Comment #3 from licheng.1212 at gmail dot com <licheng.1212 at gmail dot com> 2011-05-17 15:47:32 UTC ---
(In reply to comment #1)
> Note there are ticks for final static data to be changed IIRC.  I don't know
> how useful they are or if they really are valid.

put it to .rodata is very useful to embebed system,this will release many
memory useage.



More information about the Gcc-bugs mailing list