* embedspu.sh (relas): Correct sh_info parsing.
[deliverable/binutils-gdb.git] / binutils / bucomm.h
CommitLineData
252b5132 1/* bucomm.h -- binutils common include file.
b34976b6 2 Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
92f01d61 3 2001, 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
252b5132 4
06d86cf7 5 This file is part of GNU Binutils.
252b5132 6
06d86cf7
NC
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
252b5132 11
06d86cf7
NC
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
252b5132 16
06d86cf7
NC
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
b43b5d5f 19 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
252b5132
RH
20\f
21#ifndef _BUCOMM_H
22#define _BUCOMM_H
23
77f762d6
L
24/* Return the filename in a static buffer. */
25const char *bfd_get_archive_filename (bfd *);
26
2da42df6 27void bfd_nonfatal (const char *);
37cc8ec1 28
2da42df6 29void bfd_fatal (const char *) ATTRIBUTE_NORETURN;
252b5132 30
0fd3a477 31void report (const char *, va_list) ATTRIBUTE_PRINTF(1,0);
cba12006 32
2da42df6 33void fatal (const char *, ...) ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN;
252b5132 34
2da42df6 35void non_fatal (const char *, ...) ATTRIBUTE_PRINTF_1;
252b5132 36
2da42df6 37void set_default_bfd_target (void);
252b5132 38
2da42df6 39void list_matching_formats (char **);
252b5132 40
2da42df6 41void list_supported_targets (const char *, FILE *);
252b5132 42
2da42df6 43void list_supported_architectures (const char *, FILE *);
2f83960e 44
2da42df6 45int display_info (void);
252b5132 46
2da42df6 47void print_arelt_descr (FILE *, bfd *, bfd_boolean);
252b5132 48
2da42df6 49char *make_tempname (char *);
f9c026a8 50char *make_tempdir (char *);
2da42df6
AJ
51
52bfd_vma parse_vma (const char *, const char *);
252b5132 53
f24ddbdd
NC
54off_t get_file_size (const char *);
55
252b5132
RH
56extern char *program_name;
57
58/* filemode.c */
2da42df6 59void mode_string (unsigned long, char *);
252b5132
RH
60
61/* version.c */
2da42df6 62extern void print_version (const char *);
252b5132
RH
63
64/* rename.c */
2da42df6 65extern void set_times (const char *, const struct stat *);
252b5132 66
2da42df6 67extern int smart_rename (const char *, const char *, int);
252b5132 68
06d86cf7 69/* libiberty. */
2da42df6 70void *xmalloc (size_t);
252b5132 71
2da42df6 72void *xrealloc (void *, size_t);
252b5132
RH
73
74#endif /* _BUCOMM_H */
This page took 0.393523 seconds and 4 git commands to generate.