2001-07-24 H.J. Lu <hjl@gnu.org>
[binutils.git] / ld / ldmain.h
blobf5d8b0d177dfb87a4b0693294d50763fbfc794a4
1 /* ldmain.h -
2 Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1999
3 Free Software Foundation, Inc.
5 This file is part of GLD, the Gnu Linker.
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.
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.
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. */
22 #ifndef LDMAIN_H
23 #define LDMAIN_H
25 extern char *program_name;
26 extern bfd *output_bfd;
27 extern char *default_target;
28 extern boolean trace_files;
29 extern boolean trace_file_tries;
30 extern boolean version_printed;
31 extern boolean whole_archive;
32 extern boolean demangling;
33 extern int g_switch_value;
34 extern const char *output_filename;
35 extern struct bfd_link_info link_info;
37 extern void add_ysym PARAMS ((const char *));
38 extern void add_wrap PARAMS ((const char *));
39 extern void add_keepsyms_file PARAMS ((const char *filename));
41 #endif