mirror of
https://github.com/ziglang/zig.git
synced 2026-01-02 19:43:29 +00:00
Add DTP bias according to RISCV ABI
This commit is contained in:
parent
453157595e
commit
a56b767c35
@ -89,6 +89,7 @@ const tls_tp_offset = switch (builtin.arch) {
|
||||
|
||||
const tls_dtv_offset = switch (builtin.arch) {
|
||||
.mipsel => 0x8000,
|
||||
.riscv32, .riscv64 => 0x800,
|
||||
else => 0,
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user