Browse Source

riscv64: fix linking with binutils 2.40

See here for details:
https://sourceware.org/bugzilla/show_bug.cgi?id=28509
Waldemar Brodkorb 1 year ago
parent
commit
9d549d7bc6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libc/sysdeps/linux/riscv64/setjmp.S

+ 1 - 1
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