Skip to content
Commit 8d95e122 authored by Edgar E. Iglesias's avatar Edgar E. Iglesias Committed by Michal Simek
Browse files

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: default avatarEdgar E. Iglesias <edgar.iglesias@gmail.com>
Signed-off-by: default avatarDavid Holsgrove <david.holsgrove@petalogix.com>
Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
parent d65987a8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment