[gold commit ob] PR 22042: Fix help string for -fuse-ld

Cary Coutant ccoutant@gmail.com
Fri Dec 1 21:47:00 GMT 2017


I've committed the following patch for PR 22042.

-cary


2017-12-01  Cary Coutant  <ccoutant@gmail.com>

        PR gold/22042
        * options.h (-fuse-ld): Use NULL instead of empty string.

diff --git a/gold/options.h b/gold/options.h
index 2a43e8d4e0..0437510ff9 100644
--- a/gold/options.h
+++ b/gold/options.h
@@ -894,7 +894,7 @@ class General_options

   DEFINE_string(fuse_ld, options::ONE_DASH, '\0', "",
                N_("Ignored for GCC linker option compatibility"),
-               "");
+               NULL);

   // g



More information about the Binutils mailing list