bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/27140] ppc32 segmentation fault in make_stub


From: cvs-commit at gcc dot gnu.org
Subject: [Bug gold/27140] ppc32 segmentation fault in make_stub
Date: Sun, 03 Jan 2021 02:21:48 +0000

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

--- 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=e3b53295d59d2e78292eaae4500243dd9e007ae4

commit e3b53295d59d2e78292eaae4500243dd9e007ae4
Author: Alan Modra <amodra@gmail.com>
Date:   Sat Jan 2 21:45:02 2021 +1030

    PR27140, ppc32 segmentation fault in make_stub

    This fixes a thinko in commit fa40fbe4849.  st_other global entry bits
    are relevant only for 64-bit ELFv2.  PowerPC gold leaves local sym
    vector of st_other bits as NULL for 32-bit, hence the segfault.

            PR 27140
            * powerpc.cc (Target_powerpc::Branch_info::make_stub): Only access
            object->st_other() when 64-bit.
            (Stub_table::add_long_branch_entry): Ignore "other" when 32-bit.

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