]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/ldmain.h
* config/sh/tm-sh.h (BELIEVE_PCC_PROMOTION): Define, so that
[thirdparty/binutils-gdb.git] / ld / ldmain.h
CommitLineData
2fa0b342 1/* ldmain.h -
fcf276c4 2 Copyright 1991, 1992 Free Software Foundation, Inc.
2fa0b342
DHW
3
4 This file is part of GLD, the Gnu Linker.
5
6 GLD is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 1, or (at your option)
9 any later version.
10
11 GLD is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with GLD; see the file COPYING. If not, write to
18 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
19
fcf276c4
ILT
20#ifndef LDMAIN_H
21#define LDMAIN_H
22
23extern char *program_name;
24extern bfd *output_bfd;
25extern char *default_target;
26extern boolean trace_files;
27extern boolean trace_file_tries;
28extern boolean write_map;
29extern int g_switch_value;
30extern unsigned int commons_pending;
31extern const char *output_filename;
32extern char lprefix;
33extern unsigned int total_files_seen;
34extern unsigned int total_symbols_seen;
35
36extern void enter_global_ref PARAMS ((asymbol **, CONST char *));
37extern void ldmain_open_file_read_symbol
38 PARAMS ((struct lang_input_statement_struct *));
39extern void refize PARAMS ((ldsym_type *sp, asymbol **nlist_p));
40extern void add_ysym PARAMS ((char *));
2fa0b342 41
fcf276c4 42#endif