summaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authordpatel <dpatel@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-24 17:33:51 +0000
committerdpatel <dpatel@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-24 17:33:51 +0000
commitbd897384a0835ada7ae79ec0bd9dcd803e519adc (patch)
treeae2ced1eb6d6da12f31e28db1d98e0aceff73db3 /gcc/gcc.c
parent21a443f3f4707c48339c3bea09775eafb6b9003a (diff)
downloadgcc-bd897384a0835ada7ae79ec0bd9dcd803e519adc.tar.gz
* gcc.c (process_command): Supply -v to linker.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91177 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index eda9e5ecb26..6897bf9a336 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -3676,6 +3676,8 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n"
if (p[1] != 0)
break;
verbose_flag++;
+ if (strcmp (linker_name_spec, "collect2") == 0)
+ add_linker_option ("-v", 2);
break;
case 'S':