Skip to content

Commit 2d4fc1b

Browse files
committed
std.os.linux.tls: Fix setThreadPointer() for armeb and thumbeb.
1 parent 0473457 commit 2d4fc1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/std/os/linux/tls.zig

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ pub fn setThreadPointer(addr: usize) void {
166166
: [addr] "r" (addr),
167167
);
168168
},
169-
.arm, .thumb => {
169+
.arm, .armeb, .thumb, .thumbeb => {
170170
const rc = @call(.always_inline, linux.syscall1, .{ .set_tls, addr });
171171
assert(rc == 0);
172172
},

0 commit comments

Comments
 (0)