Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libm/arch/i387 Use correct stack register as noticed by ...



details:   https://anonhg.NetBSD.org/src/rev/796b3408a570
branches:  trunk
changeset: 766214:796b3408a570
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sat Jun 18 22:19:52 2011 +0000

description:
Use correct stack register as noticed by christos

diffstat:

 lib/libm/arch/i387/abi.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 07a0e579acd9 -r 796b3408a570 lib/libm/arch/i387/abi.h
--- a/lib/libm/arch/i387/abi.h  Sat Jun 18 21:24:51 2011 +0000
+++ b/lib/libm/arch/i387/abi.h  Sat Jun 18 22:19:52 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: abi.h,v 1.6 2011/06/18 18:16:40 joerg Exp $    */
+/*     $NetBSD: abi.h,v 1.7 2011/06/18 22:19:52 joerg Exp $    */
 
 /*
  * Written by Frank van der Linden (fvdl%wasabisystems.com@localhost)
@@ -51,8 +51,8 @@
 
 #else
 
-#define ARG_LONG_DOUBLE_ONE    4(%rsp)
-#define ARG_LONG_DOUBLE_TWO    16(%rsp)
+#define ARG_LONG_DOUBLE_ONE    4(%esp)
+#define ARG_LONG_DOUBLE_TWO    16(%esp)
 #define ARG_DOUBLE_ONE         4(%esp)
 #define ARG_DOUBLE_ONE_LSW     4(%esp)
 #define ARG_DOUBLE_ONE_MSW     8(%esp)



Home | Main Index | Thread Index | Old Index