Source-Changes-HG archive

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

[src/netbsd-3]: src/lib/libpthread/arch/x86_64 Pull up following revision(s) ...



details:   https://anonhg.NetBSD.org/src/rev/5cd8c584030c
branches:  netbsd-3
changeset: 577706:5cd8c584030c
user:      tron <tron%NetBSD.org@localhost>
date:      Wed Jan 11 13:45:17 2006 +0000

description:
Pull up following revision(s) (requested by skrll in ticket #1115):
        lib/libpthread/arch/x86_64/pthread_switch.S: revision 1.12
I was a bit over zealous with my last change so revert the
locked_return_point change.
Loading the instruction at locked_return_point as a return value didn't
work so well.
Thanks to uwe, cube, and dsl.

diffstat:

 lib/libpthread/arch/x86_64/pthread_switch.S |  6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diffs (21 lines):

diff -r 4284681e6477 -r 5cd8c584030c lib/libpthread/arch/x86_64/pthread_switch.S
--- a/lib/libpthread/arch/x86_64/pthread_switch.S       Tue Jan 10 02:13:53 2006 +0000
+++ b/lib/libpthread/arch/x86_64/pthread_switch.S       Wed Jan 11 13:45:17 2006 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pthread_switch.S,v 1.10.2.1 2006/01/08 15:58:26 riz Exp $      */
+/*     $NetBSD: pthread_switch.S,v 1.10.2.2 2006/01/11 13:45:17 tron Exp $     */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -207,11 +207,7 @@
         * Edit the context so that it continues as if returning from
         * the _setcontext_u below.  
         */
-#ifdef PIC
-       movq    PIC_GOT(locked_return_point), %r15
-#else
        leaq    locked_return_point(%rip), %r15
-#endif
        movq    %r15, UC_RIP(%r14)
        movq    %r14, PT_UC(%r12)
        



Home | Main Index | Thread Index | Old Index