bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/24697] ld powerpc 2.31.1 crashes when linking a library containi


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/24697] ld powerpc 2.31.1 crashes when linking a library containing R_PPC_EMB_SDA21 relocation symbols
Date: Thu, 29 Aug 2019 11:39:59 +0000

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

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Alan Modra <address@hidden>:

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

commit c0d9f31dbd8765dd925e6a4b4acdb9b23d1706f6
Author: Alan Modra <address@hidden>
Date:   Thu Aug 29 18:35:54 2019 +0930

    PR24697, R_PPC_EMB_SDA21 cannot be used when making a shared object

    This removes a restriction on various R_PPC_EMB relocations that has
    been present for ppc32 since 1996-04-26 git commit e25a798839.  As far
    as I know, only those relocs that would require addressing via r2 for
    .sdata2/.sbss2 access are disallowed in shared libraries.

        PR 24697
        * elf32-ppc.c (ppc_elf_check_relocs): Call bad_shared_reloc
        when !bfd_link_executable for R_PPC_EMB_SDA2I16 and
        R_PPC_EMB_SDA2REL.  Don't call bad_shared_reloc for any other
        reloc.

-- 
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]