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

--- Comment #4 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Alan Modra <amo...@sourceware.org>:

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

commit 8d97c1a53f3dc9fd8e1ccdb039b8a33d50133150
Author: Alan Modra <amo...@gmail.com>
Date:   Thu Feb 6 21:46:22 2025 +1030

    PR 32603, ld -w misbehaviour

    ld -w currently causes segmentation faults and other misbehaviour
    since it changes einfo with %F in the format string (fatal error) to
    not exit.  This patch fixes that by introducing a new variant of einfo
    called "fatal" that always exits, and replaces all einfo calls using
    %F with a call to fatal without the %F.  I considered modifying einfo
    to inspect the first 2 or 4 chars in the format string, looking for
    %F, but decided that was probably a bad idea given that translators
    might have moved the %F.  It's also a little nicer to inform the
    compiler of a function that doesn't return.

    The patch also fixes some formatting nits, and makes use of %pA
    to print section names in a couple of places in aix.em.

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

Reply via email to