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

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

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

commit 930b5f8bfb8e2d971f459c570d248714183a08d5
Author: Cary Coutant <ccout...@gmail.com>
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.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to