bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/23207] hppa ld SIGSEGVs on invalid object files: bfd/elf32-hppa.


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/23207] hppa ld SIGSEGVs on invalid object files: bfd/elf32-hppa.c:468 : hppa_get_stub_entry()
Date: Tue, 22 May 2018 10:08:27 +0000

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

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

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

commit 215f527155ea776fff3f2f836d5da1e300e8c370
Author: Alan Modra <address@hidden>
Date:   Tue May 22 18:34:18 2018 +0930

    PR23207, hppa ld SIGSEGVs on invalid object files

    The last patch was enough to cure the testcase, but not the original
    object file.  This patch does the same for hppa as is done for ppc64,
    simply test for the section belonging to a group.  I've also
    restricted stubs to load, alloc, code sections.

        PR 23207
        * elf32-hppa.c (hppa_get_stub_entry): Return NULL when link_sec
        is NULL.
        (elf32_hppa_size_stubs): Only create stubs for load, alloc, code
        sections.
        (final_link_relocate): Revert last change.

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