1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 09:04:59 +00:00

Toolchain+Userland: Enable TLS for x86_64

This is not technically a toolchain change, but it does require
rebuilding the toolchain for x86_64 (and just that).
This commit is contained in:
Gunnar Beutner 2021-07-03 00:50:22 +02:00 committed by Andreas Kling
parent 371c852fc0
commit e1ff30a360
4 changed files with 5 additions and 27 deletions

View file

@ -26,10 +26,7 @@ struct SpecificTable {
static KeyTable s_keys;
# ifndef X86_64_NO_TLS
__thread
# endif
SpecificTable t_specifics;
__thread SpecificTable t_specifics;
int __pthread_key_create(pthread_key_t* key, KeyDestructor destructor)
{