aboutsummaryrefslogtreecommitdiff
path: root/ld
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
commitadd2432034a221c32049d104accf4c0c11934106 (patch)
tree2d18291b87cc64eb2a11c3fdc3a0f68173ca50ed /ld
parent4f46f626dc8210d03ac2ab5aaf3f643c5db23daf (diff)
downloadfsf-binutils-gdb-add2432034a221c32049d104accf4c0c11934106.zip
fsf-binutils-gdb-add2432034a221c32049d104accf4c0c11934106.tar.gz
fsf-binutils-gdb-add2432034a221c32049d104accf4c0c11934106.tar.bz2
Add fuse-ld= for GCC linker option compatibility
* lexsup.c (ld_options): Add fuse-ld= for GCC linker option compatibility.
Diffstat (limited to 'ld')
-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 dbc37f9..77de10e 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 35041b1..4fd929a 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'},