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

--- Comment #5 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The binutils-2_46-branch branch has been updated by Alan Modra
<[email protected]>:

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

commit 2c77fbc70079dd5df66433dce6e287e49e46a4c4
Author: Alan Modra <[email protected]>
Date:   Wed Jun 10 11:40:59 2026 +0930

    PR 34204 dlltool SEGVs with --exclude-symbols

    This fixes a segfault introduced by commit 45a7f5a29de7 which didn't
    take into account that there was a use of leading_underscore in option
    processing.

            PR 34204
            * dlltool.c (struct string_list): Make string a flexible array
            member.
            (add_excludes): Adjust to suit.  Extract code adding underscore
            and informing..
            (underscore_excludes): ..to here.  New function.
            (main): Call underscore_excludes.

    (cherry picked from commit 500390720267e2f009f0354e5051fa2e176b143d)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to