* ecoff.c (_bfd_ecoff_new_section_hook): Handle .rconst section.
[deliverable/binutils-gdb.git] / ld / ldmisc.h
CommitLineData
2fa0b342 1/* ldmisc.h -
fcf276c4 2 Copyright 1991, 1992 Free Software Foundation, Inc.
2fa0b342
DHW
3
4 This file is part of GLD, the Gnu Linker.
5
6 GLD is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
fcf276c4 8 the Free Software Foundation; either version 2, or (at your option)
2fa0b342
DHW
9 any later version.
10
11 GLD 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.
15
16 You should have received a copy of the GNU General Public License
17 along with GLD; see the file COPYING. If not, write to
18 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
19
fcf276c4
ILT
20#ifndef LDMISC_H
21#define LDMISC_H
2fa0b342 22
2fa0b342 23/* VARARGS*/
fcf276c4
ILT
24extern void einfo ();
25/* VARARGS*/
26extern void minfo ();
27/* VARARGS*/
28extern void info_msg ();
29extern void info_assert PARAMS ((char *, unsigned int));
30extern void multiple_warn PARAMS ((char *message1, asymbol *sym,
31 char *message2, asymbol *sy));
32extern void yyerror PARAMS ((char *));
33extern char *concat PARAMS ((CONST char *, CONST char *, CONST char *));
34extern PTR ldmalloc PARAMS ((size_t));
35extern PTR ldrealloc PARAMS ((PTR, size_t));
36extern char *buystring PARAMS ((CONST char *CONST));
37
2fa0b342 38#define ASSERT(x) \
fcf276c4 39do { if (!(x)) info_assert(__FILE__,__LINE__); } while (0)
2fa0b342
DHW
40
41#define FAIL() \
fcf276c4
ILT
42do { info_assert(__FILE__,__LINE__); } while (0)
43
44extern void print_space PARAMS ((void));
45extern void print_nl PARAMS ((void));
46extern void print_address PARAMS ((bfd_vma value));
47
48#endif
This page took 0.148273 seconds and 4 git commands to generate.