| ... | @@ -68,6 +68,7 @@ const current_variant: Variant = switch (native_arch) { | ... | @@ -68,6 +68,7 @@ const current_variant: Variant = switch (native_arch) { |
| 68 | .armeb, | 68 | .armeb, |
| 69 | .aarch64, | 69 | .aarch64, |
| 70 | .aarch64_be, | 70 | .aarch64_be, |
| | 71 | .csky, |
| 71 | .thumb, | 72 | .thumb, |
| 72 | .thumbeb, | 73 | .thumbeb, |
| 73 | => .I_original, | 74 | => .I_original, |
| ... | @@ -279,7 +280,7 @@ pub fn setThreadPointer(addr: usize) void { | ... | @@ -279,7 +280,7 @@ pub fn setThreadPointer(addr: usize) void { |
| 279 | : [addr] "r" (addr), | 280 | : [addr] "r" (addr), |
| 280 | ); | 281 | ); |
| 281 | }, | 282 | }, |
| 282 | .mips, .mipsel, .mips64, .mips64el => { | 283 | .csky, .mips, .mipsel, .mips64, .mips64el => { |
| 283 | const rc = @call(.always_inline, linux.syscall1, .{ .set_thread_area, addr }); | 284 | const rc = @call(.always_inline, linux.syscall1, .{ .set_thread_area, addr }); |
| 284 | assert(rc == 0); | 285 | assert(rc == 0); |
| 285 | }, | 286 | }, |