]>
Commit | Line | Data |
---|---|---|
89a1f620 | 1 | /* Header file for collect/tlink routines. |
8c4c00c1 | 2 | Copyright (C) 1998, 2003, 2004, 2005, 2007 Free Software Foundation, Inc. |
a8cffe11 | 3 | |
f12b58b3 | 4 | This file is part of GCC. |
a8cffe11 | 5 | |
f12b58b3 | 6 | GCC is free software; you can redistribute it and/or modify it under |
7 | the terms of the GNU General Public License as published by the Free | |
8c4c00c1 | 8 | Software Foundation; either version 3, or (at your option) any later |
f12b58b3 | 9 | version. |
a8cffe11 | 10 | |
f12b58b3 | 11 | GCC is distributed in the hope that it will be useful, but WITHOUT ANY |
12 | WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
13 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
14 | for more details. | |
a8cffe11 | 15 | |
16 | You should have received a copy of the GNU General Public License | |
8c4c00c1 | 17 | along with GCC; see the file COPYING3. If not see |
18 | <http://www.gnu.org/licenses/>. */ | |
a8cffe11 | 19 | |
2a281353 | 20 | #ifndef GCC_COLLECT2_H |
21 | #define GCC_COLLECT2_H | |
1ae13971 | 22 | |
89a1f620 | 23 | extern void do_tlink (char **, char **); |
1ae13971 | 24 | |
d6b5203d | 25 | extern struct pex_obj *collect_execute (const char *, char **, const char *, |
7bfefa9d | 26 | const char *, int flags); |
1ae13971 | 27 | |
89a1f620 | 28 | extern void collect_exit (int) ATTRIBUTE_NORETURN; |
1ae13971 | 29 | |
6e24b140 | 30 | extern int collect_wait (const char *, struct pex_obj *); |
1ae13971 | 31 | |
d6b5203d | 32 | extern void dump_file (const char *, FILE *); |
1ae13971 | 33 | |
89a1f620 | 34 | extern int file_exists (const char *); |
e504db4a | 35 | |
36 | extern const char *ldout; | |
d6b5203d | 37 | extern const char *lderrout; |
e504db4a | 38 | extern const char *c_file_name; |
39 | extern struct obstack temporary_obstack; | |
e504db4a | 40 | extern char *temporary_firstobj; |
41 | extern int vflag, debug; | |
42 | ||
89a1f620 | 43 | extern void error (const char *, ...) ATTRIBUTE_PRINTF_1; |
44 | extern void notice (const char *, ...) ATTRIBUTE_PRINTF_1; | |
45 | extern void fatal (const char *, ...) ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN; | |
46 | extern void fatal_perror (const char *, ...) | |
e504db4a | 47 | ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN; |
1ae13971 | 48 | |
2a281353 | 49 | #endif /* ! GCC_COLLECT2_H */ |