Per-thread storage for the ELF TLS ABI.
const AbiTcb = switch (current_variant)
const AbiTcb = switch (current_variant) {
.I_original, .I_modified => switch (native_arch) {
.aarch64,
.aarch64_be,
.alpha,
.arm,
.armeb,
.hppa,
.microblaze,
.microblazeel,
.sh,
.sheb,
.thumb,
.thumbeb,
.xtensa,
.xtensaeb,
=> extern struct {
/// This is offset by `current_dtv_offset`.
dtv: usize,
_reserved: ?*anyopaque,
},
else => extern struct {
/// This is offset by `current_dtv_offset`.
dtv: usize,
},
},
.II => extern struct {
/// This is self-referential.
self: *AbiTcb,
},
}