From f7cebf21c9398acea0707ce369b498e625978490 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Mon, 29 Jul 2024 10:20:45 +0200 Subject: [PATCH] c: Handle armeb and thumbeb in clone(). --- lib/c.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/c.zig b/lib/c.zig index 0534013d3bc3..56ea977bfa49 100644 --- a/lib/c.zig +++ b/lib/c.zig @@ -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