aboutsummaryrefslogtreecommitdiff
path: root/ld/lexsup.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-10-02 06:04:23 +0000
committerAlan Modra <amodra@gmail.com>2001-10-02 06:04:23 +0000
commitd32820f2fa29322c86fa03a662b114ecdfd0e28e (patch)
treeb7a763a5f29633f949f691a8cc909cff5fc13e01 /ld/lexsup.c
parent7997656ad8861a7a452f6c901428be0f74d6ae77 (diff)
downloadgdb-d32820f2fa29322c86fa03a662b114ecdfd0e28e.zip
gdb-d32820f2fa29322c86fa03a662b114ecdfd0e28e.tar.gz
gdb-d32820f2fa29322c86fa03a662b114ecdfd0e28e.tar.bz2
* ldver.h (ld_program_version): Remove declaration.
* lexsup.c (parse_args): Move printing of copyright message.. * ldver.c (ldversion): .. to here. Use BFD_VERSION_STRING in place of BFD_VERSION. (ld_program_version): Remove. * Makefile.am (Makefile): Depend on bfd/configure.in Run "make dep-am" * Makefile.in: Regenerate.
Diffstat (limited to 'ld/lexsup.c')
-rw-r--r--ld/lexsup.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/ld/lexsup.c b/ld/lexsup.c
index 70e9017..46f397c 100644
--- a/ld/lexsup.c
+++ b/ld/lexsup.c
@@ -1003,22 +1003,7 @@ parse_args (argc, argv)
version_printed = true;
break;
case OPTION_VERSION:
- /* This output is intended to follow the GNU standards document. */
- printf ("GNU ld %s\n", ld_program_version);
- printf (_("Copyright 2001 Free Software Foundation, Inc.\n"));
- printf (_("\
-This program is free software; you may redistribute it under the terms of\n\
-the GNU General Public License. This program has absolutely no warranty.\n"));
- {
- ld_emulation_xfer_type **ptr = ld_emulations;
-
- printf (_(" Supported emulations:\n"));
- while (*ptr)
- {
- printf (" %s\n", (*ptr)->emulation_name);
- ptr++;
- }
- }
+ ldversion (2);
xexit (0);
break;
case OPTION_VERSION_SCRIPT: