bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/18841] Data relocations with IFUNC symbols can lead to segfault


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:52:10 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=18841

--- Comment #17 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Christophe Lyon <clyon@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2b70b1b838388cc4186933a724eccd0be6b2a955

commit 2b70b1b838388cc4186933a724eccd0be6b2a955
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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]