Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/arch/arm/sys The _INVOKE_CERROR macro deals with th...



details:   https://anonhg.NetBSD.org/src/rev/9dfa5ac57b73
branches:  trunk
changeset: 984276:9dfa5ac57b73
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Jun 30 07:36:05 2021 +0000

description:
The _INVOKE_CERROR macro deals with thumb so simplify the code (at the
expense of a couple more instructions).

diffstat:

 lib/libc/arch/arm/sys/__clone.S |  6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diffs (21 lines):

diff -r 5ee1cc8be63c -r 9dfa5ac57b73 lib/libc/arch/arm/sys/__clone.S
--- a/lib/libc/arch/arm/sys/__clone.S   Wed Jun 30 07:34:24 2021 +0000
+++ b/lib/libc/arch/arm/sys/__clone.S   Wed Jun 30 07:36:05 2021 +0000
@@ -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 @@
        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:



Home | Main Index | Thread Index | Old Index