https://sourceware.org/bugzilla/show_bug.cgi?id=32499
--- Comment #7 from Sourceware Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Nelson Chu <nelsonc1...@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a223bdd674f1001d6cf315bacfd962cb62fb3555 commit a223bdd674f1001d6cf315bacfd962cb62fb3555 Author: Nelson Chu <nel...@rivosinc.com> Date: Tue Jan 14 14:16:48 2025 +0800 RISC-V: PR32499, Fix PR18841 segfault caused by ifunc relocation ordering Even though the relocation isn't IRELATIVE, it still should be come last if refering to ifunc symbol. In order to get the ifunc relocs properly sorted the correct class needs to be returned. The code mimics what has been done for x86, sparc, aarch64 and arm32. bfd/ PR 18841 PR 32499 * elfnn-riscv.c (riscv_reloc_type_class): Handle ifunc relocation ordering, even though it's not IRELATIVE, it still should be come last if refering ifunc symbol. -- You are receiving this mail because: You are on the CC list for the bug.