* Makefile.tpl: Clean $(BUILD_SUBDIR).
[deliverable/binutils-gdb.git] / ld / testsuite / ld-elfvsb / main.c
index 0aaa83515a75a93f4704e4a437de584752819fbe..26542b8a1fcf3aeb5d12afcac1a37dbfd5cbbe02 100644 (file)
@@ -1,3 +1,20 @@
+#ifdef PROTECTED_CHECK
+#include <features.h>
+#include <stdio.h>
+
+int
+main (void)
+{
+#if defined (__GLIBC__) && (__GLIBC__ > 2 \
+                           || (__GLIBC__ == 2 \
+                               &&  __GLIBC_MINOR__ >= 2))
+  puts ("yes");
+#else
+  puts ("no");
+#endif
+  return 0;
+}
+#else
 /* This is the main program for the shared library test.  */
 
 #include <stdio.h>
@@ -158,3 +175,4 @@ main ()
          main_visibility_checkvar ());
   return 0;
 }
+#endif
This page took 0.028765 seconds and 4 git commands to generate.