[gold] PATCH: Add -fuse-ld= for GCC linker option compatibility

H.J. Lu hongjiu.lu@intel.com
Thu Nov 29 16:49:00 GMT 2012


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,



More information about the Binutils mailing list