boehm.cc (_Jv_InitGC): Check both HAVE_DLFCN_H and HAVE_DLADDR before calling...
authorRoger Sayle <roger@eyesopen.com>
Mon, 1 May 2006 16:28:42 +0000 (16:28 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Mon, 1 May 2006 16:28:42 +0000 (16:28 +0000)
commitf0913ab8d6b3990d68fc498fd2f9d6407fd10536
tree7c0899b1a6808cf8991f60413da35668ed2c6eee
parentea6431202d7e3c472f6c039bbfc0c22f2e8e9a52
boehm.cc (_Jv_InitGC): Check both HAVE_DLFCN_H and HAVE_DLADDR before calling...

* 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.

Co-Authored-By: Andrew Haley <aph@redhat.com>
From-SVN: r113417
libjava/ChangeLog
libjava/boehm.cc