artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae3e02d
)
Use the correct instruction to clear the frame pointer.
author
kettenis
<kettenis@openbsd.org>
Sat, 24 Dec 2022 10:47:22 +0000
(10:47 +0000)
committer
kettenis
<kettenis@openbsd.org>
Sat, 24 Dec 2022 10:47:22 +0000
(10:47 +0000)
ok guenther@, deraadt@
lib/libc/arch/aarch64/sys/tfork_thread.S
patch
|
blob
|
history
diff --git
a/lib/libc/arch/aarch64/sys/tfork_thread.S
b/lib/libc/arch/aarch64/sys/tfork_thread.S
index
a1b3179
..
834d39d
100644
(file)
--- a/
lib/libc/arch/aarch64/sys/tfork_thread.S
+++ b/
lib/libc/arch/aarch64/sys/tfork_thread.S
@@
-1,4
+1,4
@@
-/* $OpenBSD: tfork_thread.S,v 1.
7 2022/05/24 22:36:58 guenther
Exp $ */
+/* $OpenBSD: tfork_thread.S,v 1.
8 2022/12/24 10:47:22 kettenis
Exp $ */
/*
* Copyright (c) 2005 Dale Rahn <drahn@openbsd.org>
*
@@
-38,7
+38,7
@@
ENTRY(__tfork_thread)
.cfi_startproc
.cfi_undefined lr
/* child */
-
ldr fp,
0
+
mov fp, #
0
mov x0, x3
blr x2
SYSTRAP(__threxit)