From: Julian Seward Date: Sun, 12 Oct 2014 17:02:55 +0000 (+0000) Subject: Hide .version directives in assembly code on Mac, since XCode doesn't X-Git-Tag: svn/VALGRIND_3_11_0~923 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=635bb7bca9359692db236945330d1a8ff45482f7;p=thirdparty%2Fvalgrind.git 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 --- diff --git a/memcheck/tests/x86/pushfpopf_s.S b/memcheck/tests/x86/pushfpopf_s.S index 5234310892..067a6dacb8 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 9af3a184ad..a2122c7c12 100644 --- a/memcheck/tests/x86/tronical.S +++ b/memcheck/tests/x86/tronical.S @@ -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 diff --git a/none/tests/x86/cpuid_s.S b/none/tests/x86/cpuid_s.S index 3dabdcd01e..6d1dfbcd41 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