Fix TLS for statically linked binaries
Approved by: cognet
This commit is contained in:
parent
51f018d43a
commit
3d68feb2a6
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user