diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2025-06-01 07:00:18 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2025-06-22 06:14:07 +0000 |
commit | 6b96e7a5731795e76fe33df5a23edfb136f2e508 (patch) | |
tree | 9d1c74cd7ef5e5e1657bbe40d676379f32908995 /sys/i386/isa/ic/(public-mirror) | |
parent | 2e91875bc2d861ce3b8f3e893dca999d139f590e (diff) |
libthr/amd64: do not set THR_C_RUNTIME for thr_new() if the main thread did used AMD64_SET_TLSBASEHEADmain
It is up to the code that organizes the runtime to properly set the
signal handler, and to set %fsbase if libthr signal handler is to be
called. The change should leave the CPU state on the signal handler
entry identical to what it was before introduction of TLSBASE, for code
that provides its own startup and thread pointer, but still calls into
libthr as a hack.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Diffstat (limited to 'sys/i386/isa/ic/(public-mirror)')
0 files changed, 0 insertions, 0 deletions