| author | |
| committer | |
| log | f7fb261efd857ce3d5c926f017401df79cf9ef51 |
| tree | c410fa489dca0bad474d528e9b51159ea29abc1c |
| parent | 9ef16b36cecd19c96d553f6ef6d0613be86154ba |
1 files changed, 2 insertions(+), 1 deletions(-)
lib/std/os/linux/tls.zig+2-1| ... | ... | @@ -88,6 +88,7 @@ const current_variant: Variant = switch (native_arch) { |
| 88 | 88 | => .I_modified, |
| 89 | 89 | .hexagon, |
| 90 | 90 | .s390x, |
| 91 | .sparc, | |
| 91 | 92 | .sparc64, |
| 92 | 93 | .x86, |
| 93 | 94 | .x86_64, |
| ... | ... | @@ -309,7 +310,7 @@ pub fn setThreadPointer(addr: usize) void { |
| 309 | 310 | : "r0" |
| 310 | 311 | ); |
| 311 | 312 | }, |
| 312 | .sparc64 => { | |
| 313 | .sparc, .sparc64 => { | |
| 313 | 314 | asm volatile ( |
| 314 | 315 | \\ mov %[addr], %%g7 |
| 315 | 316 | : |