* ld-elfvsb/main.c (main_visibility_check): Fix the protected
	visibility test.
+2000-05-21  H.J. Lu  (hjl@gnu.org)
+
+       * ld-elfvsb/main.c (main_visibility_check): Fix the protected
+       visibility test.
+
 2000-05-13  H.J. Lu  (hjl@gnu.org)
 
        * lib/ld-lib.exp (default_ld_link): Redirect the linker output
 
 {
   return 1;
 }
-#endif
 
+static int
+main_visibility_check ()
+{
+  return visibility_funptr () != visibility;
+}
+#else
 static int
 main_visibility_check ()
 {
   return visibility_funptr () == visibility;
 }
+#endif
 
 /* This function is called by the shared library.  */