Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/arch/aarch64 Fix previous... We need to deal with a...



details:   https://anonhg.NetBSD.org/src/rev/c346eded6a85
branches:  trunk
changeset: 997466:c346eded6a85
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Mar 09 02:50:07 2019 +0000

description:
Fix previous... We need to deal with a conditional branch.

diffstat:

 lib/libc/arch/aarch64/SYS.h |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 6c90f1608894 -r c346eded6a85 lib/libc/arch/aarch64/SYS.h
--- a/lib/libc/arch/aarch64/SYS.h       Sat Mar 09 02:33:02 2019 +0000
+++ b/lib/libc/arch/aarch64/SYS.h       Sat Mar 09 02:50:07 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: SYS.h,v 1.2 2019/03/09 02:33:02 christos Exp $ */
+/* $NetBSD: SYS.h,v 1.3 2019/03/09 02:50:07 christos Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -43,7 +43,9 @@
        SYSTRAP(y)
 
 #define _INVOKE_CERROR()                                               \
-       b       _C_LABEL(__cerror)
+       b.cc    1f;                                                     \
+       b       _C_LABEL(__cerror);                                     \
+1:
 
 #define _SYSCALL(x, y)                                                 \
        _SYSCALL_NOERROR(x,y);                                          \



Home | Main Index | Thread Index | Old Index