This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java 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]

Re: Patch: RFC: libgcj_bc addition


Tom Tromey wrote:

I'm a little surprised this works -- I would have expected that
something (ld?  ld.so?), would want the objects to have the proper
size.  However, this doesn't seem to be the case.


Back in gcj 3.4.x jvgenmain used the pretend-the-class-is-an-int trick. It seemed to work well. jvgenmain from 4.2 seems to be a bit trickier, and use void *. But I would think the linker would still allow it.


David Daney


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