bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/24704] [2.33 Regression] Internal error building skiboot for pow


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/24704] [2.33 Regression] Internal error building skiboot for powerpc64-linux-gnu
Date: Sun, 23 Jun 2019 13:45:26 +0000

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

--- 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=bb22a41815facfaa3de621aad5d055eb8e477082

commit bb22a41815facfaa3de621aad5d055eb8e477082
Author: Alan Modra <address@hidden>
Date:   Sun Jun 23 12:28:39 2019 +0930

    PR24704, Internal error building skiboot for powerpc64-linux-gnu

    While the skiboot linker script bears some culpability in this PR,
    it's also true that the GOT indirect to GOT relative optimisation for
    16-bit offsets isn't safe.  At least, it isn't safe to remove the GOT
    entry based on distance between the GOT pointer and symbol calculated
    from the preliminary layout.  So this patch removes that optimisation,
    and reduces the range allowed for 32-bit and 34-bit offsets.

        PR 24704
    bfd/
        * elf64-ppc.c (R_PPC64_GOT16_DS): Don't set has_gotrel.
        (ppc64_elf_edit_toc): Don't remove R_PPC64_GOT16_DS got entries.
        Reduce range of offsets allowed for other GOT relocs.
    ld/
        * testsuite/ld-powerpc/elfv2exe.d: Update.
        * testsuite/ld-powerpc/elfv2so.d: Update.

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