|
From: <sv...@va...> - 2009-04-24 21:17:18
|
Author: njn
Date: 2009-04-24 22:17:12 +0100 (Fri, 24 Apr 2009)
New Revision: 9612
Log:
Make pushfpopf work on Darwin.
Modified:
branches/DARWIN/memcheck/tests/x86/Makefile.am
branches/DARWIN/memcheck/tests/x86/pushfpopf_s.S
Modified: branches/DARWIN/memcheck/tests/x86/Makefile.am
===================================================================
--- branches/DARWIN/memcheck/tests/x86/Makefile.am 2009-04-24 20:17:07 UTC (rev 9611)
+++ branches/DARWIN/memcheck/tests/x86/Makefile.am 2009-04-24 21:17:12 UTC (rev 9612)
@@ -32,6 +32,7 @@
fprem \
fxsave \
pushfw_x86 \
+ pushfpopf \
pushpopmem \
sse_memory \
tronical \
@@ -42,8 +43,7 @@
if ! VGCONF_OS_IS_DARWIN
check_PROGRAMS += \
int3-x86 \
- more_x86_fp \
- pushfpopf
+ more_x86_fp
endif
AM_CFLAGS += @FLAG_M32@ $(FLAG_MMMX) $(FLAG_MSSE)
Modified: branches/DARWIN/memcheck/tests/x86/pushfpopf_s.S
===================================================================
--- branches/DARWIN/memcheck/tests/x86/pushfpopf_s.S 2009-04-24 20:17:07 UTC (rev 9611)
+++ branches/DARWIN/memcheck/tests/x86/pushfpopf_s.S 2009-04-24 21:17:12 UTC (rev 9612)
@@ -1,11 +1,11 @@
- .file "twoparams.c"
+#include "tests/asm.h"
+
.version "01.01"
gcc2_compiled.:
.text
.align 4
-.globl fooble
- .type fooble,@function
-fooble:
+.globl VG_SYM_ASM(fooble)
+VG_SYM_ASM(fooble):
pushl %ebp
movl %esp, %ebp
movl 8(%ebp), %eax
@@ -37,5 +37,4 @@
popl %ebp
ret
.Lfe1:
- .size fooble,.Lfe1-fooble
.ident "GCC: (GNU) 2.96 20000731 (Red Hat Linux 7.1 2.96-98)"
|