[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/32499] pr18841 test failure on riscv64-unknown-linux-gnu
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug ld/32499] pr18841 test failure on riscv64-unknown-linux-gnu |
Date: |
Fri, 17 Jan 2025 08:55:57 +0000 |
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 <nelsonc1225@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a223bdd674f1001d6cf315bacfd962cb62fb3555
commit a223bdd674f1001d6cf315bacfd962cb62fb3555
Author: Nelson Chu <nelson@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.