* ldmain.c (main): Initialize new field link_info.static_link.
[deliverable/binutils-gdb.git] / ld / ldfile.h
CommitLineData
2fa0b342 1/* ldfile.h -
0cd82d00 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
0cd82d00
ILT
20extern char *ldfile_input_filename;
21extern unsigned long ldfile_output_machine;
22extern enum bfd_architecture ldfile_output_architecture;
23extern const char *ldfile_output_machine_name;
24
25/* Structure used to hold the list of directories to search for
26 libraries. */
27
28typedef struct search_dirs
29{
30 /* Next directory on list. */
31 struct search_dirs *next;
32 /* Name of directory. */
33 const char *name;
34 /* true if this is from the command line. */
35 boolean cmdline;
36} search_dirs_type;
37
38extern search_dirs_type *search_head;
39
40void ldfile_add_arch PARAMS ((CONST char *));
41void ldfile_add_library_path PARAMS ((const char *, boolean cmdline));
42void ldfile_open_command_file PARAMS ((char *name));
43void ldfile_open_file PARAMS ((struct lang_input_statement_struct *));
44FILE *ldfile_find_command_file PARAMS ((char *name, char *extend));
45
46void ldfile_set_output_arch PARAMS ((CONST char *));
This page took 0.146656 seconds and 4 git commands to generate.