Author: ps-guest Date: 2006-01-18 10:41:04 +0000 (Wed, 18 Jan 2006) New Revision: 1065
Modified: trunk/glibc-2.3-head/sysdeps/kfreebsd/x86_64/getcontext.S Log: use preserved register (cx is scratch on amd64) Modified: trunk/glibc-2.3-head/sysdeps/kfreebsd/x86_64/getcontext.S =================================================================== --- trunk/glibc-2.3-head/sysdeps/kfreebsd/x86_64/getcontext.S 2006-01-18 10:38:50 UTC (rev 1064) +++ trunk/glibc-2.3-head/sysdeps/kfreebsd/x86_64/getcontext.S 2006-01-18 10:41:04 UTC (rev 1065) @@ -21,13 +21,13 @@ .text ENTRY(__getcontext) - movl 0(%rsp), %rcx /* save the return PC value */ + movq 0(%rsp), %rsi /* save the return PC value */ DO_CALL (getcontext, 1) jb SYSCALL_ERROR_LABEL addq $8, %rsp /* remove stale return address */ - jmp *%rcx + jmp *%rsi L(pseudo_end): ret -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]