Module Name: src
Committed By: skrll
Date: Wed Jun 30 07:36:05 UTC 2021
Modified Files:
src/lib/libc/arch/arm/sys: __clone.S
Log Message:
The _INVOKE_CERROR macro deals with thumb so simplify the code (at the
expense of a couple more instructions).
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/lib/libc/arch/arm/sys/__clone.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/arch/arm/sys/__clone.S
diff -u src/lib/libc/arch/arm/sys/__clone.S:1.12 src/lib/libc/arch/arm/sys/__clone.S:1.13
--- src/lib/libc/arch/arm/sys/__clone.S:1.12 Wed Jun 30 07:34:24 2021
+++ src/lib/libc/arch/arm/sys/__clone.S Wed Jun 30 07:36:05 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: __clone.S,v 1.12 2021/06/30 07:34:24 skrll Exp $ */
+/* $NetBSD: __clone.S,v 1.13 2021/06/30 07:36:05 skrll Exp $ */
/*
* Copyright (c) 2001 Christopher Gilbert
@@ -65,11 +65,7 @@ ENTRY(__clone)
mov r0, r2
SYSTRAP(__clone)
-#if !defined(__thumb__) || defined(_ARM_ARCH_T2)
_INVOKE_CERROR()
-#else
- bcs .Lcerror
-#endif
/*
* r1 and r0 are the same as from fork: