microblaze: Add TLS support to sys_clone
authorEdgar E. Iglesias <edgar.iglesias@gmail.com>
Fri, 24 Feb 2012 04:52:26 +0000 (14:52 +1000)
committerMichal Simek <monstr@monstr.eu>
Fri, 25 May 2012 04:40:23 +0000 (06:40 +0200)
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: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Signed-off-by: David Holsgrove <david.holsgrove@petalogix.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>

No differences found