Re: Missing methods in libgcj_bc.so
Andrew Haley <[email protected]>
| Newsgroups | gmane.comp.gcc.java.devel |
|---|---|
| Message-ID | <[email protected]> |
Bryce McKinlay wrote: > On Mon, Mar 31, 2008 at 11:59 PM, Andrew Haley <[email protected]> wrote: >> I've discovered some missing methods in libgcj_bc.so. >> >> These are: >> >> _Jv_MonitorExit >> _Jv_JNI_PopSystemFrame >> _Jv_RegisterResource >> >> I did this by inspecting a BC-compiled application that mysteriously >> held a DT_NEEDED to libgcj, not just libgcj_bc. >> >> So, how was the list of symbols in libgcj_bc created, and how many >> more symbols might be missing? I could just add these three, but I'm >> thinking a more systematic approach might be a good idea. > > As I recall, the symbol list was generated ad-hoc by grepping the > front end source. If these methods are missing then its obviously a > serious mistake! OK, thanks. Fixed thusly. Andrew. 2008-04-16 Andrew Haley <[email protected]> * libgcj_bc.c: (_Jv_LookupInterfaceMethod, _Jv_MonitorExit, _Jv_RegisterResource, _Jv_JNI_PopSystemFrame): Add. Index: libgcj_bc.c =================================================================== --- libgcj_bc.c (revision 134356) +++ libgcj_bc.c (working copy) @@ -32,11 +32,14 @@ void _Jv_CheckCast () {} void _Jv_InitClass () {} void _Jv_IsInstanceOf () {} +void _Jv_LookupInterfaceMethod () {} void _Jv_LookupInterfaceMethodIdx () {} void _Jv_MonitorEnter () {} +void _Jv_MonitorExit () {} void _Jv_NewMultiArray () {} void _Jv_NewObjectArray () {} void _Jv_NewPrimArray () {} +void _Jv_RegisterResource () {} void _Jv_ResolvePoolEntry () {} void _Jv_Throw () {} void _Jv_ThrowAbstractMethodError () {} @@ -66,6 +69,7 @@ void _Jv_GetJNIEnvNewFrame () {} void _Jv_LookupJNIMethod () {} void _Jv_UnwrapJNIweakReference () {} +void _Jv_JNI_PopSystemFrame () {} /* Checked divide (-fuse-divide-subroutine). */