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