| 1 | /* ldmisc.h - |
| 2 | |
| 3 | Copyright (C) 1991 Free Software Foundation, Inc. |
| 4 | |
| 5 | This file is part of GLD, the Gnu Linker. |
| 6 | |
| 7 | GLD is free software; you can redistribute it and/or modify |
| 8 | it under the terms of the GNU General Public License as published by |
| 9 | the Free Software Foundation; either version 1, or (at your option) |
| 10 | any later version. |
| 11 | |
| 12 | GLD is distributed in the hope that it will be useful, |
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | GNU General Public License for more details. |
| 16 | |
| 17 | You should have received a copy of the GNU General Public License |
| 18 | along with GLD; see the file COPYING. If not, write to |
| 19 | the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ |
| 20 | |
| 21 | |
| 22 | |
| 23 | /* VARARGS*/ |
| 24 | PROTO(void,info,()); |
| 25 | PROTO(void,info_assert,(char *, unsigned int)); |
| 26 | PROTO(void,yyerror,(char *)); |
| 27 | PROTO(char *,concat,(CONST char *, CONST char *, CONST char *)); |
| 28 | PROTO(char *, ldmalloc,(size_t)); |
| 29 | PROTO(char *,buystring,(CONST char *CONST)); |
| 30 | #define ASSERT(x) \ |
| 31 | { if (!(x)) info_assert(__FILE__,__LINE__); } |
| 32 | |
| 33 | #define FAIL() \ |
| 34 | { info_assert(__FILE__,__LINE__); } |