1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22: #ifndef LDFILE_H
23: #define LDFILE_H
24:
25: extern const char *ldfile_input_filename;
26: extern bfd_boolean ldfile_assumed_script;
27: extern unsigned long ldfile_output_machine;
28: extern enum bfd_architecture ldfile_output_architecture;
29: extern const char *ldfile_output_machine_name;
30:
31:
32:
33:
34: typedef struct search_dirs {
35:
36: struct search_dirs *next;
37:
38: const char *name;
39:
40: bfd_boolean cmdline;
41:
42: bfd_boolean sysrooted;
43: } search_dirs_type;
44:
45: extern search_dirs_type *search_head;
46:
47: extern void ldfile_add_arch
48: (const char *);
49: extern void ldfile_add_library_path
50: (const char *, bfd_boolean cmdline);
51: extern void ldfile_open_command_file
52: (const char *name);
53: extern void ldfile_open_file
54: (struct lang_input_statement_struct *);
55: extern bfd_boolean ldfile_try_open_bfd
56: (const char *, struct lang_input_statement_struct *);
57: extern void ldfile_set_output_arch
58: (const char *, enum bfd_architecture);
59: extern bfd_boolean ldfile_open_file_search
60: (const char *arch, struct lang_input_statement_struct *,
61: const char *lib, const char *suffix);
62:
63: #endif