Back to index

cell-binutils  2.17cvs20070401
ldver.c File Reference
#include <stdio.h>
#include "bfd.h"
#include "bfdver.h"
#include "sysdep.h"
#include "ld.h"
#include "ldver.h"
#include "ldexp.h"
#include "ldlang.h"
#include "ldfile.h"
#include "ldemul.h"
#include "ldmain.h"

Go to the source code of this file.


void ldversion (int noisy)

Function Documentation

void ldversion ( int  noisy)

Definition at line 35 of file ldver.c.

  /* Output for noisy == 2 is intended to follow the GNU standards.  */
  fprintf (stdout, _("GNU ld %s\n"), BFD_VERSION_STRING);

  if (noisy & 2)
      printf (_("Copyright 2007 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"));

  if (noisy & 1)
      ld_emulation_xfer_type **ptr = ld_emulations;

      printf (_("  Supported emulations:\n"));
      while (*ptr)
         printf ("   %s\n", (*ptr)->emulation_name);

Here is the call graph for this function:

Here is the caller graph for this function: