|
From: | cvs-commit at gcc dot gnu.org |
Subject: | [Bug ld/18841] Data relocations with IFUNC symbols can lead to segfault |
Date: | Mon, 09 Jan 2023 15:53:32 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=18841 --- Comment #18 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The binutils-2_40-branch branch has been updated by Christophe Lyon <clyon@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5d546b26ceca0e10c51c04b895d83b1460ea38c6 commit 5d546b26ceca0e10c51c04b895d83b1460ea38c6 Author: Christophe Lyon <christophe.lyon@arm.com> Date: Mon Jan 2 15:46:31 2023 +0000 Fix PR18841 ifunc relocation ordering In order to get the ifunc relocs properly sorted the correct class needs to be returned. The code mimics what has been done for AArch64. Fixes: FAIL: Run pr18841 with libpr18841b.so FAIL: Run pr18841 with libpr18841c.so FAIL: Run pr18841 with libpr18841bn.so (-z now) FAIL: Run pr18841 with libpr18841cn.so (-z now) bfd/ PR ld/18841 * elf32-arm.c (elf32_arm_reloc_type_class): Return reloc_class_ifunc for ifunc symbols. ld/testsuite/ * ld-arm/ifunc-12.rd: Update relocations order. * ld-arm/ifunc-3.rd: Likewise. * ld-arm/ifunc-4.rd: Likewise. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |