Fix TLS for statically linked binaries

Approved by:	cognet
This commit is contained in:
gonzo 2012-03-18 03:42:54 +00:00
parent 51f018d43a
commit 3d68feb2a6

View File

@ -29,7 +29,11 @@
#include <string.h>
#include <stdint.h>
#include <machine/sysarch.h>
void
_set_tp(void *tp)
{
*((struct tcb **)ARM_TP_ADDRESS) = tp;
}