This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: FYI: one more stab at PR 20056
Ranjit Mathew wrote:
It would be most convenient if jcf-dump (or the cp-tools javap... on
the gcjx branch I've removed jcf and jcf-dump) could dump a class in a
way that could be immediately read in by the assembler. That would
Certainly. That would have been my next proposal, were
such an assembler to be implemented by us.
There has been some email on the classpath tools project
on modifying/extending gnu.bytecode (a self-contained part of Kawa)
to create a readable assembly output - and perhaps an assembler.
The default gnu.bytecode.dump output format is (or at least was)
identical to jcf-dump's (since I wrote both - having the same format
made testing easier).
I have some jcf-dump patch (ready to go as soon we we branch)
that change the default to not print out the constant pool, btw.
--
--Per Bothner
per@bothner.com http://per.bothner.com/