]> Git Repo - binutils.git/blame_incremental - ld/ldmisc.h
* elfcode.h (elf_bfd_final_link): If trying to generate a shared
[binutils.git] / ld / ldmisc.h
... / ...
CommitLineData
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*/
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
38#define ASSERT(x) \
39do { if (!(x)) info_assert(__FILE__,__LINE__); } while (0)
40
41#define FAIL() \
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.021262 seconds and 4 git commands to generate.