]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Unbreak pushfpopf on Linux.
authorNicholas Nethercote <njn@valgrind.org>
Fri, 24 Apr 2009 23:49:58 +0000 (23:49 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Fri, 24 Apr 2009 23:49:58 +0000 (23:49 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9617

memcheck/tests/x86/pushfpopf_s.S

index 2bc43e8614263cb2f9d9e60e21bee28bb25630da..5234310892cec6a48ccb7660dc604b000dfa527a 100644 (file)
@@ -5,6 +5,9 @@ gcc2_compiled.:
 .text
        .align 4
 .globl VG_SYM_ASM(fooble)
+#if defined(VGO_linux)
+       .type   VG_SYM_ASM(fooble),@function
+#endif
 VG_SYM_ASM(fooble):
        pushl   %ebp
        movl    %esp, %ebp
@@ -37,4 +40,7 @@ theend:
        popl    %ebp
        ret
 .Lfe1:
+#if defined(VGO_linux)
+       .size   VG_SYM_ASM(fooble),.Lfe1-VG_SYM_ASM(fooble)
+#endif
        .ident  "GCC: (GNU) 2.96 20000731 (Red Hat Linux 7.1 2.96-98)"