Support thread local storage

This commit is contained in:
Justine Tunney 2022-05-16 13:20:08 -07:00
parent 91ee2b19d4
commit 55de4ca6b5
197 changed files with 1483 additions and 874 deletions

View file

@ -1152,6 +1152,7 @@ THIRD_PARTY_PYTHON_STAGE2_A_DIRECTDEPS = \
THIRD_PARTY_MBEDTLS \
THIRD_PARTY_SQLITE3 \
THIRD_PARTY_ZLIB \
THIRD_PARTY_XED \
TOOL_ARGS
THIRD_PARTY_PYTHON_STAGE2_A_DEPS = \
@ -2090,6 +2091,7 @@ THIRD_PARTY_PYTHON_PYTEST_PYMAINS_DIRECTDEPS = \
THIRD_PARTY_PYTHON_STAGE2 \
THIRD_PARTY_PYTHON_PYTEST \
THIRD_PARTY_LINENOISE \
THIRD_PARTY_XED \
TOOL_ARGS
THIRD_PARTY_PYTHON_PYTEST_PYMAINS_DEPS = \
@ -4252,6 +4254,7 @@ THIRD_PARTY_PYTHON_PYTHON_DIRECTDEPS = \
THIRD_PARTY_PYTHON_STAGE1 \
THIRD_PARTY_PYTHON_STAGE2 \
THIRD_PARTY_PYTHON_PYTEST \
THIRD_PARTY_XED \
TOOL_ARGS
o/$(MODE)/third_party/python/python.pkg: \
@ -4298,6 +4301,7 @@ THIRD_PARTY_PYTHON_FREEZE_DIRECTDEPS = \
LIBC_UNICODE \
LIBC_X \
THIRD_PARTY_GETOPT \
THIRD_PARTY_XED \
THIRD_PARTY_PYTHON_STAGE1
o/$(MODE)/third_party/python/freeze.pkg: \

View file

@ -9,10 +9,17 @@
#include "libc/bits/safemacros.internal.h"
#include "libc/bits/weaken.h"
#include "libc/calls/calls.h"
#include "libc/calls/internal.h"
#include "libc/calls/sigbits.h"
#include "libc/calls/struct/siginfo.h"
#include "libc/calls/struct/sigset.h"
#include "libc/calls/ucontext.h"
#include "libc/dce.h"
#include "libc/errno.h"
#include "libc/intrin/kprintf.h"
#include "libc/log/check.h"
#include "libc/log/log.h"
#include "libc/macros.internal.h"
#include "libc/mem/mem.h"
#include "libc/runtime/gc.internal.h"
#include "libc/runtime/runtime.h"
@ -20,7 +27,9 @@
#include "libc/stdio/stdio.h"
#include "libc/str/str.h"
#include "libc/sysv/consts/fileno.h"
#include "libc/sysv/consts/prot.h"
#include "libc/sysv/consts/sig.h"
#include "libc/time/time.h"
#include "libc/unicode/locale.h"
#include "libc/x/x.h"
#include "third_party/linenoise/linenoise.h"
@ -41,6 +50,7 @@
#include "third_party/python/Include/pythonrun.h"
#include "third_party/python/Include/unicodeobject.h"
#include "third_party/python/Include/yoink.h"
#include "third_party/xed/x86.h"
#include "tool/args/args.h"
/* clang-format off */