This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug java/26007] New: initialized final static data should go in .rodata, not .data
- From: "green at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 28 Jan 2006 20:36:40 -0000
- Subject: [Bug java/26007] New: initialized final static data should go in .rodata, not .data
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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