mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 05:42:29 +00:00
Make progress towards aarch64 build
This commit is contained in:
parent
08ff26c817
commit
ca2860947f
15428 changed files with 25694 additions and 23138 deletions
|
@ -140,8 +140,10 @@ void __enable_tls(void) {
|
|||
// ask the operating system to change the x86 segment register
|
||||
__set_tls(tib);
|
||||
|
||||
#ifdef __x86_64__
|
||||
// rewrite the executable tls opcodes in memory
|
||||
__morph_tls();
|
||||
#endif
|
||||
|
||||
// we are now allowed to use tls
|
||||
__tls_enabled = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue