Hide .version directives in assembly code on Mac, since XCode doesn't
seem to like them.  Patch from Rhys Kidd (rhyskidd@gmail.com).
Fixes #339688.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14623 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/memcheck/tests/x86/pushfpopf_s.S b/memcheck/tests/x86/pushfpopf_s.S
index 5234310..067a6da 100644
--- a/memcheck/tests/x86/pushfpopf_s.S
+++ b/memcheck/tests/x86/pushfpopf_s.S
@@ -1,6 +1,8 @@
 #include "tests/asm.h"
 
+#if defined(VGO_linux)
 	.version	"01.01"
+#endif
 gcc2_compiled.:
 .text
 	.align 4
diff --git a/memcheck/tests/x86/tronical.S b/memcheck/tests/x86/tronical.S
index 9af3a18..a2122c7 100644
--- a/memcheck/tests/x86/tronical.S
+++ b/memcheck/tests/x86/tronical.S
@@ -52,7 +52,9 @@
 #include "tests/asm.h"
 
 	.file	"tronical.c"
+#if defined(VGO_linux)
 	.version	"01.01"
+#endif
 gcc2_compiled.:
 .text
 	.align 4
diff --git a/none/tests/x86/cpuid_s.S b/none/tests/x86/cpuid_s.S
index 3dabdcd..6d1dfbc 100644
--- a/none/tests/x86/cpuid_s.S
+++ b/none/tests/x86/cpuid_s.S
@@ -1,7 +1,9 @@
 #include "tests/asm.h"
 	
 	.file	"oneparam.c"
+#if defined(VGO_linux)
 	.version	"01.01"
+#endif
 gcc2_compiled.:
 .text
 	.align 4