[Glibc-bsd-commits] r4617 - trunk/glibc-ports/kfreebsd/i386/fbtl
Petr Salinger
ps-guest at alioth.debian.org
Mon Jul 8 12:47:35 UTC 2013
Author: ps-guest
Date: 2013-06-27 07:31:38 +0000 (Thu, 27 Jun 2013)
New Revision: 4617
Modified:
trunk/glibc-ports/kfreebsd/i386/fbtl/exit-thread.S
Log:
use esp not ebp
Modified: trunk/glibc-ports/kfreebsd/i386/fbtl/exit-thread.S
===================================================================
--- trunk/glibc-ports/kfreebsd/i386/fbtl/exit-thread.S 2013-06-26 20:27:11 UTC (rev 4616)
+++ trunk/glibc-ports/kfreebsd/i386/fbtl/exit-thread.S 2013-06-27 07:31:38 UTC (rev 4617)
@@ -19,13 +19,13 @@
.text
ENTRY (__exit_thread)
mov %gs:0, %edx
- mov 4(%ebp), %ecx /* we will need it later,
+ mov 4(%esp), %ecx /* we will need it later,
%ecx is saved by kernel */
add $TID, %edx /* should be KTID, but
they are at the same place anyway */
- mov %edx, 4(%ebp)
+ mov %edx, 4(%esp)
DO_CALL (thr_exit, 1)
- mov %ecx, 4(%ebp) /* use saved value */
+ mov %ecx, 4(%esp) /* use saved value */
DO_CALL (exit, 1)
/* Shouldn't get here. */
hlt
More information about the Glibc-bsd-commits
mailing list