bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/23881] pdp11 binutils fails if too much debug data


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/23881] pdp11 binutils fails if too much debug data
Date: Wed, 28 Feb 2024 10:55:53 +0000

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

--- Comment #3 from Sourceware Commits <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=4b72a278f46245635ca03ffc8179570c07e3531a

commit 4b72a278f46245635ca03ffc8179570c07e3531a
Author: Alan Modra <amodra@gmail.com>
Date:   Wed Feb 28 18:53:52 2024 +1030

    PR23881, pdp11 binutils fails if too much debug data

    The PR testcase overflows one of the exec header fields, e_syms (the
    size of the symbol table), leading to the string table offset being
    wrong.  Things go downhill from there.  Fixed by checking for
    overflow.  This happens to trigger in the ld testsuite, so xfail that
    test.

            PR 23881
    bfd/
            * libaout.h (swap_exec_header_out): Return a bool.
            * aoutx.h (swap_exec_header_out): Check for overflow in exec
            header.
            * pdp11.c (swap_exec_header_out): Likewise.
            * i386lynx.c (WRITE_HEADERS): Adjust.
    ld/
            * testsuite/ld-scripts/map-address.exp: xfail pdp11.

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