22 lines
907 B
Text
22 lines
907 B
Text
$NetBSD: patch-ae,v 1.6 2008/09/07 04:35:41 dholland Exp $
|
|
|
|
--- src/EnginePl/engine1.c~ 2007-01-04 05:35:13.000000000 -0500
|
|
+++ src/EnginePl/engine1.c 2008-09-07 00:09:12.000000000 -0400
|
|
@@ -100,7 +100,7 @@ Call_Compiled(CodePtr codep)
|
|
register WamWord *rb asm("%l0") = reg_bank;
|
|
ensure_reserved = (WamWord *) rb; /* to avoid gcc warning */
|
|
|
|
-#elif defined(M_x86_64_linux)
|
|
+#elif defined(M_x86_64)
|
|
|
|
register WamWord *rb asm("%r12") = reg_bank;
|
|
ensure_reserved = (WamWord *) rb; /* to avoid gcc warning */
|
|
@@ -113,7 +113,7 @@ Call_Compiled(CodePtr codep)
|
|
#if defined(M_ix86_darwin) /* see comment in Ma2Asm/ix86_any.c */
|
|
asm("andl $0xfffffff0,%esp");
|
|
asm("addl $4,%esp");
|
|
-#elif defined(M_x86_64_linux) /* see comment in Ma2Asm/x86_64_any.c */
|
|
+#elif defined(M_x86_64) /* see comment in Ma2Asm/x86_64_any.c */
|
|
asm("andq $0xfffffffffffffff0,%rsp");
|
|
asm("addq $8,%rsp");
|
|
#endif
|