ld/
[deliverable/binutils-gdb.git] / ld / ldmain.h
CommitLineData
252b5132 1/* ldmain.h -
aef6203b 2 Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1999, 2002, 2003, 2004,
f96b4a7b 3 2005, 2007 Free Software Foundation, Inc.
252b5132 4
f96b4a7b 5 This file is part of the GNU Binutils.
252b5132 6
f96b4a7b 7 This program is free software; you can redistribute it and/or modify
252b5132 8 it under the terms of the GNU General Public License as published by
f96b4a7b
NC
9 the Free Software Foundation; either version 3 of the License, or
10 (at your option) any later version.
252b5132 11
f96b4a7b 12 This program is distributed in the hope that it will be useful,
252b5132
RH
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
f96b4a7b
NC
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
20 MA 02110-1301, USA. */
252b5132
RH
21
22#ifndef LDMAIN_H
23#define LDMAIN_H
24
25extern char *program_name;
e2243057 26extern const char *ld_sysroot;
3fe38064
NC
27extern char *ld_canon_sysroot;
28extern int ld_canon_sysroot_len;
53d25da6
AM
29extern FILE *saved_script_handle;
30extern FILE *previous_script_handle;
31extern bfd_boolean force_make_executable;
252b5132
RH
32extern bfd *output_bfd;
33extern char *default_target;
b34976b6
AM
34extern bfd_boolean trace_files;
35extern bfd_boolean trace_file_tries;
36extern bfd_boolean version_printed;
37extern bfd_boolean whole_archive;
4a43e768 38extern bfd_boolean as_needed;
e56f61be 39extern bfd_boolean add_needed;
b34976b6 40extern bfd_boolean demangling;
252b5132
RH
41extern int g_switch_value;
42extern const char *output_filename;
43extern struct bfd_link_info link_info;
8aae64e6 44extern int overflow_cutoff_limit;
252b5132 45
1579bae1
AM
46extern void add_ysym (const char *);
47extern void add_wrap (const char *);
48extern void add_keepsyms_file (const char *);
252b5132
RH
49
50#endif
This page took 0.352106 seconds and 4 git commands to generate.