diff options
author | Roger Sayle <roger@eyesopen.com> | 2003-05-29 21:33:35 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2003-05-29 21:33:35 +0000 |
commit | d90f988266f06f40be992dd649efbcd20aa26575 (patch) | |
tree | 96002dd0abd5b477d7d771673ceec8d85c96df7b /gcc/gcov.c | |
parent | 1c36b2f9120d39872fdc44142c7397b822f64d73 (diff) | |
download | gcc-d90f988266f06f40be992dd649efbcd20aa26575.tar.gz |
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 <ghazi@caip.rutgers.edu>
From-SVN: r67230
Diffstat (limited to 'gcc/gcov.c')
-rw-r--r-- | gcc/gcov.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/gcov.c b/gcc/gcov.c index 3a7de61d3f4..4c92170ebbf 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. */ |