summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2013-01-07 16:58:59 +0000
committerH.J. Lu <hjl.tools@gmail.com>2013-01-07 16:58:59 +0000
commit2b8aa4035b7f8c4a1ee540ca821b8d434a6d1a1c (patch)
tree6b1ee216c87d6fb46c16ffae20554eb937e76550
parentd90288db1ffa19a572b7308468204e75f3837403 (diff)
downloadbinutils-redhat-2b8aa4035b7f8c4a1ee540ca821b8d434a6d1a1c.tar.gz
Add fuse-ld= for GCC linker option compatibility
* lexsup.c (ld_options): Add fuse-ld= for GCC linker option compatibility.
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/lexsup.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index dbc37f9f87..77de10e9df 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
+
+ * lexsup.c (ld_options): Add fuse-ld= for GCC linker option
+ compatibility.
+
2013-01-07 Patrice Dumas <pertusus@free.fr>
* ld.texinfo: Replace @ with @@ when it is part of the text.
diff --git a/ld/lexsup.c b/ld/lexsup.c
index 35041b19b9..4fd929a6ba 100644
--- a/ld/lexsup.c
+++ b/ld/lexsup.c
@@ -175,6 +175,9 @@ static const struct ld_option ld_options[] =
'\0', NULL, N_("Ignored for GCC LTO option compatibility"),
ONE_DASH },
#endif /* ENABLE_PLUGINS */
+ { {"fuse-ld=", required_argument, NULL, OPTION_IGNORE},
+ '\0', NULL, N_("Ignored for GCC linker option compatibility"),
+ ONE_DASH },
{ {"Qy", no_argument, NULL, OPTION_IGNORE},
'\0', NULL, N_("Ignored for SVR4 compatibility"), ONE_DASH },
{ {"emit-relocs", no_argument, NULL, 'q'},