source: vendor/binutils/current/ld/ldfile.h

Last change on this file was 609, checked in by bird, 22 years ago

binutils v2.14 - offical sources.

  • Property cvs2svn:cvs-rev set to 1.1.1.2
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 2.2 KB
Line 
1/* ldfile.h -
2 Copyright 1991, 1992, 1993, 1994, 1995, 2000, 2002, 2003
3 Free Software Foundation, Inc.
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 2, 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
19 the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
20
21#ifndef LDFILE_H
22#define LDFILE_H
23
24extern const char *ldfile_input_filename;
25extern bfd_boolean ldfile_assumed_script;
26extern unsigned long ldfile_output_machine;
27extern enum bfd_architecture ldfile_output_architecture;
28extern const char *ldfile_output_machine_name;
29
30/* Structure used to hold the list of directories to search for
31 libraries. */
32
33typedef struct search_dirs {
34 /* Next directory on list. */
35 struct search_dirs *next;
36 /* Name of directory. */
37 const char *name;
38 /* TRUE if this is from the command line. */
39 bfd_boolean cmdline;
40 /* true if this is from within the sys-root. */
41 bfd_boolean sysrooted;
42} search_dirs_type;
43
44extern search_dirs_type *search_head;
45
46extern void ldfile_add_arch
47 PARAMS ((const char *));
48extern void ldfile_add_library_path
49 PARAMS ((const char *, bfd_boolean cmdline));
50extern void ldfile_open_command_file
51 PARAMS ((const char *name));
52extern void ldfile_open_file
53 PARAMS ((struct lang_input_statement_struct *));
54extern bfd_boolean ldfile_try_open_bfd
55 PARAMS ((const char *, struct lang_input_statement_struct *));
56extern FILE *ldfile_find_command_file
57 PARAMS ((const char *name, const char *extend));
58extern void ldfile_set_output_arch
59 PARAMS ((const char *));
60extern bfd_boolean ldfile_open_file_search
61 PARAMS ((const char *arch, struct lang_input_statement_struct *,
62 const char *lib, const char *suffix));
63
64#endif
Note: See TracBrowser for help on using the repository browser.