Skip to content

Commit 9a3b6ad

Browse files
committed
std.os.linux.tls: Fix setThreadPointer() for armeb and thumbeb.
1 parent 3a4c767 commit 9a3b6ad

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
@@ -164,7 +164,7 @@ pub fn setThreadPointer(addr: usize) void {
164164
: [addr] "r" (addr),
165165
);
166166
},
167-
.arm, .thumb => {
167+
.arm, .armeb, .thumb, .thumbeb => {
168168
const rc = linux.syscall1(.set_tls, addr);
169169
assert(rc == 0);
170170
},

0 commit comments

Comments
 (0)