This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: More questions about _GLOBAL [[ how I finally solved it ]]
Well, I finally came up with a workable solution -- now I just have
method-gc strip out all .ctors / .jcr sections and rebuild them
manually for all known-to-be-reachable classes by spitting out a
simple assembler source file and including it in the link.
Works like a charm, HelloWorld is now at 133kb gzipped.
Bryce, thanks again for the pointers into the java frontend;
deterministic, one-per-class naming of __GLOBAL__I__ symbols made this
workaround possible.
- a