aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gold/ChangeLog5
-rw-r--r--gold/options.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index bb84efa790d..3c0b046d4b4 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 2a43e8d4e03..0437510ff93 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