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: Fri, 17 Sep 2021 22:58:11 +0000

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

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

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

commit 973b2b402ebf660e2bbbac60e85469164d76ecfc
Author: Alan Modra <amodra@gmail.com>
Date:   Sat Aug 28 14:23:33 2021 +0930

    [GOLD] Remove addend from Local_got_entry_key

    This patch removes the addend from Local_got_entry_key, which is
    unnecessary now that Got_offset_list has an addend.  Note that it
    might be advantageous to keep the addend in Local_got_entry_key when
    linking objects containing a large number of section_sym+addend@got
    relocations.  I opted to save some memory by removing the field but
    left the class there in case we might need to restore {sym,addend}
    lookup.  That's also why this change is split out from the
    Got_offset_list change.

            PR 28192
            * object.h (Local_got_entry_key): Delete addend_ field.
            Adjust constructor and methods to suit.
            * object.cc (Sized_relobj::do_for_all_local_got_entries):
            Update key.

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