Fix localized help string output for -fuse-ld.
authorCary Coutant <ccoutant@gmail.com>
Fri, 1 Dec 2017 21:44:54 +0000 (13:44 -0800)
committerCary Coutant <ccoutant@gmail.com>
Fri, 1 Dec 2017 21:45:27 +0000 (13:45 -0800)
gold/
PR gold/22042
* options.h (-fuse-ld): Use NULL instead of empty string.

gold/ChangeLog
gold/options.h

index bb84efa790d281b2c827fb81064277cb50d7c404..3c0b046d4b42b2870f4fc60ae485eab02cb5b359 100644 (file)
@@ -1,3 +1,8 @@
+2017-12-01  Cary Coutant  <ccoutant@gmail.com>
+
+       PR gold/22042
+       * options.h (-fuse-ld): Use NULL instead of empty string.
+
 2017-12-01  Benjamin Peterson  <bp@benjamin.pe>
 
        PR gold/22406
index 2a43e8d4e03a4ec4a47b59ceabcf823bb0d2c18e..0437510ff93f46ce7912e8d2a9ad35aaac3c0c35 100644 (file)
@@ -894,7 +894,7 @@ class General_options
 
   DEFINE_string(fuse_ld, options::ONE_DASH, '\0', "",
                N_("Ignored for GCC linker option compatibility"),
-               "");
+               NULL);
 
   // g