Ignore:
Timestamp:
Aug 16, 2003, 6:59:22 PM (22 years ago)
Author:
bird
Message:

binutils v2.14 - offical sources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/binutils/ld/ldver.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    11/* ldver.c -- Print linker version.
    2    Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 2000
     2   Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 2000, 2001, 2002
    33   Free Software Foundation, Inc.
    44
     
    2121#include <stdio.h>
    2222#include "bfd.h"
     23#include "bfdver.h"
    2324#include "sysdep.h"
    2425
     
    3132#include "ldmain.h"
    3233
    33 const char *ld_program_version = VERSION;
    34 
    3534void
    3635ldversion (noisy)
    3736     int noisy;
    3837{
    39   fprintf (stdout, _("GNU ld version %s (with BFD %s)\n"),
    40            ld_program_version, BFD_VERSION);
     38  /* Output for noisy == 2 is intended to follow the GNU standards.  */
     39  fprintf (stdout, _("GNU ld version %s\n"), BFD_VERSION_STRING);
    4140
    42   if (noisy)
     41  if (noisy & 2)
     42    {
     43      printf (_("Copyright 2002 Free Software Foundation, Inc.\n"));
     44      printf (_("\
     45This program is free software; you may redistribute it under the terms of\n\
     46the GNU General Public License.  This program has absolutely no warranty.\n"));
     47    }
     48
     49  if (noisy & 1)
    4350    {
    4451      ld_emulation_xfer_type **ptr = ld_emulations;
Note: See TracChangeset for help on using the changeset viewer.