Jefferson Carpenter : ntdll/tests: Clear AC flag in align check test.

Alexandre Julliard julliard at winehq.org
Mon Dec 28 16:09:48 CST 2020


Module: wine
Branch: master
Commit: 93c48526202d6b2348116c64628b1eeeacc7b515
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=93c48526202d6b2348116c64628b1eeeacc7b515

Author: Jefferson Carpenter <jeffersoncarpenter2 at gmail.com>
Date:   Sun Dec 27 12:58:27 2020 +0000

ntdll/tests: Clear AC flag in align check test.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49771
Signed-off-by: Jefferson Carpenter <jeffersoncarpenter2 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ntdll/tests/exception.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/dlls/ntdll/tests/exception.c b/dlls/ntdll/tests/exception.c
index 44c03a6e52a..ca338775351 100644
--- a/dlls/ntdll/tests/exception.c
+++ b/dlls/ntdll/tests/exception.c
@@ -850,16 +850,13 @@ static const BYTE align_check_code[] = {
     0x55,                  	/* push   %ebp */
     0x89,0xe5,             	/* mov    %esp,%ebp */
     0x9c,                  	/* pushf   */
+    0x9c,                  	/* pushf   */
     0x58,                  	/* pop    %eax */
     0x0d,0,0,4,0,       	/* or     $0x40000,%eax */
     0x50,                  	/* push   %eax */
     0x9d,                  	/* popf    */
     0x89,0xe0,                  /* mov %esp, %eax */
     0x8b,0x40,0x1,              /* mov 0x1(%eax), %eax - cause exception */
-    0x9c,                  	/* pushf   */
-    0x58,                  	/* pop    %eax */
-    0x35,0,0,4,0,       	/* xor    $0x40000,%eax */
-    0x50,                  	/* push   %eax */
     0x9d,                  	/* popf    */
     0x5d,                  	/* pop    %ebp */
     0xc3,                  	/* ret     */




More information about the wine-cvs mailing list