summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2023-02-03 08:30:45 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2023-02-03 08:31:17 +0100
commit9d549d7bc6a1b78498ee8d1f39f6a324fdfc9e5d (patch)
treea8ea8b10de905b4695764ecc50fa0ec9d5db6e46 /libc
parentb53a767cb52170da1fc32ff5340e8c0decaf9528 (diff)
riscv64: fix linking with binutils 2.40
See here for details: https://sourceware.org/bugzilla/show_bug.cgi?id=28509
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/riscv64/setjmp.S2
1 files changed, 1 insertions, 1 deletions
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