bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/18855] String constants mixed up when linked with gold on Linu


From: cvs-commit at gcc dot gnu.org
Subject: [Bug gold/18855] String constants mixed up when linked with gold on Linux/sparc64
Date: Tue, 06 Oct 2015 21:44:53 +0000

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

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

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

commit 9eacb935acd69f6532135ec1353630db5111467c
Author: Cary Coutant <address@hidden>
Date:   Tue Oct 6 14:43:49 2015 -0700

    Fix bug when applying R_SPARC_GOTDATA_OP* relocations to local symbols.

    When applying a GOTDATA_OP* relocation to a local symbol, the addend
    is being applied after getting the value of the symbol. When the
    relocation refers to a merge section, however, the addend must be
    provided when computing the symbol value, since the contents of
    the section may have been rearranged.

    gold/
        PR gold/18855
        * sparc.cc (Sparc_relocate_functions::gdop_hix22): Remove addend
        parameter.
        (Sparc_relocate_functions::gdop_lox10): Likewise.
        (Target_sparc::Relocate::relocate): Use addend when computing
        symbol value for R_SPARC_GOTDATA_OP*.

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