* MAINTAINERS: Update my email address.
[deliverable/binutils-gdb.git] / ld / ldlang.h
CommitLineData
252b5132 1/* ldlang.h - linker command language support
a2b64bed 2 Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
bde18da4 3 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
aa8804e4 4 Free Software Foundation, Inc.
5cc18311 5
f96b4a7b 6 This file is part of the GNU Binutils.
5cc18311 7
f96b4a7b 8 This program is free software; you can redistribute it and/or modify
252b5132 9 it under the terms of the GNU General Public License as published by
f96b4a7b
NC
10 the Free Software Foundation; either version 3 of the License, or
11 (at your option) any later version.
5cc18311 12
f96b4a7b 13 This program is distributed in the hope that it will be useful,
252b5132
RH
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
5cc18311 17
252b5132 18 You should have received a copy of the GNU General Public License
f96b4a7b
NC
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
21 MA 02110-1301, USA. */
252b5132
RH
22
23#ifndef LDLANG_H
24#define LDLANG_H
25
a747ee4d
NC
26#define DEFAULT_MEMORY_REGION "*default*"
27
6bdafbeb
NC
28typedef enum
29{
252b5132
RH
30 lang_input_file_is_l_enum,
31 lang_input_file_is_symbols_only_enum,
32 lang_input_file_is_marker_enum,
33 lang_input_file_is_fake_enum,
34 lang_input_file_is_search_file_enum,
35 lang_input_file_is_file_enum
36} lang_input_file_enum_type;
37
6bdafbeb
NC
38struct _fill_type
39{
2c382fb6
AM
40 size_t size;
41 unsigned char data[1];
42};
89cdebba 43
6bdafbeb
NC
44typedef struct statement_list
45{
4a93e180
NC
46 union lang_statement_union * head;
47 union lang_statement_union ** tail;
252b5132
RH
48} lang_statement_list_type;
49
4a93e180
NC
50typedef struct memory_region_name_struct
51{
52 const char * name;
53 struct memory_region_name_struct * next;
54} lang_memory_region_name;
55
6bdafbeb
NC
56typedef struct memory_region_struct
57{
4a93e180 58 lang_memory_region_name name_list;
252b5132
RH
59 struct memory_region_struct *next;
60 bfd_vma origin;
61 bfd_size_type length;
62 bfd_vma current;
66e28d60 63 union lang_statement_union *last_os;
252b5132
RH
64 flagword flags;
65 flagword not_flags;
b34976b6 66 bfd_boolean had_full_message;
89cdebba
KH
67} lang_memory_region_type;
68
6bdafbeb
NC
69typedef struct lang_statement_header_struct
70{
89cdebba 71 union lang_statement_union *next;
6bdafbeb
NC
72 enum statement_enum
73 {
89cdebba
KH
74 lang_output_section_statement_enum,
75 lang_assignment_statement_enum,
76 lang_input_statement_enum,
77 lang_address_statement_enum,
78 lang_wild_statement_enum,
79 lang_input_section_enum,
80 lang_object_symbols_statement_enum,
81 lang_fill_statement_enum,
82 lang_data_statement_enum,
83 lang_reloc_statement_enum,
84 lang_target_statement_enum,
85 lang_output_statement_enum,
86 lang_padding_statement_enum,
87 lang_group_statement_enum,
53d25da6 88 lang_insert_statement_enum,
89cdebba
KH
89 lang_constructors_statement_enum
90 } type;
252b5132
RH
91} lang_statement_header_type;
92
6bdafbeb
NC
93typedef struct
94{
252b5132
RH
95 lang_statement_header_type header;
96 union etree_union *exp;
97} lang_assignment_statement_type;
98
6bdafbeb
NC
99typedef struct lang_target_statement_struct
100{
252b5132
RH
101 lang_statement_header_type header;
102 const char *target;
103} lang_target_statement_type;
104
6bdafbeb
NC
105typedef struct lang_output_statement_struct
106{
252b5132
RH
107 lang_statement_header_type header;
108 const char *name;
109} lang_output_statement_type;
110
111/* Section types specified in a linker script. */
112
6bdafbeb
NC
113enum section_type
114{
252b5132 115 normal_section,
152d792f 116 overlay_section,
252b5132 117 noload_section,
02a38f92 118 noalloc_section
252b5132
RH
119};
120
6bdafbeb
NC
121/* This structure holds a list of program headers describing
122 segments in which this section should be placed. */
252b5132 123
6bdafbeb
NC
124typedef struct lang_output_section_phdr_list
125{
252b5132
RH
126 struct lang_output_section_phdr_list *next;
127 const char *name;
b34976b6 128 bfd_boolean used;
6bdafbeb 129} lang_output_section_phdr_list;
252b5132 130
6bdafbeb
NC
131typedef struct lang_output_section_statement_struct
132{
252b5132 133 lang_statement_header_type header;
252b5132 134 lang_statement_list_type children;
afd7a018 135 struct lang_output_section_statement_struct *next;
218868ba 136 struct lang_output_section_statement_struct *prev;
252b5132 137 const char *name;
252b5132 138 asection *bfd_section;
6bdafbeb
NC
139 lang_memory_region_type *region;
140 lang_memory_region_type *lma_region;
2c382fb6 141 fill_type *fill;
7fabd029 142 union etree_union *addr_tree;
252b5132
RH
143 union etree_union *load_base;
144
9f88b410
RS
145 /* If non-null, an expression to evaluate after setting the section's
146 size. The expression is evaluated inside REGION (above) with '.'
147 set to the end of the section. Used in the last overlay section
148 to move '.' past all the overlaid sections. */
149 union etree_union *update_dot_tree;
150
6bdafbeb 151 lang_output_section_phdr_list *phdrs;
7fabd029
AM
152
153 unsigned int block_value;
154 int subsection_alignment; /* Alignment of components. */
155 int section_alignment; /* Alignment of start of section. */
156 int constraint;
157 flagword flags;
158 enum section_type sectype;
cde9e0be
AM
159 unsigned int processed_vma : 1;
160 unsigned int processed_lma : 1;
7fabd029 161 unsigned int all_input_readonly : 1;
49c13adb 162 /* If this section should be ignored. */
7fabd029 163 unsigned int ignored : 1;
49c13adb
L
164 /* If there is a symbol relative to this section. */
165 unsigned int section_relative_symbol : 1;
252b5132
RH
166} lang_output_section_statement_type;
167
6bdafbeb
NC
168typedef struct
169{
252b5132
RH
170 lang_statement_header_type header;
171} lang_common_statement_type;
172
6bdafbeb
NC
173typedef struct
174{
252b5132
RH
175 lang_statement_header_type header;
176} lang_object_symbols_statement_type;
177
6bdafbeb
NC
178typedef struct
179{
252b5132 180 lang_statement_header_type header;
2c382fb6 181 fill_type *fill;
252b5132
RH
182 int size;
183 asection *output_section;
184} lang_fill_statement_type;
185
6bdafbeb
NC
186typedef struct
187{
252b5132
RH
188 lang_statement_header_type header;
189 unsigned int type;
89cdebba 190 union etree_union *exp;
252b5132
RH
191 bfd_vma value;
192 asection *output_section;
7fabd029 193 bfd_vma output_offset;
252b5132
RH
194} lang_data_statement_type;
195
196/* Generate a reloc in the output file. */
197
6bdafbeb
NC
198typedef struct
199{
252b5132
RH
200 lang_statement_header_type header;
201
202 /* Reloc to generate. */
203 bfd_reloc_code_real_type reloc;
204
205 /* Reloc howto structure. */
206 reloc_howto_type *howto;
207
6bdafbeb
NC
208 /* Section to generate reloc against.
209 Exactly one of section and name must be NULL. */
252b5132
RH
210 asection *section;
211
6bdafbeb
NC
212 /* Name of symbol to generate reloc against.
213 Exactly one of section and name must be NULL. */
252b5132
RH
214 const char *name;
215
216 /* Expression for addend. */
217 union etree_union *addend_exp;
218
219 /* Resolved addend. */
220 bfd_vma addend_value;
221
222 /* Output section where reloc should be performed. */
223 asection *output_section;
224
7fabd029
AM
225 /* Offset within output section. */
226 bfd_vma output_offset;
252b5132
RH
227} lang_reloc_statement_type;
228
6bdafbeb
NC
229typedef struct lang_input_statement_struct
230{
252b5132
RH
231 lang_statement_header_type header;
232 /* Name of this file. */
233 const char *filename;
6bdafbeb
NC
234 /* Name to use for the symbol giving address of text start.
235 Usually the same as filename, but for a file spec'd with
236 -l this is the -l switch itself rather than the filename. */
252b5132 237 const char *local_sym_name;
5cc18311 238
252b5132 239 bfd *the_bfd;
5cc18311 240
252b5132
RH
241 /* Point to the next file - whatever it is, wanders up and down
242 archives */
89cdebba 243 union lang_statement_union *next;
6bdafbeb
NC
244
245 /* Point to the next file, but skips archive contents. */
89cdebba 246 union lang_statement_union *next_real_file;
5cc18311 247
409d7240
AM
248 const char *target;
249
409d7240 250 unsigned int is_archive : 1;
5cc18311 251
252b5132 252 /* 1 means search a set of directories for this file. */
409d7240 253 unsigned int search_dirs_flag : 1;
5cc18311 254
e3f2db7f
AO
255 /* 1 means this was found in a search directory marked as sysrooted,
256 if search_dirs_flag is false, otherwise, that it should be
257 searched in ld_sysroot before any other location, as long as it
258 starts with a slash. */
409d7240 259 unsigned int sysrooted : 1;
e3f2db7f 260
252b5132
RH
261 /* 1 means this is base file of incremental load.
262 Do not load this file's text or data.
5cc18311 263 Also default text_start to after this file's bss. */
409d7240 264 unsigned int just_syms_flag : 1;
252b5132
RH
265
266 /* Whether to search for this entry as a dynamic archive. */
409d7240 267 unsigned int dynamic : 1;
252b5132 268
e56f61be
L
269 /* Whether DT_NEEDED tags should be added for dynamic libraries in
270 DT_NEEDED tags from this entry. */
409d7240 271 unsigned int add_needed : 1;
e56f61be 272
4a43e768
AM
273 /* Whether this entry should cause a DT_NEEDED tag only when
274 satisfying references from regular files, or always. */
409d7240 275 unsigned int as_needed : 1;
4a43e768 276
252b5132 277 /* Whether to include the entire contents of an archive. */
409d7240 278 unsigned int whole_archive : 1;
252b5132 279
409d7240 280 unsigned int loaded : 1;
5cc18311 281
409d7240 282 unsigned int real : 1;
252b5132
RH
283} lang_input_statement_type;
284
6bdafbeb
NC
285typedef struct
286{
252b5132
RH
287 lang_statement_header_type header;
288 asection *section;
5cc18311 289} lang_input_section_type;
252b5132 290
72223188
JJ
291typedef struct lang_wild_statement_struct lang_wild_statement_type;
292
293typedef void (*callback_t) (lang_wild_statement_type *, struct wildcard_list *,
294 asection *, lang_input_statement_type *, void *);
295
296typedef void (*walk_wild_section_handler_t) (lang_wild_statement_type *,
297 lang_input_statement_type *,
298 callback_t callback,
299 void *data);
300
390fbbf1
AM
301typedef bfd_boolean (*lang_match_sec_type_func) (bfd *, const asection *,
302 bfd *, const asection *);
303
e6f2cbf5
L
304/* Binary search tree structure to efficiently sort sections by
305 name. */
306typedef struct lang_section_bst
307{
308 asection *section;
309 struct lang_section_bst *left;
310 struct lang_section_bst *right;
311} lang_section_bst_type;
312
72223188 313struct lang_wild_statement_struct
6bdafbeb 314{
252b5132 315 lang_statement_header_type header;
252b5132 316 const char *filename;
b34976b6 317 bfd_boolean filenames_sorted;
b6bf44ba 318 struct wildcard_list *section_list;
b34976b6 319 bfd_boolean keep_sections;
252b5132 320 lang_statement_list_type children;
72223188
JJ
321
322 walk_wild_section_handler_t walk_wild_section_handler;
323 struct wildcard_list *handler_data[4];
e6f2cbf5 324 lang_section_bst_type *tree;
72223188 325};
252b5132 326
6bdafbeb
NC
327typedef struct lang_address_statement_struct
328{
252b5132 329 lang_statement_header_type header;
89cdebba
KH
330 const char *section_name;
331 union etree_union *address;
ba916c8a 332 const segment_type *segment;
252b5132
RH
333} lang_address_statement_type;
334
6bdafbeb
NC
335typedef struct
336{
252b5132
RH
337 lang_statement_header_type header;
338 bfd_vma output_offset;
339 size_t size;
340 asection *output_section;
2c382fb6 341 fill_type *fill;
252b5132
RH
342} lang_padding_statement_type;
343
344/* A group statement collects a set of libraries together. The
345 libraries are searched multiple times, until no new undefined
346 symbols are found. The effect is to search a group of libraries as
347 though they were a single library. */
348
6bdafbeb
NC
349typedef struct
350{
252b5132
RH
351 lang_statement_header_type header;
352 lang_statement_list_type children;
353} lang_group_statement_type;
354
53d25da6
AM
355typedef struct
356{
357 lang_statement_header_type header;
358 const char *where;
359 bfd_boolean is_before;
360} lang_insert_statement_type;
361
6bdafbeb
NC
362typedef union lang_statement_union
363{
252b5132 364 lang_statement_header_type header;
252b5132
RH
365 lang_wild_statement_type wild_statement;
366 lang_data_statement_type data_statement;
367 lang_reloc_statement_type reloc_statement;
368 lang_address_statement_type address_statement;
369 lang_output_section_statement_type output_section_statement;
252b5132
RH
370 lang_assignment_statement_type assignment_statement;
371 lang_input_statement_type input_statement;
372 lang_target_statement_type target_statement;
373 lang_output_statement_type output_statement;
374 lang_input_section_type input_section;
375 lang_common_statement_type common_statement;
376 lang_object_symbols_statement_type object_symbols_statement;
377 lang_fill_statement_type fill_statement;
378 lang_padding_statement_type padding_statement;
379 lang_group_statement_type group_statement;
53d25da6 380 lang_insert_statement_type insert_statement;
252b5132
RH
381} lang_statement_union_type;
382
383/* This structure holds information about a program header, from the
384 PHDRS command in the linker script. */
385
6bdafbeb
NC
386struct lang_phdr
387{
252b5132
RH
388 struct lang_phdr *next;
389 const char *name;
390 unsigned long type;
b34976b6
AM
391 bfd_boolean filehdr;
392 bfd_boolean phdrs;
252b5132
RH
393 etree_type *at;
394 etree_type *flags;
395};
396
f5ff60a6
AM
397extern struct lang_phdr *lang_phdr_list;
398
252b5132
RH
399/* This structure is used to hold a list of sections which may not
400 cross reference each other. */
401
6bdafbeb
NC
402typedef struct lang_nocrossref
403{
252b5132
RH
404 struct lang_nocrossref *next;
405 const char *name;
6bdafbeb 406} lang_nocrossref_type;
252b5132
RH
407
408/* The list of nocrossref lists. */
409
6bdafbeb
NC
410struct lang_nocrossrefs
411{
252b5132 412 struct lang_nocrossrefs *next;
6bdafbeb 413 lang_nocrossref_type *list;
252b5132
RH
414};
415
416extern struct lang_nocrossrefs *nocrossref_list;
417
577a0623
AM
418/* This structure is used to hold a list of input section names which
419 will not match an output section in the linker script. */
420
6bdafbeb
NC
421struct unique_sections
422{
577a0623
AM
423 struct unique_sections *next;
424 const char *name;
425};
426
420e579c
HPN
427/* This structure records symbols for which we need to keep track of
428 definedness for use in the DEFINED () test. */
429
6bdafbeb
NC
430struct lang_definedness_hash_entry
431{
420e579c
HPN
432 struct bfd_hash_entry root;
433 int iteration;
434};
435
afd7a018
AM
436/* Used by place_orphan to keep track of orphan sections and statements. */
437
4a93e180
NC
438struct orphan_save
439{
afd7a018
AM
440 const char *name;
441 flagword flags;
442 lang_output_section_statement_type *os;
443 asection **section;
444 lang_statement_union_type **stmt;
445 lang_output_section_statement_type **os_tail;
446};
447
252b5132 448extern lang_output_section_statement_type *abs_output_section;
aea4bd9d 449extern lang_statement_list_type lang_output_section_statement;
b34976b6 450extern bfd_boolean lang_has_input_file;
252b5132
RH
451extern etree_type *base;
452extern lang_statement_list_type *stat_ptr;
b34976b6 453extern bfd_boolean delete_output_file_on_failure;
252b5132 454
e3e942e9 455extern struct bfd_sym_chain entry_symbol;
1e281515 456extern const char *entry_section;
b34976b6 457extern bfd_boolean entry_from_cmdline;
b71e2778 458extern lang_statement_list_type file_chain;
dc27aea4 459extern lang_statement_list_type input_file_chain;
252b5132 460
420e579c
HPN
461extern int lang_statement_iteration;
462
f53154de 463extern void lang_init
1579bae1 464 (void);
750877ba
L
465extern void lang_finish
466 (void);
4a93e180
NC
467extern lang_memory_region_type * lang_memory_region_lookup
468 (const char * const, bfd_boolean);
469extern void lang_memory_region_alias
470 (const char *, const char *);
f53154de 471extern void lang_map
1579bae1 472 (void);
f53154de 473extern void lang_set_flags
1579bae1 474 (lang_memory_region_type *, const char *, int);
f53154de 475extern void lang_add_output
1579bae1 476 (const char *, int from_script);
aea4bd9d 477extern lang_output_section_statement_type *lang_enter_output_section_statement
1579bae1
AM
478 (const char *output_section_statement_name,
479 etree_type *address_exp,
480 enum section_type sectype,
1579bae1
AM
481 etree_type *align,
482 etree_type *subalign,
0841712e 483 etree_type *, int);
f53154de 484extern void lang_final
1579bae1 485 (void);
f53154de 486extern void lang_process
1579bae1 487 (void);
f53154de 488extern void lang_section_start
ba916c8a 489 (const char *, union etree_union *, const segment_type *);
f53154de 490extern void lang_add_entry
1579bae1 491 (const char *, bfd_boolean);
a359509e
ZW
492extern void lang_default_entry
493 (const char *);
f53154de 494extern void lang_add_target
1579bae1 495 (const char *);
252b5132 496extern void lang_add_wild
1579bae1 497 (struct wildcard_spec *, struct wildcard_list *, bfd_boolean);
f53154de 498extern void lang_add_map
1579bae1 499 (const char *);
f53154de 500extern void lang_add_fill
1579bae1
AM
501 (fill_type *);
502extern lang_assignment_statement_type *lang_add_assignment
503 (union etree_union *);
f53154de 504extern void lang_add_attribute
1579bae1 505 (enum statement_enum);
f53154de 506extern void lang_startup
1579bae1 507 (const char *);
f53154de 508extern void lang_float
1579bae1 509 (bfd_boolean);
252b5132 510extern void lang_leave_output_section_statement
6bdafbeb 511 (fill_type *, const char *, lang_output_section_phdr_list *,
1579bae1 512 const char *);
f53154de 513extern void lang_abs_symbol_at_end_of
1579bae1 514 (const char *, const char *);
f53154de 515extern void lang_abs_symbol_at_beginning_of
1579bae1 516 (const char *, const char *);
f53154de 517extern void lang_statement_append
6bdafbeb
NC
518 (lang_statement_list_type *, lang_statement_union_type *,
519 lang_statement_union_type **);
252b5132 520extern void lang_for_each_input_file
1579bae1 521 (void (*dothis) (lang_input_statement_type *));
252b5132 522extern void lang_for_each_file
1579bae1 523 (void (*dothis) (lang_input_statement_type *));
f53154de 524extern void lang_reset_memory_regions
1579bae1 525 (void);
f2241121 526extern void lang_do_assignments
e9ee469a 527 (void);
252b5132 528
f53154de
AM
529#define LANG_FOR_EACH_INPUT_STATEMENT(statement) \
530 lang_input_statement_type *statement; \
531 for (statement = (lang_input_statement_type *) file_chain.head; \
532 statement != (lang_input_statement_type *) NULL; \
533 statement = (lang_input_statement_type *) statement->next) \
5cc18311 534
66c103b7
AM
535#define lang_output_section_find(NAME) \
536 lang_output_section_statement_lookup (NAME, 0, FALSE)
537
f53154de 538extern void lang_process
1579bae1 539 (void);
f53154de 540extern void ldlang_add_file
1579bae1 541 (lang_input_statement_type *);
afd7a018 542extern lang_output_section_statement_type *lang_output_section_find_by_flags
390fbbf1
AM
543 (const asection *, lang_output_section_statement_type **,
544 lang_match_sec_type_func);
afd7a018 545extern lang_output_section_statement_type *lang_insert_orphan
8a99a385 546 (asection *, const char *, int, lang_output_section_statement_type *,
7b986e99 547 struct orphan_save *, etree_type *, lang_statement_list_type *);
252b5132 548extern lang_input_statement_type *lang_add_input_file
1579bae1 549 (const char *, lang_input_file_enum_type, const char *);
f53154de 550extern void lang_add_keepsyms_file
1579bae1 551 (const char *);
66c103b7
AM
552extern lang_output_section_statement_type *lang_output_section_statement_lookup
553 (const char *const, int, bfd_boolean);
f53154de 554extern void ldlang_add_undef
1579bae1 555 (const char *const);
f53154de 556extern void lang_add_output_format
1579bae1 557 (const char *, const char *, const char *, int);
f53154de 558extern void lang_list_init
1579bae1 559 (lang_statement_list_type *);
bde18da4
AM
560extern void push_stat_ptr
561 (lang_statement_list_type *);
562extern void pop_stat_ptr
563 (void);
f53154de 564extern void lang_add_data
1579bae1 565 (int type, union etree_union *);
252b5132 566extern void lang_add_reloc
1579bae1
AM
567 (bfd_reloc_code_real_type, reloc_howto_type *, asection *, const char *,
568 union etree_union *);
252b5132 569extern void lang_for_each_statement
1579bae1
AM
570 (void (*) (lang_statement_union_type *));
571extern void *stat_alloc
572 (size_t);
8423293d
AM
573extern void strip_excluded_output_sections
574 (void);
f53154de 575extern void dprint_statement
1579bae1 576 (lang_statement_union_type *, int);
e9ee469a
AM
577extern void lang_size_sections
578 (bfd_boolean *, bfd_boolean);
579extern void one_lang_size_sections_pass
580 (bfd_boolean *, bfd_boolean);
53d25da6
AM
581extern void lang_add_insert
582 (const char *, int);
f53154de 583extern void lang_enter_group
1579bae1 584 (void);
f53154de 585extern void lang_leave_group
1579bae1 586 (void);
39dcfe18 587extern void lang_add_section
1579bae1 588 (lang_statement_list_type *, asection *,
7b986e99 589 lang_output_section_statement_type *);
252b5132 590extern void lang_new_phdr
1579bae1
AM
591 (const char *, etree_type *, bfd_boolean, bfd_boolean, etree_type *,
592 etree_type *);
f53154de 593extern void lang_add_nocrossref
6bdafbeb 594 (lang_nocrossref_type *);
f53154de 595extern void lang_enter_overlay
7e7d5768 596 (etree_type *, etree_type *);
f53154de 597extern void lang_enter_overlay_section
1579bae1 598 (const char *);
252b5132 599extern void lang_leave_overlay_section
6bdafbeb 600 (fill_type *, lang_output_section_phdr_list *);
252b5132 601extern void lang_leave_overlay
1579bae1 602 (etree_type *, int, fill_type *, const char *,
6bdafbeb 603 lang_output_section_phdr_list *, const char *);
252b5132
RH
604
605extern struct bfd_elf_version_tree *lang_elf_version_info;
606
313e35ee 607extern struct bfd_elf_version_expr *lang_new_vers_pattern
86043bbb 608 (struct bfd_elf_version_expr *, const char *, const char *, bfd_boolean);
252b5132 609extern struct bfd_elf_version_tree *lang_new_vers_node
1579bae1 610 (struct bfd_elf_version_expr *, struct bfd_elf_version_expr *);
252b5132 611extern struct bfd_elf_version_deps *lang_add_vers_depend
1579bae1 612 (struct bfd_elf_version_deps *, const char *);
252b5132 613extern void lang_register_vers_node
1579bae1 614 (const char *, struct bfd_elf_version_tree *, struct bfd_elf_version_deps *);
55255dae
L
615extern void lang_append_dynamic_list (struct bfd_elf_version_expr *);
616extern void lang_append_dynamic_list_cpp_typeinfo (void);
40b36307 617extern void lang_append_dynamic_list_cpp_new (void);
f53154de 618extern void lang_add_unique
1579bae1 619 (const char *);
f53154de 620extern const char *lang_get_output_target
1579bae1 621 (void);
420e579c
HPN
622extern void lang_track_definedness (const char *);
623extern int lang_symbol_definition_iteration (const char *);
624extern void lang_update_definedness
625 (const char *, struct bfd_link_hash_entry *);
252b5132 626
b58f81ae 627extern void add_excluded_libs (const char *);
e9f53129
AM
628extern bfd_boolean load_symbols
629 (lang_input_statement_type *, lang_statement_list_type *);
b58f81ae 630
2889e75b
NC
631extern bfd_boolean
632ldlang_override_segment_assignment
633 (struct bfd_link_info *, bfd *, asection *, asection *, bfd_boolean);
634
252b5132 635#endif
This page took 0.422385 seconds and 4 git commands to generate.