Module Name:    src
Committed By:   christos
Date:           Sat Mar  9 02:50:08 UTC 2019

Modified Files:
        src/lib/libc/arch/aarch64: SYS.h

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


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/libc/arch/aarch64/SYS.h

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/aarch64/SYS.h
diff -u src/lib/libc/arch/aarch64/SYS.h:1.2 src/lib/libc/arch/aarch64/SYS.h:1.3
--- src/lib/libc/arch/aarch64/SYS.h:1.2	Fri Mar  8 21:33:02 2019
+++ src/lib/libc/arch/aarch64/SYS.h	Fri Mar  8 21:50:07 2019
@@ -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);						\

Reply via email to