mirror of
https://github.com/ziglang/zig.git
synced 2026-02-20 00:08:56 +00:00
std.os.linux.tls: Set tls_tcb_size correctly for thumbeb.
This commit is contained in:
parent
d694ddd279
commit
c631110f5c
@ -74,7 +74,7 @@ const tls_variant = switch (native_arch) {
|
||||
const tls_tcb_size = switch (native_arch) {
|
||||
// ARM EABI mandates enough space for two pointers: the first one points to
|
||||
// the DTV while the second one is unspecified but reserved
|
||||
.arm, .armeb, .thumb, .aarch64, .aarch64_be => 2 * @sizeOf(usize),
|
||||
.arm, .armeb, .thumb, .thumbeb, .aarch64, .aarch64_be => 2 * @sizeOf(usize),
|
||||
// One pointer-sized word that points either to the DTV or the TCB itself
|
||||
else => @sizeOf(usize),
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user