Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107233684
D40841.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
347 B
Referenced Files
None
Subscribers
None
D40841.diff
View Options
diff --git a/sys/arm64/arm64/vm_machdep.c b/sys/arm64/arm64/vm_machdep.c
--- a/sys/arm64/arm64/vm_machdep.c
+++ b/sys/arm64/arm64/vm_machdep.c
@@ -223,6 +223,8 @@
tf->tf_sp = STACKALIGN((uintptr_t)stack->ss_sp + stack->ss_size);
tf->tf_elr = (register_t)entry;
tf->tf_x[0] = (register_t)arg;
+ tf->tf_x[29] = 0;
+ tf->tf_lr = 0;
}
int
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 12, 5:06 PM (21 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15771485
Default Alt Text
D40841.diff (347 B)
Attached To
Mode
D40841: rtld: Clear x29 for thread_start to conform Aarch64 ABI ps
Attached
Detach File
Event Timeline
Log In to Comment