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:37 +0000

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

--- Comment #14 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=60c49a5eee170026a9cd03e64388993f2e79985b

commit 60c49a5eee170026a9cd03e64388993f2e79985b
Author: Alan Modra <amodra@gmail.com>
Date:   Wed Aug 25 20:24:18 2021 +0930

    [GOLD] Output_data_got create entry method addends

    This patch makes all the Output_data_got methods that create new
    entries accept an optional addend.

            PR 28192
            * output.h (Output_data_got::add_global): Add optional addend
            parameter.  Update comment.  Delete overload without addend.
            (Output_data_got::add_global_plt): Likewise.
            (Output_data_got::add_global_tls): Likewise.
            (Output_data_got::add_global_with_rel): Likewise.
            (Output_data_got::add_global_pair_with_rel): Likewise.
            (Output_data_got::add_local_plt): Likewise.
            (Output_data_got::add_local_tls): Likewise.
            (Output_data_got::add_local_tls_pair): Likewise.
            (Output_data_got::reserve_local): Likewise.
            (Output_data_got::reserve_global): Likewise.
            (Output_data_got::Got_entry): Include addend in global sym
            constructor.  Delete local sym constructor without addend.
            * output.cc (Output_data_got::add_global): Add addend param,
            pass to got handling methods.
            (Output_data_got::add_global_plt): Likewise.
            (Output_data_got::add_global_with_rel): Likewise.
            (Output_data_got::add_global_pair_with_rel): Likewise.
            (Output_data_got::add_local_plt): Likewise.
            (Output_data_got::add_local_tls_pair): Likewise.
            (Output_data_got::reserve_local): Likewise.
            (Output_data_got::reserve_global): Likewise.

    (cherry picked from commit 2cc9ed14fae1b288bbdbd9b102b2cbc9a29bf348)

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