bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/22042] gold: --help output translation header unexpectedly


From: cvs-commit at gcc dot gnu.org
Subject: [Bug gold/22042] gold: --help output translation header unexpectedly
Date: Mon, 15 Jan 2018 18:07:58 +0000

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

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

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

commit 930b5f8bfb8e2d971f459c570d248714183a08d5
Author: Cary Coutant <address@hidden>
Date:   Mon Jan 15 10:05:54 2018 -0800

    Fix -fuse-ld option to accept string argument.

    PR 22042 complained that garbage text was being printed in the help
    for the -fuse-ld option; this was caused by passing an empty string
    to the gettext() function, which sometimes returns garbage when passed
    an empty string. The quick fix was to replace "" with NULL as the helparg,
    but that changed the parsing of the option, as gold uses the helparg to
    determine whether an option takes an argument. This patch adds a
    non-empty helparg string to fix both problems.

    gold/
        PR gold/22694
        * options.h (-fuse-ld): Add correct helparg.

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