OSDN Git Service

* boehm.cc (_Jv_InitGC): Check both HAVE_DLFCN_H and HAVE_DLADDR
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
index ce5d6a4..61d096a 100644 (file)
@@ -1,3 +1,11 @@
+2006-05-01  Roger Sayle  <roger@eyesopen.com>
+           Andrew Haley  <aph@redhat.com>
+
+       * boehm.cc (_Jv_InitGC): Check both HAVE_DLFCN_H and HAVE_DLADDR
+       before calling GC_register_has_static_roots_callback.
+       (_Jv_RegisterLibForGc): Likewise, test for both HAVE_DLFCN_H and
+       HAVE_DLADDR before calling dladdr.
+
 2006-04-28  Bryce McKinlay  <mckinlay@redhat.com>
 
        * link.cc (_Jv_Linker::resolve_pool_entry): Don't pass vtable_index