]>
Commit | Line | Data |
---|---|---|
159b3be1 | 1 | /* Header file for collect/tlink routines. |
9dcd6f09 | 2 | Copyright (C) 1998, 2003, 2004, 2005, 2007 Free Software Foundation, Inc. |
4283012f | 3 | |
1322177d | 4 | This file is part of GCC. |
4283012f | 5 | |
1322177d LB |
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 | |
9dcd6f09 | 8 | Software Foundation; either version 3, or (at your option) any later |
1322177d | 9 | version. |
4283012f | 10 | |
1322177d LB |
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. | |
4283012f JL |
15 | |
16 | You should have received a copy of the GNU General Public License | |
9dcd6f09 NC |
17 | along with GCC; see the file COPYING3. If not see |
18 | <http://www.gnu.org/licenses/>. */ | |
4283012f | 19 | |
88657302 RH |
20 | #ifndef GCC_COLLECT2_H |
21 | #define GCC_COLLECT2_H | |
2edfd4ee | 22 | |
159b3be1 | 23 | extern void do_tlink (char **, char **); |
2edfd4ee | 24 | |
68ec3111 | 25 | extern struct pex_obj *collect_execute (const char *, char **, const char *, |
d7f09764 | 26 | const char *, int flags); |
2edfd4ee | 27 | |
159b3be1 | 28 | extern void collect_exit (int) ATTRIBUTE_NORETURN; |
2edfd4ee | 29 | |
1fff69c9 | 30 | extern int collect_wait (const char *, struct pex_obj *); |
2edfd4ee | 31 | |
68ec3111 | 32 | extern void dump_file (const char *, FILE *); |
2edfd4ee | 33 | |
159b3be1 | 34 | extern int file_exists (const char *); |
d4058195 KG |
35 | |
36 | extern const char *ldout; | |
68ec3111 | 37 | extern const char *lderrout; |
d4058195 KG |
38 | extern const char *c_file_name; |
39 | extern struct obstack temporary_obstack; | |
d4058195 KG |
40 | extern char *temporary_firstobj; |
41 | extern int vflag, debug; | |
42 | ||
159b3be1 | 43 | extern void error (const char *, ...) ATTRIBUTE_PRINTF_1; |
0f667308 | 44 | extern void notice_translated (const char *, ...) ATTRIBUTE_PRINTF_1; |
159b3be1 AJ |
45 | extern void notice (const char *, ...) ATTRIBUTE_PRINTF_1; |
46 | extern void fatal (const char *, ...) ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN; | |
47 | extern void fatal_perror (const char *, ...) | |
d4058195 | 48 | ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN; |
2edfd4ee | 49 | |
88657302 | 50 | #endif /* ! GCC_COLLECT2_H */ |