X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=binutils%2Fbucomm.h;h=cb97957b92a209b8cecfc8ff53a9ac2c04abcdbc;hb=6688183925d82d4049931e95bc4e963ab66e770d;hp=2288f43bd304a7fc25ad83b6161af06ce33801ca;hpb=32866df75ece22ec1fd88e99e3c5effe9238e072;p=deliverable%2Fbinutils-gdb.git diff --git a/binutils/bucomm.h b/binutils/bucomm.h index 2288f43bd3..cb97957b92 100644 --- a/binutils/bucomm.h +++ b/binutils/bucomm.h @@ -1,6 +1,5 @@ /* bucomm.h -- binutils common include file. - Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, - 2001, 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc. + Copyright (C) 1991-2018 Free Software Foundation, Inc. This file is part of GNU Binutils. @@ -22,11 +21,16 @@ #ifndef _BUCOMM_H #define _BUCOMM_H +/* In bucomm.c. */ + /* Return the filename in a static buffer. */ -const char *bfd_get_archive_filename (bfd *); +const char *bfd_get_archive_filename (const bfd *); void bfd_nonfatal (const char *); +void bfd_nonfatal_message (const char *, const bfd *, const asection *, + const char *, ...); + void bfd_fatal (const char *) ATTRIBUTE_NORETURN; void report (const char *, va_list) ATTRIBUTE_PRINTF(1,0); @@ -54,20 +58,22 @@ bfd_vma parse_vma (const char *, const char *); off_t get_file_size (const char *); +bfd_boolean is_valid_archive_path (char const *); + extern char *program_name; -/* filemode.c */ +/* In filemode.c. */ void mode_string (unsigned long, char *); -/* version.c */ +/* In version.c. */ extern void print_version (const char *); -/* rename.c */ +/* In rename.c. */ extern void set_times (const char *, const struct stat *); extern int smart_rename (const char *, const char *, int); -/* libiberty. */ +/* In libiberty. */ void *xmalloc (size_t); void *xrealloc (void *, size_t);