summaryrefslogtreecommitdiff
path: root/lib/libpthread
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2003-12-05 01:41:43 +0000
committerPeter Wemm <peter@FreeBSD.org>2003-12-05 01:41:43 +0000
commit30a62d30f4abee3b3052b55ba8db30065ac5d5f6 (patch)
treec6258473b65f48d97899f192da96478567280c89 /lib/libpthread
parent04cb6b3aa6b5510707e141f00c75103c16f16744 (diff)
Notes
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/arch/amd64/amd64/enter_uts.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/arch/amd64/amd64/enter_uts.S b/lib/libpthread/arch/amd64/amd64/enter_uts.S
index c263eab582b6..7f9a88d163c4 100644
--- a/lib/libpthread/arch/amd64/amd64/enter_uts.S
+++ b/lib/libpthread/arch/amd64/amd64/enter_uts.S
@@ -35,7 +35,7 @@ __FBSDID("$FreeBSD$");
ENTRY(_amd64_enter_uts)
addq %rcx, %rdx /* get stack base */
andq $~0xf, %rdx /* align to 16 bytes */
+ subq $8, %rdx /* simulate "call" alignment */
movq %rdx, %rsp /* switch to UTS stack */
movq %rdx, %rbp /* set frame */
- pushq %rsi
- ret
+ jmpq *%rsi