Blame ld/ldmisc.h

Packit ba3681
/* ldmisc.h -
Packit ba3681
   Copyright (C) 1991-2018 Free Software Foundation, Inc.
Packit ba3681
Packit ba3681
   This file is part of the GNU Binutils.
Packit ba3681
Packit ba3681
   This program is free software; you can redistribute it and/or modify
Packit ba3681
   it under the terms of the GNU General Public License as published by
Packit ba3681
   the Free Software Foundation; either version 3 of the License, or
Packit ba3681
   (at your option) any later version.
Packit ba3681
Packit ba3681
   This program is distributed in the hope that it will be useful,
Packit ba3681
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit ba3681
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit ba3681
   GNU General Public License for more details.
Packit ba3681
Packit ba3681
   You should have received a copy of the GNU General Public License
Packit ba3681
   along with this program; if not, write to the Free Software
Packit ba3681
   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
Packit ba3681
   MA 02110-1301, USA.  */
Packit ba3681
Packit ba3681
#ifndef LDMISC_H
Packit ba3681
#define LDMISC_H
Packit ba3681
Packit ba3681
extern void vfinfo (FILE *fp, const char *fmt, va_list arg, bfd_boolean is_warning);
Packit ba3681
extern void einfo (const char *, ...);
Packit ba3681
extern void minfo (const char *, ...);
Packit ba3681
extern void info_msg (const char *, ...);
Packit ba3681
extern void lfinfo (FILE *, const char *, ...);
Packit ba3681
extern void info_assert (const char *, unsigned int);
Packit ba3681
extern void yyerror (const char *);
Packit ba3681
extern void *xmalloc (size_t);
Packit ba3681
extern void *xrealloc (void *, size_t);
Packit ba3681
extern void xexit (int);
Packit ba3681
Packit ba3681
#define ASSERT(x) \
Packit ba3681
do { if (!(x)) info_assert(__FILE__,__LINE__); } while (0)
Packit ba3681
Packit ba3681
#define FAIL() \
Packit ba3681
do { info_assert(__FILE__,__LINE__); } while (0)
Packit ba3681
Packit ba3681
extern void print_space (void);
Packit ba3681
extern void print_nl (void);
Packit ba3681
Packit ba3681
#endif