diff src/dynamic-ld.cc @ 3033:968e85a82e25

[project @ 1997-06-05 16:50:05 by jwe]
author jwe
date Thu, 05 Jun 1997 16:50:06 +0000
parents b7c0d83d105c
children ca9677cdb62e
line wrap: on
line diff
--- a/src/dynamic-ld.cc	Thu Jun 05 07:35:11 1997 +0000
+++ b/src/dynamic-ld.cc	Thu Jun 05 16:50:06 1997 +0000
@@ -159,7 +159,10 @@
 
   if (handle)
     {
-      int status = shl_findsym (&handle, nm, TYPE_PROCEDURE, &retval);
+      // Don't use TYPE_PROCEDURE here.  The man page says that future
+      // versions of HP-UX may not support it.
+
+      int status = shl_findsym (&handle, nm, TYPE_UNDEFINED, &retval);
 
       if (status < 0)
 	{