This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Supply -v to linker also


This small patch supplies -v command line option to linker program. This allows user to see real ld arguments used by collect2.

2004-11-16 Devang Patel <dpatel@apple.com>

* gcc.c (process_command): Supply -v to linker.

Full bootstrapped and dejagnu test run is in progress on powerpc-darwin.
OK if it succeeds ?
Thanks,
-
Devang


Index: gcc.c =================================================================== RCS file: /cvs/gcc/gcc/gcc/gcc.c,v retrieving revision 1.437 diff -Idpatel.pbxuser -c -3 -p -r1.437 gcc.c *** gcc.c 9 Nov 2004 10:12:16 -0000 1.437 --- gcc.c 17 Nov 2004 00:23:05 -0000 *************** warranty; not even for MERCHANTABILITY o *** 3676,3681 **** --- 3676,3682 ---- if (p[1] != 0) break; verbose_flag++; + add_linker_option ("-v", 2); break;

case 'S':


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]