|
From: <sv...@va...> - 2014-10-12 17:03:03
|
Author: sewardj
Date: Sun Oct 12 18:02:55 2014
New Revision: 14623
Log:
Hide .version directives in assembly code on Mac, since XCode doesn't
seem to like them. Patch from Rhys Kidd (rhy...@gm...).
Fixes #339688.
Modified:
trunk/memcheck/tests/x86/pushfpopf_s.S
trunk/memcheck/tests/x86/tronical.S
trunk/none/tests/x86/cpuid_s.S
Modified: trunk/memcheck/tests/x86/pushfpopf_s.S
==============================================================================
--- trunk/memcheck/tests/x86/pushfpopf_s.S (original)
+++ trunk/memcheck/tests/x86/pushfpopf_s.S Sun Oct 12 18:02:55 2014
@@ -1,6 +1,8 @@
#include "tests/asm.h"
+#if defined(VGO_linux)
.version "01.01"
+#endif
gcc2_compiled.:
.text
.align 4
Modified: trunk/memcheck/tests/x86/tronical.S
==============================================================================
--- trunk/memcheck/tests/x86/tronical.S (original)
+++ trunk/memcheck/tests/x86/tronical.S Sun Oct 12 18:02:55 2014
@@ -52,7 +52,9 @@
#include "tests/asm.h"
.file "tronical.c"
+#if defined(VGO_linux)
.version "01.01"
+#endif
gcc2_compiled.:
.text
.align 4
Modified: trunk/none/tests/x86/cpuid_s.S
==============================================================================
--- trunk/none/tests/x86/cpuid_s.S (original)
+++ trunk/none/tests/x86/cpuid_s.S Sun Oct 12 18:02:55 2014
@@ -1,7 +1,9 @@
#include "tests/asm.h"
.file "oneparam.c"
+#if defined(VGO_linux)
.version "01.01"
+#endif
gcc2_compiled.:
.text
.align 4
|