OSDN Git Service

!defined(USE_LTDL) fix
authorgreen <green@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 2 Jun 2001 19:40:53 +0000 (19:40 +0000)
committergreen <green@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 2 Jun 2001 19:40:53 +0000 (19:40 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42813 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/java/lang/natRuntime.cc

index 3bffa79..f2bfa79 100644 (file)
@@ -1,5 +1,10 @@
 2001-06-02  Anthony Green  <green@redhat.com>
 
+       * java/lang/natRuntime.cc (_Jv_FindSymbolInExecutable): Provide an
+       alternate when USE_LTDL not defined.
+
+2001-06-02  Anthony Green  <green@redhat.com>
+
        * configure: Rebuild.
        * configure.in: Remove data_start hack.
        * libgcj.spec.in: Ditto.
index 0c08981..20005b9 100644 (file)
@@ -72,6 +72,14 @@ _Jv_FindSymbolInExecutable (const char *symname)
   return lt_dlsym (NULL, symname);
 }
 
+#else
+
+void *
+_Jv_FindSymbolInExecutable (const char *symname)
+{
+  return NULL;
+}
+
 #endif /* USE_LTDL */
 
 void