diff options
author | Nick Clifton <nickc@redhat.com> | 2013-01-07 16:54:33 +0000 |
---|---|---|
committer | H.J. Lu <hongjiu.lu@intel.com> | 2013-01-07 16:54:33 +0000 |
commit | 6af824205ad97f81b81cdf885e3f718e5472af9e (patch) | |
tree | d17099fbf4e98c921dd5658c212ee89229e8ade3 /gcc/common.opt | |
parent | 692d3fdb1395efe34812eed00aec0024256da7d3 (diff) |
Support -fuse-ld=bfd and -fuse-ld=gold
PR driver/55470
* collect2.c (main): Support -fuse-ld=bfd and -fuse-ld=gold.
* common.opt: Add fuse-ld=bfd and fuse-ld=gold.
* gcc.c (LINK_COMMAND_SPEC): Pass -fuse-ld=* to collect2.
* opts.c (comman_handle_option): Ignore -fuse-ld=bfd and
-fuse-ld=gold.
* doc/invoke.texi: Document -fuse-ld=bfd and -fuse-ld=gold.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194983 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/common.opt')
-rw-r--r-- | gcc/common.opt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/common.opt b/gcc/common.opt index 4c8bd118b28..8085f645b06 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -2171,6 +2171,14 @@ funwind-tables Common Report Var(flag_unwind_tables) Optimization Just generate unwind tables for exception handling +fuse-ld=bfd +Common Negative(fuse-ld=gold) +Use the bfd linker instead of the default linker + +fuse-ld=gold +Common Negative(fuse-ld=bfd) +Use the gold linker instead of the default linker + fuse-linker-plugin Common Undocumented |