mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 14:23:09 +00:00
std.os.linux.tls: Fix setThreadPointer() for armeb and thumbeb.
This commit is contained in:
parent
0473457b68
commit
2d4fc1bb7a
@ -166,7 +166,7 @@ pub fn setThreadPointer(addr: usize) void {
|
||||
: [addr] "r" (addr),
|
||||
);
|
||||
},
|
||||
.arm, .thumb => {
|
||||
.arm, .armeb, .thumb, .thumbeb => {
|
||||
const rc = @call(.always_inline, linux.syscall1, .{ .set_tls, addr });
|
||||
assert(rc == 0);
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user