public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/26007]  New: initialized final static data should go in .rodata, not .data
@ 2006-01-28 20:36 green at redhat dot com
  2006-01-28 20:38 ` [Bug java/26007] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: green at redhat dot com @ 2006-01-28 20:36 UTC (permalink / raw)
  To: java-prs

For the following code...

public class b
{
  public static final int FOOBAR = 555;
}

..I would expect to see FOOBAR in .rodata.  However gcj currently places this
in .data.

If you poke through the .jar.so files we have in Fedora Core you'll see big
chunks of .data that should actually .rodata.


-- 
           Summary: initialized final static data should go in .rodata, not
                    .data
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: green at redhat dot com


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


^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <bug-26007-8172@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2011-05-17 16:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-28 20:36 [Bug java/26007] New: initialized final static data should go in .rodata, not .data green at redhat dot com
2006-01-28 20:38 ` [Bug java/26007] " pinskia at gcc dot gnu dot org
2006-01-28 20:44 ` pinskia at gcc dot gnu dot org
2006-01-31 17:31 ` daney at gcc dot gnu dot org
     [not found] <bug-26007-8172@http.gcc.gnu.org/bugzilla/>
2011-05-17 16:04 ` licheng.1212 at gmail dot com
2011-05-17 16:23 ` licheng.1212 at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).