From 95808ccd1ac8eec47f34cf38bd649ade0e737496 Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Wed, 7 Mar 2012 16:38:12 +0000 Subject: [PATCH] Ah, the joys of applying patches by hand. Redo r12424 but get the patch in the right place this time. re #295428. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12425 --- coregrind/m_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coregrind/m_main.c b/coregrind/m_main.c index 85bec7bc14..f1ec4a6ab1 100644 --- a/coregrind/m_main.c +++ b/coregrind/m_main.c @@ -2840,9 +2840,9 @@ asm("\n" "\taddl $"VG_STRINGIFY(VG_STACK_ACTIVE_SZB)", %eax\n" "\tsubl $16, %eax\n" "\tandl $~15, %eax\n" - "\tsubl $12, %esp\n" // keep stack 16 aligned; see #295428 /* install it, and collect the original one */ "\txchgl %eax, %esp\n" + "\tsubl $12, %esp\n" // keep stack 16 aligned; see #295428 /* call _start_in_C_darwin, passing it the startup %esp */ "\tpushl %eax\n" "\tcall __start_in_C_darwin\n" -- 2.47.2