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 and andrewrk committed Jul 29, 2024
1 parent 7342017 commit f7cebf2
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 f7cebf2

Please sign in to comment.