]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Hide .version directives in assembly code on Mac, since XCode doesn't
authorJulian Seward <jseward@acm.org>
Sun, 12 Oct 2014 17:02:55 +0000 (17:02 +0000)
committerJulian Seward <jseward@acm.org>
Sun, 12 Oct 2014 17:02:55 +0000 (17:02 +0000)
seem to like them.  Patch from Rhys Kidd (rhyskidd@gmail.com).
Fixes #339688.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14623

memcheck/tests/x86/pushfpopf_s.S
memcheck/tests/x86/tronical.S
none/tests/x86/cpuid_s.S

index 5234310892cec6a48ccb7660dc604b000dfa527a..067a6dacb82dc7f334c62696b7934befbc80f0be 100644 (file)
@@ -1,6 +1,8 @@
 #include "tests/asm.h"
 
+#if defined(VGO_linux)
        .version        "01.01"
+#endif
 gcc2_compiled.:
 .text
        .align 4
index 9af3a184ad7de09dc850843ef5589cb703bd58c0..a2122c7c126e2c10caba8158c30f055083428671 100644 (file)
@@ -52,7 +52,9 @@ int main()
 #include "tests/asm.h"
 
        .file   "tronical.c"
+#if defined(VGO_linux)
        .version        "01.01"
+#endif
 gcc2_compiled.:
 .text
        .align 4
index 3dabdcd01e620bab576adacfc21303b582b5ad5b..6d1dfbcd418c5af04bbd86bdc3376f036da0fd6d 100644 (file)
@@ -1,7 +1,9 @@
 #include "tests/asm.h"
        
        .file   "oneparam.c"
+#if defined(VGO_linux)
        .version        "01.01"
+#endif
 gcc2_compiled.:
 .text
        .align 4