bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/20519] "PowerPC64, Don't copy weak symbol dyn_relocs to weakdef.


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/20519] "PowerPC64, Don't copy weak symbol dyn_relocs to weakdef." causes abort at elf64-ppc.c:14898
Date: Sat, 27 Aug 2016 01:02:20 +0000

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

--- 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=8a9e8e72fe88095043d16f8a56b5a1e150ee288b

commit 8a9e8e72fe88095043d16f8a56b5a1e150ee288b
Author: Alan Modra <address@hidden>
Date:   Sat Aug 27 08:59:29 2016 +0930

    Fix commit 980aa3e6

    Commit 980aa3e6 was supposed to cure dyn_reloc counting problems, but
    did the opposite.  For PIC we count two types of dyn_reloc, those on
    pc-relative relocs, and the total.  If a sym needs pc-relative dyn
    relocs then all the relocs are dynamic.  If not, then only those that
    are must_be_dyn_reloc are dynamic.

        PR 20519
        * elf64-ppc.c (pc_dynrelocs): New function.
        (ppc64_elf_relocate_section): Use it and must_be_dyn_reloc to
        handle pic dynamic relocs.

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