mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-10-29 11:15:47 +08:00
* We need to add current_dtv_offset in __tls_get_addr() because we aren't reading the actual DTV entry (where that value would be baked in). * In both __tls_get_addr() and __tls_get_offset(), we need to subtract area_info.abi_tcb.offset rather than area_info.block.size because we apply align_factor to the block size when computing the area layout.