Skip to content

Commit

Permalink
c: Handle armeb and thumbeb in clone().
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrp authored Jul 29, 2024
1 parent 390c7d8 commit 8c00c7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/c.zig
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ fn clone() callconv(.Naked) void {
\\ svc #0
);
},
.arm, .thumb => {
.arm, .armeb, .thumb, .thumbeb => {
// __clone(func, stack, flags, arg, ptid, tls, ctid)
// r0, r1, r2, r3, +0, +4, +8

Expand Down

0 comments on commit 8c00c7a

Please sign in to comment.