OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [binutils/] [version.c] - Blame information for rev 231

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 15 khays
/* version.c -- binutils version information
2
   Copyright 1991, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
3 166 khays
   2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
4 15 khays
   Free Software Foundation, Inc.
5
 
6
   This file is part of GNU Binutils.
7
 
8
   This program is free software; you can redistribute it and/or modify
9
   it under the terms of the GNU General Public License as published by
10
   the Free Software Foundation; either version 3, or (at your option)
11
   any later version.
12
 
13
   This program is distributed in the hope that it will be useful,
14
   but WITHOUT ANY WARRANTY; without even the implied warranty of
15
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
   GNU General Public License for more details.
17
 
18
   You should have received a copy of the GNU General Public License
19
   along with this program; if not, write to the Free Software
20
   Foundation, 51 Franklin Street - Fifth Floor, Boston,
21
   MA 02110-1301, USA.  */
22
 
23
#include "sysdep.h"
24
#include "bfd.h"
25
#include "bucomm.h"
26
 
27
/* Print the version number and copyright information, and exit.
28
   This implements the --version option for the various programs.  */
29
 
30
void
31
print_version (const char *name)
32
{
33
  /* This output is intended to follow the GNU standards document.  */
34
  /* xgettext:c-format */
35
  printf ("GNU %s %s\n", name, BFD_VERSION_STRING);
36 166 khays
  printf (_("Copyright 2012 Free Software Foundation, Inc.\n"));
37 15 khays
  printf (_("\
38
This program is free software; you may redistribute it under the terms of\n\
39
the GNU General Public License version 3 or (at your option) any later version.\n\
40
This program has absolutely no warranty.\n"));
41
  exit (0);
42
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.