aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2013-01-07 16:57:57 +0000
committerH.J. Lu <hjl.tools@gmail.com>2013-01-07 16:57:57 +0000
commit4f46f626dc8210d03ac2ab5aaf3f643c5db23daf (patch)
treef1e1464a1e9d6ff86eb45520769b8dd3de072fcc
parent8a80855445b5998a2f471f3332885866c207f3d4 (diff)
downloadgdb-4f46f626dc8210d03ac2ab5aaf3f643c5db23daf.zip
gdb-4f46f626dc8210d03ac2ab5aaf3f643c5db23daf.tar.gz
gdb-4f46f626dc8210d03ac2ab5aaf3f643c5db23daf.tar.bz2
Add -fuse-ld= for GCC linker option compatibility
* options.h (General_options): Add -fuse-ld= for GCC linker option compatibility.
-rw-r--r--gold/ChangeLog11
-rw-r--r--gold/options.h4
2 files changed, 12 insertions, 3 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index ad8e4a7..b7876d4 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,8 @@
+2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
+
+ * options.h (General_options): Add -fuse-ld= for GCC linker
+ option compatibility.
+
2013-01-04 Cary Coutant <ccoutant@google.com>
* configure.ac: Fix typo restoring CXXFLAGS.
@@ -5,9 +10,9 @@
2013-01-04 Cary Coutant <ccoutant@google.com>
- * testsuite/Makefile.am (CXXLINK_S): New macro.
- (debug_msg_so.err, debug_msg_ndebug.err): Use CXXLINK_S.
- * testsuite/Makefile.in: Regenerate.
+ * testsuite/Makefile.am (CXXLINK_S): New macro.
+ (debug_msg_so.err, debug_msg_ndebug.err): Use CXXLINK_S.
+ * testsuite/Makefile.in: Regenerate.
2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
diff --git a/gold/options.h b/gold/options.h
index 38f0c00..1eb2da2 100644
--- a/gold/options.h
+++ b/gold/options.h
@@ -1199,6 +1199,10 @@ class General_options
DEFINE_special(end_lib, options::TWO_DASHES, '\0',
N_("End a library "), NULL);
+ DEFINE_string(fuse_ld, options::ONE_DASH, '\0', "",
+ N_("Ignored for GCC linker option compatibility"),
+ "");
+
// The -z options.
DEFINE_bool(combreloc, options::DASH_Z, '\0', true,