authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-07-21 23:39:02+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-07-23 21:14:19+02:00
logc631110f5c664a26520e59d7cec7585156cb5e7f
tree0547a8ff1a73bcc9b93e1e340aa468e873c2e62f
parentd694ddd279d8f0d36185ac6741901e4ac3cb0cd3
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.os.linux.tls: Set tls_tcb_size correctly for thumbeb.


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/os/linux/tls.zig+1-1
......@@ -74,7 +74,7 @@ const tls_variant = switch (native_arch) {
7474const tls_tcb_size = switch (native_arch) {
7575 // ARM EABI mandates enough space for two pointers: the first one points to
7676 // the DTV while the second one is unspecified but reserved
77 .arm, .armeb, .thumb, .aarch64, .aarch64_be => 2 * @sizeOf(usize),
77 .arm, .armeb, .thumb, .thumbeb, .aarch64, .aarch64_be => 2 * @sizeOf(usize),
7878 // One pointer-sized word that points either to the DTV or the TCB itself
7979 else => @sizeOf(usize),
8080};