-Lupstream/install/$(target)/lib \
-Lupstream/install/lib \
-Os -w \
+ -Wl,--whole-archive \
build/$(platform)/ibex.a \
+ -Wl,--no-whole-archive \
upstream/jpeg-6b/build-$(target)/libjpeg.a \
$(link_flags) \
upstream/gcc-3.3/build-$(target)/$(target)/boehm-gc/.libs/libgcjgc.a \
public abstract class GCJ extends Platform {
// static references to these classes ensure that the linker will include them
+ /*
public static Object c1 = new gnu.java.locale.Calendar();
public static Object c2 = new java.util.GregorianCalendar();
public static Object c3n = new gnu.gcj.convert.Input_ASCII();
public String toString() { return "foocert"; }
public PublicKey getPublicKey() { return null; }
};
+ */
protected native InputStream _getBuiltinInputStream();
bcp.loadMethod("java.lang.ref.Reference.enqueue"); // the GC calls this directly
bcp.loadAllMethods("gnu.gcj.runtime.StringBuffer"); // the compiler emits calls directly to this class
+ bcp.loadAllMethods("gnu.gcj.protocol.http.Handler");
+ bcp.loadAllMethods("gnu.gcj.protocol.file.Handler");
+ bcp.loadAllMethods("gnu.gcj.protocol.core.Handler");
+ bcp.loadAllMethods("gnu.gcj.protocol.jar.Handler");
+ bcp.loadAllMethods("gnu.gcj.convert.Input_UTF8"); // retrieved via reflection
+ bcp.loadAllMethods("gnu.gcj.convert.Output_UTF8"); // retrieved via reflection
+ bcp.loadAllMethods("gnu.gcj.convert.Input_8859_1"); // retrieved via reflection
+ bcp.loadAllMethods("gnu.gcj.convert.Output_8859_1"); // retrieved via reflection
+ bcp.loadAllMethods("gnu.gcj.convert.Input_ASCII"); // retrieved via reflection
+ bcp.loadAllMethods("gnu.gcj.convert.Output_ASCII"); // retrieved via reflection
+
bcp.loadAllMethods("java.util.Date");
bcp.loadAllMethods("java.text.DateFormat");
bcp.loadAllMethods("java.text.NumberFormat");