microblaze: Add TLS support to sys_clone
Formerly unused Args 4/5 now load parent tid / child tid so the brid to do_fork can pick up TLS from r10. Arg 3 still unused There is also necessary to fix old glibc which do not setup r9/r10 (arg 4/5). Simple clearing them is fine. Signed-off-by: NEdgar E. Iglesias <edgar.iglesias@gmail.com> Signed-off-by: NDavid Holsgrove <david.holsgrove@petalogix.com> Signed-off-by: NMichal Simek <monstr@monstr.eu>
Showing
想要评论请 注册 或 登录