This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[gold] PATCH: Add -fuse-ld= for GCC linker option compatibility
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: binutils at sourceware dot org
- Cc: iant at google dot com
- Date: Thu, 29 Nov 2012 08:48:52 -0800
- Subject: [gold] PATCH: Add -fuse-ld= for GCC linker option compatibility
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
Hi,
This patch adds -fuse-ld= for GCC linker option compatibility, which
I submitted:
http://gcc.gnu.org/ml/gcc-patches/2012-11/msg02389.html
OK to install?
Thanks.
H.J.
--
2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
* options.h (General_options): Add -fuse-ld= for GCC linker
option compatibility.
diff --git a/gold/options.h b/gold/options.h
index 50762a5..674657e 100644
--- a/gold/options.h
+++ b/gold/options.h
@@ -1178,6 +1178,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,