From 9d549d7bc6a1b78498ee8d1f39f6a324fdfc9e5d Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 3 Feb 2023 08:30:45 +0100 Subject: riscv64: fix linking with binutils 2.40 See here for details: https://sourceware.org/bugzilla/show_bug.cgi?id=28509 --- libc/sysdeps/linux/riscv64/setjmp.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc') diff --git a/libc/sysdeps/linux/riscv64/setjmp.S b/libc/sysdeps/linux/riscv64/setjmp.S index 4cdb8e9c3..100a0bd78 100644 --- a/libc/sysdeps/linux/riscv64/setjmp.S +++ b/libc/sysdeps/linux/riscv64/setjmp.S @@ -20,7 +20,7 @@ ENTRY (_setjmp) li a1, 0 - j __sigsetjmp + j HIDDEN_JUMPTARGET (__sigsetjmp) END (_setjmp) ENTRY (setjmp) li a1, 1 -- cgit v1.2.3