bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/28192] powerpc64le: gold generates wrong address with a reloca


From: cvs-commit at gcc dot gnu.org
Subject: [Bug gold/28192] powerpc64le: gold generates wrong address with a relocation of symbol+offset@got@pcrel
Date: Thu, 30 Sep 2021 02:36:47 +0000

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

--- Comment #16 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The binutils-2_37-branch branch has been updated by Alan Modra
<amodra@sourceware.org>:

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

commit d041152bfd8e5e1fe51333d32eb7f60e909f6007
Author: Alan Modra <amodra@gmail.com>
Date:   Thu Aug 26 12:17:51 2021 +0930

    [GOLD] PowerPC64 support for sym+addend GOT entries

    Pass addends to all the GOT handling functions, plus remove some
    extraneous asserts.

            PR 28192
            * powerpc.cc (Output_data_got_powerpc): Add addend parameter to
            all methods creating got entries.
            (Target_powerpc::Scan::local): Pass reloc addend to got handling
            functions, and when creating dynamic got relocations.
            (Target_powerpc::Scan::global): Likewise.
            (Target_powerpc::Relocate::relocate): Likewise.  Remove extraneous
            assertions.

    (cherry picked from commit 5cdb4f14426a99ec8fcba843fa503efdc55fa078)

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