Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/arch/riscv Looks like libc is too big to be able to...



details:   https://anonhg.NetBSD.org/src/rev/89987617830a
branches:  trunk
changeset: 455792:89987617830a
user:      maya <maya%NetBSD.org@localhost>
date:      Sat Apr 13 16:08:54 2019 +0000

description:
Looks like libc is too big to be able to use j. use a longer distance jump

diffstat:

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

diffs (18 lines):

diff -r 4dfd0cf16569 -r 89987617830a lib/libc/arch/riscv/SYS.h
--- a/lib/libc/arch/riscv/SYS.h Sat Apr 13 15:57:31 2019 +0000
+++ b/lib/libc/arch/riscv/SYS.h Sat Apr 13 16:08:54 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: SYS.h,v 1.2 2015/03/27 06:44:28 matt Exp $ */
+/*     $NetBSD: SYS.h,v 1.3 2019/04/13 16:08:54 maya Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -33,7 +33,7 @@
 #include <machine/asm.h>
 
 #define SYSTRAP(x)             li      t6,SYS_ ## x; scall
-#define        JUMP_TO_CERROR()        j       _C_LABEL(__cerror)
+#define        JUMP_TO_CERROR()        tail    _C_LABEL(__cerror)
 
 /*
  * Do a syscall that cannot fail (sync, get{p,u,g,eu,eg)id)



Home | Main Index | Thread Index | Old Index