From d90f988266f06f40be992dd649efbcd20aa26575 Mon Sep 17 00:00:00 2001 From: Roger Sayle Date: Thu, 29 May 2003 21:33:35 +0000 Subject: re PR bootstrap/10169 (Bootstrap fails on mainline with Tru64 5.1B) PR bootstrap/10169 * mips-tfile.c (main): Use getopt_long instead of getopt. Add new command line option --version to display version. Treat --verbose like -v to report a single line version. (options): New global variable for getopt_long. * mips-tdump.c (main): Use getopt_long instead of getopt. New command line options -v, --version and -verbose to display the program version number (to match mips-tfile's behavior). (options): New global variable for getopt_long. * gcov.c (options): Zero-terminate getopt_long array. * gcov-dump.c (options): Likewise. * Makefile.in (mips-tdump.o): Add dependency on version.h. Co-Authored-By: Kaveh R. Ghazi From-SVN: r67230 --- gcc/gcov.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/gcov.c') diff --git a/gcc/gcov.c b/gcc/gcov.c index 3a7de61..4c92170 100644 --- a/gcc/gcov.c +++ b/gcc/gcov.c @@ -445,6 +445,7 @@ static const struct option options[] = { "object-directory", required_argument, NULL, 'o' }, { "object-file", required_argument, NULL, 'o' }, { "unconditional-branches", no_argument, NULL, 'u' }, + { 0, 0, 0, 0 } }; /* Process args, return index to first non-arg. */ -- cgit v1.1