Commit | Line | Data |
---|---|---|
252b5132 | 1 | /* ldmain.h - |
4a43e768 | 2 | Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1999, 2002, 2003, 2004 |
a2b64bed | 3 | Free Software Foundation, Inc. |
252b5132 RH |
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 the Free | |
19 | Software Foundation, 59 Temple Place - Suite 330, Boston, MA | |
20 | 02111-1307, USA. */ | |
21 | ||
22 | #ifndef LDMAIN_H | |
23 | #define LDMAIN_H | |
24 | ||
25 | extern char *program_name; | |
9c8ebd6a | 26 | extern char *ld_sysroot; |
3fe38064 NC |
27 | extern char *ld_canon_sysroot; |
28 | extern int ld_canon_sysroot_len; | |
252b5132 RH |
29 | extern bfd *output_bfd; |
30 | extern char *default_target; | |
b34976b6 AM |
31 | extern bfd_boolean trace_files; |
32 | extern bfd_boolean trace_file_tries; | |
33 | extern bfd_boolean version_printed; | |
34 | extern bfd_boolean whole_archive; | |
4a43e768 | 35 | extern bfd_boolean as_needed; |
e56f61be | 36 | extern bfd_boolean add_needed; |
b34976b6 | 37 | extern bfd_boolean demangling; |
252b5132 RH |
38 | extern int g_switch_value; |
39 | extern const char *output_filename; | |
40 | extern struct bfd_link_info link_info; | |
8aae64e6 | 41 | extern int overflow_cutoff_limit; |
252b5132 | 42 | |
1579bae1 AM |
43 | extern void add_ysym (const char *); |
44 | extern void add_wrap (const char *); | |
45 | extern void add_keepsyms_file (const char *); | |
252b5132 RH |
46 | |
47 | #endif |