* ldmain.c (main): Initialize new field link_info.static_link.
[deliverable/binutils-gdb.git] / ld / ldmisc.h
1 /* ldmisc.h -
2 Copyright 1991, 1992 Free Software Foundation, Inc.
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
8 the Free Software Foundation; either version 2, or (at your option)
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
20 #ifndef LDMISC_H
21 #define LDMISC_H
22
23 /* VARARGS*/
24 extern void einfo ();
25 /* VARARGS*/
26 extern void minfo ();
27 /* VARARGS*/
28 extern void info_msg ();
29 extern void info_assert PARAMS ((char *, unsigned int));
30 extern void multiple_warn PARAMS ((char *message1, asymbol *sym,
31 char *message2, asymbol *sy));
32 extern void yyerror PARAMS ((char *));
33 extern char *concat PARAMS ((CONST char *, CONST char *, CONST char *));
34 extern PTR ldmalloc PARAMS ((size_t));
35 extern PTR ldrealloc PARAMS ((PTR, size_t));
36 extern char *buystring PARAMS ((CONST char *CONST));
37
38 #define ASSERT(x) \
39 do { if (!(x)) info_assert(__FILE__,__LINE__); } while (0)
40
41 #define FAIL() \
42 do { info_assert(__FILE__,__LINE__); } while (0)
43
44 extern void print_space PARAMS ((void));
45 extern void print_nl PARAMS ((void));
46 extern void print_address PARAMS ((bfd_vma value));
47
48 #endif
This page took 0.0301630000000001 seconds and 4 git commands to generate.