From 4f46f626dc8210d03ac2ab5aaf3f643c5db23daf Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 7 Jan 2013 16:57:57 +0000 Subject: [PATCH] Add -fuse-ld= for GCC linker option compatibility * options.h (General_options): Add -fuse-ld= for GCC linker option compatibility. --- gold/ChangeLog | 11 ++++++++--- gold/options.h | 4 ++++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/gold/ChangeLog b/gold/ChangeLog index ad8e4a754b..b7876d4d02 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2013-01-07 H.J. Lu + + * options.h (General_options): Add -fuse-ld= for GCC linker + option compatibility. + 2013-01-04 Cary Coutant * configure.ac: Fix typo restoring CXXFLAGS. @@ -5,9 +10,9 @@ 2013-01-04 Cary Coutant - * 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 diff --git a/gold/options.h b/gold/options.h index 38f0c00ad2..1eb2da207d 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,