SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
SPDX-FileCopyrightText: 2021 Samuel Tyler <samuel@samuelt.me>

SPDX-License-Identifier: MIT

tcc does not like jecxz instruction.
--- musl-1.1.24/src/signal/i386/sigsetjmp.s	2019-10-13 22:58:27.000000000 +0100
+++ musl-1.1.24/src/signal/i386/sigsetjmp.s	2021-02-01 00:19:25.671735415 +0000
@@ -5,7 +5,8 @@
 sigsetjmp:
 __sigsetjmp:
 	mov 8(%esp),%ecx
-	jecxz 1f
+	cmp $0,%ecx
+	je 1f
 
 	mov 4(%esp),%eax
 	popl 24(%eax)
