aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2004-11-24 09:33:51 -0800
committerDevang Patel <dpatel@gcc.gnu.org>2004-11-24 09:33:51 -0800
commitb0896d72f0bad01f440692c69003962200806e31 (patch)
treeae2ced1eb6d6da12f31e28db1d98e0aceff73db3
parenteacf72d384a7b6e0484c6bdfb2ab3f5f1d91eef1 (diff)
downloadgcc-b0896d72f0bad01f440692c69003962200806e31.zip
gcc-b0896d72f0bad01f440692c69003962200806e31.tar.gz
gcc-b0896d72f0bad01f440692c69003962200806e31.tar.bz2
* gcc.c (process_command): Supply -v to linker.
From-SVN: r91177
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/gcc.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 27f0b3b..a8abc40 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2004-11-24 Devang Patel <dpatel@apple.com>
+
+ * gcc.c (process_command): Supply -v to linker.
+
2004-11-24 David Edelsohn <edelsohn@gnu.org>
Paolo Bonzini <bonzini@gnu.org>
diff --git a/gcc/gcc.c b/gcc/gcc.c
index eda9e5e..6897bf9 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':