bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/24596] linker segmentation faults


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/24596] linker segmentation faults
Date: Tue, 28 May 2019 01:31:45 +0000

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

--- Comment #2 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=0eb32b6e1dee07ac199b4bba855205e4de099213

commit 0eb32b6e1dee07ac199b4bba855205e4de099213
Author: Alan Modra <address@hidden>
Date:   Mon May 27 15:38:55 2019 +0930

    XCOFF linker segmentation fault

    The XCOFF linker temporarily trims the output bfd section list,
    without adjusting section_count to suit.  This is a little rude, but
    the dwarf line number code can easily cope with this situation.  So
    check for a NULL end of list as well as limiting the saved section
    VMAs to the first section_count list entries.

    Also fixes
    -FAIL: Weak test 3 (main, static) (32-bit)
    -FAIL: Weak test 3 (main, static) (64-bit)

        PR 24596
        * dwarf2.c (save_section_vma, section_vma_same): Check for NULL
        end of section list as well as section_count.
        * xcofflink.c (xcoff_link_add_symbols): Fix temporarily changed
        section list before returning error.

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