aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86_64
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-03-31 14:59:28 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-04-03 10:47:59 -0300
commit17fd707f88c5531972c980a4f4567ba6c7f84067 (patch)
treee644b35a12a7448baef45faff73f8e4d198fbda4 /sysdeps/x86_64
parent0bdca3bd94fe51023e927e9a2ac33a75e2a2d4b8 (diff)
downloadglibc-17fd707f88c5531972c980a4f4567ba6c7f84067.tar
glibc-17fd707f88c5531972c980a4f4567ba6c7f84067.tar.gz
glibc-17fd707f88c5531972c980a4f4567ba6c7f84067.tar.bz2
glibc-17fd707f88c5531972c980a4f4567ba6c7f84067.zip
nptl: Remove x86_64 cancellation assembly implementations [BZ #25765]
All cancellable syscalls are done by C implementations, so there is no no need to use a specialized implementation to optimize register usage. It fixes BZ #25765. Checked on x86_64-linux-gnu.
Diffstat (limited to 'sysdeps/x86_64')
-rw-r--r--sysdeps/x86_64/nptl/tcb-offsets.sym7
1 files changed, 0 insertions, 7 deletions
diff --git a/sysdeps/x86_64/nptl/tcb-offsets.sym b/sysdeps/x86_64/nptl/tcb-offsets.sym
index ae8034743b..037759eb4f 100644
--- a/sysdeps/x86_64/nptl/tcb-offsets.sym
+++ b/sysdeps/x86_64/nptl/tcb-offsets.sym
@@ -16,11 +16,4 @@ FEATURE_1_OFFSET offsetof (tcbhead_t, feature_1)
SSP_BASE_OFFSET offsetof (tcbhead_t, ssp_base)
-- Not strictly offsets, but these values are also used in the TCB.
-TCB_CANCELSTATE_BITMASK CANCELSTATE_BITMASK
-TCB_CANCELTYPE_BITMASK CANCELTYPE_BITMASK
-TCB_CANCELING_BITMASK CANCELING_BITMASK
TCB_CANCELED_BITMASK CANCELED_BITMASK
-TCB_EXITING_BITMASK EXITING_BITMASK
-TCB_CANCEL_RESTMASK CANCEL_RESTMASK
-TCB_TERMINATED_BITMASK TERMINATED_BITMASK
-TCB_PTHREAD_CANCELED PTHREAD_CANCELED