mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:24:33 +01:00
std.os.linux.tls: Fix setThreadPointer() for armeb and thumbeb.
This commit is contained in:
parent
0473457b68
commit
2d4fc1bb7a
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue