- Reverse logic so base tls is fixed up with correct number
This commit is contained in:
parent
2477c8ab78
commit
4c322abc56
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=231470
@ -608,7 +608,7 @@ cpu_set_user_tls(struct thread *td, void *tls_base)
|
||||
* to make it the same way TLS base is passed to
|
||||
* MIPS_SET_TLS/MIPS_GET_TLS API
|
||||
*/
|
||||
#ifndef __mips_n64
|
||||
#ifdef __mips_n64
|
||||
td->td_md.md_tls = (char*)tls_base + 0x7010;
|
||||
#else
|
||||
td->td_md.md_tls = (char*)tls_base + 0x7008;
|
||||
|
Loading…
Reference in New Issue
Block a user