This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Fix localized help string output for -fuse-ld.


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

commit 7ef67ba53397c52a87375403aa614c52b94ccc73
Author: Cary Coutant <ccoutant@gmail.com>
Date:   Fri Dec 1 13:44:54 2017 -0800

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

Diff:
---
 gold/ChangeLog | 5 +++++
 gold/options.h | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/gold/ChangeLog b/gold/ChangeLog
index bb84efa..3c0b046 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -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
diff --git a/gold/options.h b/gold/options.h
index 2a43e8d..0437510 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]