Fix TLS for statically linked binaries
Approved by: cognet
This commit is contained in:
parent
6c2b936bbb
commit
7dc77cabb9
@ -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