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

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

--- Comment #4 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=912697efc15768894c13a9370a2fcaa950f24558

commit 912697efc15768894c13a9370a2fcaa950f24558
Author: Alan Modra <amodra@gmail.com>
Date:   Thu Aug 5 14:32:56 2021 +0930

    [GOLD] Got_offset_list: addend field

    This is the first in a series of patches aimed at supporting GOT
    entries against symbol plus addend generally for PowerPC64 rather than
    just section symbol plus addend as gold has currently.

    This patch adds an addend field to Got_offset_list, so that both local
    and global symbols can have GOT entries with addend.

            PR 28192
            * object.h (Got_offset_list): Add addend_ field, init in both
            constructors.  Adjust all accessors to suit.
            (Sized_relobj::do_local_has_got_offset): Adjust to suit.
            (Sized_relobj::do_local_got_offset): Likewise.
            (Sized_relobj::do_set_local_got_offset): Likewise.
            * symtab.h (Symbol::has_got_offset): Add optional addend param.
            (Symbol::got_offset, Symbol::set_got_offset): Likewise.
            * incremental.cc (Local_got_offset_visitor::visit): Add unused
            uint64_t parameter with FIXME.
            (Global_got_offset_visitor::visit): Add unused uint64_t parameter.

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