Rizin
unix-like reverse engineering framework and cli tools
bfdlink.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
2 // SPDX-License-Identifier: GPL-2.0-or-later
3 
4 /* bfdlink.h -- header file for BFD link routines
5  Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
6  2003, 2004, 2005 Free Software Foundation, Inc.
7  Written by Steve Chamberlain and Ian Lance Taylor, Cygnus Support.
8 
9  This file is part of BFD, the Binary File Descriptor library.
10 
11  This program is free software; you can redistribute it and/or modify
12  it under the terms of the GNU General Public License as published by
13  the Free Software Foundation; either version 2 of the License, or
14  (at your option) any later version.
15 
16  This program is distributed in the hope that it will be useful,
17  but WITHOUT ANY WARRANTY; without even the implied warranty of
18  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  GNU General Public License for more details.
20 
21  You should have received a copy of the GNU General Public License
22  along with this program; if not, write to the Free Software
23  Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
24 
25 #ifndef BFDLINK_H
26 #define BFDLINK_H
27 
28 #include "mybfd.h"
29 
30 /* Which symbols to strip during a link. */
32  strip_none, /* Don't strip any symbols. */
33  strip_debugger, /* Strip debugging symbols. */
34  strip_some, /* keep_hash is the list of symbols to keep. */
35  strip_all /* Strip all symbols. */
36 };
37 
38 /* Which local symbols to discard during a link. This is irrelevant
39  if strip_all is used. */
41  discard_sec_merge, /* Discard local temporary symbols in SEC_MERGE
42  sections. */
43  discard_none, /* Don't discard any locals. */
44  discard_l, /* Discard local temporary symbols. */
45  discard_all /* Discard all locals. */
46 };
47 
48 /* Describes the type of hash table entry structure being used.
49  Different hash table structure have different fields and so
50  support different linking features. */
54 };
55 
56 /* These are the possible types of an entry in the BFD link hash
57  table. */
58 
60  bfd_link_hash_new, /* Symbol is new. */
61  bfd_link_hash_undefined, /* Symbol seen before, but undefined. */
62  bfd_link_hash_undefweak, /* Symbol is weak and undefined. */
63  bfd_link_hash_defined, /* Symbol is defined. */
64  bfd_link_hash_defweak, /* Symbol is weak and defined. */
65  bfd_link_hash_common, /* Symbol is common. */
66  bfd_link_hash_indirect, /* Symbol is an indirect link. */
67  bfd_link_hash_warning /* Like indirect, but warn if referenced. */
68 };
69 
75 };
76 
77 /* The linking routines use a hash table which uses this structure for
78  its elements. */
79 
81  /* Base hash table entry structure. */
82  struct bfd_hash_entry root;
83 
84  /* Type of this entry. */
86 
87  /* A union of information depending upon the type. */
88  union {
89  /* Nothing is kept for bfd_hash_new. */
90  /* bfd_link_hash_undefined, bfd_link_hash_undefweak. */
91  struct
92  {
93  /* Undefined and common symbols are kept in a linked list through
94  this field. This field is present in all of the union element
95  so that we don't need to remove entries from the list when we
96  change their type. Removing entries would either require the
97  list to be doubly linked, which would waste more memory, or
98  require a traversal. When an undefined or common symbol is
99  created, it should be added to this list, the head of which is in
100  the link hash table itself. As symbols are defined, they need
101  not be removed from the list; anything which reads the list must
102  doublecheck the symbol type.
103 
104  Weak symbols are not kept on this list.
105 
106  Defined and defweak symbols use this field as a reference marker.
107  If the field is not NULL, or this structure is the tail of the
108  undefined symbol list, the symbol has been referenced. If the
109  symbol is undefined and becomes defined, this field will
110  automatically be non-NULL since the symbol will have been on the
111  undefined symbol list. */
113  bfd *abfd; /* BFD symbol was found in. */
114  bfd *weak; /* BFD weak symbol was found in. */
115  } undef;
116  /* bfd_link_hash_defined, bfd_link_hash_defweak. */
117  struct
118  {
119  struct bfd_link_hash_entry *next;
120  asection *section; /* Symbol section. */
121  bfd_vma value; /* Symbol value. */
122  } def;
123  /* bfd_link_hash_indirect, bfd_link_hash_warning. */
124  struct
125  {
126  struct bfd_link_hash_entry *next;
127  struct bfd_link_hash_entry *link; /* Real symbol. */
128  const char *warning; /* Warning (bfd_link_hash_warning only). */
129  } i;
130  /* bfd_link_hash_common. */
131  struct
132  {
133  struct bfd_link_hash_entry *next;
134  /* The linker needs to know three things about common
135  symbols: the size, the alignment, and the section in
136  which the symbol should be placed. We store the size
137  here, and we allocate a small structure to hold the
138  section and the alignment. The alignment is stored as a
139  power of two. We don't store all the information
140  directly because we don't want to increase the size of
141  the union; this structure is a major space user in the
142  linker. */
143  struct bfd_link_hash_common_entry {
144  unsigned int alignment_power; /* Alignment. */
145  asection *section; /* Symbol section. */
146  } * p;
147  bfd_size_type size; /* Common symbol size. */
148  } c;
149  } u;
150 };
151 
152 /* This is the link hash table. It is a derived class of
153  bfd_hash_table. */
154 
156  /* The hash table itself. */
157  struct bfd_hash_table table;
158  /* The back end which created this hash table. This indicates the
159  type of the entries in the hash table, which is sometimes
160  important information when linking object files of different
161  types together. */
163  /* A linked list of undefined and common symbols, linked through the
164  next field in the bfd_link_hash_entry structure. */
166  /* Entries are added to the tail of the undefs list. */
168  /* The type of the link hash table. */
170 };
171 
172 /* Look up an entry in a link hash table. If FOLLOW is TRUE, this
173  follows bfd_link_hash_indirect and bfd_link_hash_warning links to
174  the real symbol. */
176  bfd_boolean copy, bfd_boolean follow);
177 
178 /* Look up an entry in the main linker hash table if the symbol might
179  be wrapped. This should only be used for references to an
180  undefined symbol, not for definitions of a symbol. */
181 
184 
185 /* Traverse a link hash table. */
187  bfd_boolean (*)(struct bfd_link_hash_entry *, void *),
188  void *);
189 
190 /* Add an entry to the undefs list. */
192 
193 /* Remove symbols from the undefs list that don't belong there. */
195 
198  const char *name;
199 };
200 
201 /* How to handle unresolved symbols.
202  There are four possibilities which are enumerated below: */
204  /* This is the initial value when then link_info structure is created.
205  It allows the various stages of the linker to determine whether they
206  allowed to set the value. */
211 };
212 
213 /* This structure holds all the information needed to communicate
214  between BFD and the linker when doing a link. */
215 
217  /* TRUE if BFD should generate a relocatable object file. */
218  unsigned int relocatable : 1;
219 
220  /* TRUE if BFD should generate relocation information in the final
221  executable. */
222  unsigned int emitrelocations : 1;
223 
224  /* TRUE if BFD should generate a "task linked" object file,
225  similar to relocatable but also with globals converted to
226  statics. */
227  unsigned int task_link : 1;
228 
229  /* TRUE if BFD should generate a shared object. */
230  unsigned int shared : 1;
231 
232  /* TRUE if BFD should pre-bind symbols in a shared object. */
233  unsigned int symbolic : 1;
234 
235  /* TRUE if BFD should export all symbols in the dynamic symbol table
236  of an executable, rather than only those used. */
237  unsigned int export_dynamic : 1;
238 
239  /* TRUE if shared objects should be linked directly, not shared. */
240  unsigned int static_link : 1;
241 
242  /* TRUE if the output file should be in a traditional format. This
243  is equivalent to the setting of the BFD_TRADITIONAL_FORMAT flag
244  on the output file, but may be checked when reading the input
245  files. */
246  unsigned int traditional_format : 1;
247 
248  /* TRUE if we want to produced optimized output files. This might
249  need much more time and therefore must be explicitly selected. */
250  unsigned int optimize : 1;
251 
252  /* TRUE if ok to have multiple definition. */
253  unsigned int allow_multiple_definition : 1;
254 
255  /* TRUE if ok to have version with no definition. */
256  unsigned int allow_undefined_version : 1;
257 
258  /* TRUE if a default symbol version should be created and used for
259  exported symbols. */
260  unsigned int create_default_symver : 1;
261 
262  /* TRUE if a default symbol version should be created and used for
263  imported symbols. */
264  unsigned int default_imported_symver : 1;
265 
266  /* TRUE if symbols should be retained in memory, FALSE if they
267  should be freed and reread. */
268  unsigned int keep_memory : 1;
269 
270  /* TRUE if every symbol should be reported back via the notice
271  callback. */
272  unsigned int notice_all : 1;
273 
274  /* TRUE if executable should not contain copy relocs.
275  Setting this true may result in a non-sharable text segment. */
276  unsigned int nocopyreloc : 1;
277 
278  /* TRUE if the new ELF dynamic tags are enabled. */
279  unsigned int new_dtags : 1;
280 
281  /* TRUE if non-PLT relocs should be merged into one reloc section
282  and sorted so that relocs against the same symbol come together. */
283  unsigned int combreloc : 1;
284 
285  /* TRUE if .eh_frame_hdr section and PT_GNU_EH_FRAME ELF segment
286  should be created. */
287  unsigned int eh_frame_hdr : 1;
288 
289  /* TRUE if global symbols in discarded sections should be stripped. */
290  unsigned int strip_discarded : 1;
291 
292  /* TRUE if generating a position independent executable. */
293  unsigned int pie : 1;
294 
295  /* TRUE if generating an executable, position independent or not. */
296  unsigned int executable : 1;
297 
298  /* TRUE if PT_GNU_STACK segment should be created with PF_R|PF_W|PF_X
299  flags. */
300  unsigned int execstack : 1;
301 
302  /* TRUE if PT_GNU_STACK segment should be created with PF_R|PF_W
303  flags. */
304  unsigned int noexecstack : 1;
305 
306  /* TRUE if PT_GNU_RELRO segment should be created. */
307  unsigned int relro : 1;
308 
309  /* TRUE if PT_PAX_FLAGS segment should be created with PF_NOMPROTECT
310  flags. */
311  unsigned int execheap : 1;
312 
313  /* TRUE if PT_PAX_FLAGS segment should be created with PF_MPROTECT
314  flags. */
315  unsigned int noexecheap : 1;
316 
317  /* TRUE if we should warn when adding a DT_TEXTREL to a shared object. */
318  unsigned int warn_shared_textrel : 1;
319 
320  /* TRUE if unreferenced sections should be removed. */
321  unsigned int gc_sections : 1;
322 
323  /* What to do with unresolved symbols in an object file.
324  When producing executables the default is GENERATE_ERROR.
325  When producing shared libraries the default is IGNORE. The
326  assumption with shared libraries is that the reference will be
327  resolved at load/execution time. */
329 
330  /* What to do with unresolved symbols in a shared library.
331  The same defaults apply. */
333 
334  /* Which symbols to strip. */
335  enum bfd_link_strip strip;
336 
337  /* Which local symbols to discard. */
339 
340  /* Criteria for skipping symbols when detemining
341  whether to include an object from an archive. */
343 
344  /* Char that may appear as the first char of a symbol, but should be
345  skipped (like symbol_leading_char) when looking up symbols in
346  wrap_hash. Used by PowerPC Linux for 'dot' symbols. */
347  char wrap_char;
348 
349  /* Function callbacks. */
351 
352  /* Hash table handled by BFD. */
354 
355  /* Hash table of symbols to keep. This is NULL unless strip is
356  strip_some. */
358 
359  /* Hash table of symbols to report back via the notice callback. If
360  this is NULL, and notice_all is FALSE, then no symbols are
361  reported back. */
363 
364  /* Hash table of symbols which are being wrapped (the --wrap linker
365  option). If this is NULL, no symbols are being wrapped. */
367 
368  /* The list of input BFD's involved in the link. These are chained
369  together via the link_next field. */
371 
372  /* If a symbol should be created for each input BFD, this is section
373  where those symbols should be placed. It must be a section in
374  the output BFD. It may be NULL, in which case no such symbols
375  will be created. This is to support CREATE_OBJECT_SYMBOLS in the
376  linker command language. */
378 
379  /* List of global symbol names that are starting points for marking
380  sections against garbage collection. */
382 
383  /* If a base output file is wanted, then this points to it */
384  void *base_file;
385 
386  /* The function to call when the executable or shared object is
387  loaded. */
388  const char *init_function;
389 
390  /* The function to call when the executable or shared object is
391  unloaded. */
392  const char *fini_function;
393 
394  /* Number of relaxation passes. Usually only one relaxation pass
395  is needed. But a backend can have as many relaxation passes as
396  necessary. During bfd_relax_section call, it is set to the
397  current pass, starting from 0. */
399 
400  /* Non-zero if auto-import thunks for DATA items in pei386 DLLs
401  should be generated/linked against. Set to 1 if this feature
402  is explicitly requested by the user, -1 if enabled by default. */
404 
405  /* Non-zero if runtime relocs for DATA items with non-zero addends
406  in pei386 DLLs should be generated. Set to 1 if this feature
407  is explicitly requested by the user, -1 if enabled by default. */
409 
410  /* How many spare .dynamic DT_NULL entries should be added? */
411  unsigned int spare_dynamic_tags;
412 
413  /* May be used to set DT_FLAGS for ELF. */
415 
416  /* May be used to set DT_FLAGS_1 for ELF. */
418 
419  /* Start and end of RELRO region. */
421 };
422 
423 /* This structures holds a set of callback functions. These are
424  called by the BFD linker routines. Except for einfo, the first
425  argument to each callback function is the bfd_link_info structure
426  being used and each function returns a boolean value. If the
427  function returns FALSE, then the BFD function which called it should
428  return with a failure indication. */
429 
431  /* A function which is called when an object is added from an
432  archive. ABFD is the archive element being added. NAME is the
433  name of the symbol which caused the archive element to be pulled
434  in. */
435  bfd_boolean (*add_archive_element)(struct bfd_link_info *, bfd *abfd, const char *name);
436  /* A function which is called when a symbol is found with multiple
437  definitions. NAME is the symbol which is defined multiple times.
438  OBFD is the old BFD, OSEC is the old section, OVAL is the old
439  value, NBFD is the new BFD, NSEC is the new section, and NVAL is
440  the new value. OBFD may be NULL. OSEC and NSEC may be
441  bfd_com_section or bfd_ind_section. */
443  bfd *obfd, asection *osec, bfd_vma oval,
444  bfd *nbfd, asection *nsec, bfd_vma nval);
445  /* A function which is called when a common symbol is defined
446  multiple times. NAME is the symbol appearing multiple times.
447  OBFD is the BFD of the existing symbol; it may be NULL if this is
448  not known. OTYPE is the type of the existing symbol, which may
449  be bfd_link_hash_defined, bfd_link_hash_defweak,
450  bfd_link_hash_common, or bfd_link_hash_indirect. If OTYPE is
451  bfd_link_hash_common, OSIZE is the size of the existing symbol.
452  NBFD is the BFD of the new symbol. NTYPE is the type of the new
453  symbol, one of bfd_link_hash_defined, bfd_link_hash_common, or
454  bfd_link_hash_indirect. If NTYPE is bfd_link_hash_common, NSIZE
455  is the size of the new symbol. */
456  bfd_boolean (*multiple_common)(struct bfd_link_info *, const char *name,
457  bfd *obfd, enum bfd_link_hash_type otype, bfd_vma osize,
458  bfd *nbfd, enum bfd_link_hash_type ntype, bfd_vma nsize);
459  /* A function which is called to add a symbol to a set. ENTRY is
460  the link hash table entry for the set itself (e.g.,
461  __CTOR_LIST__). RELOC is the relocation to use for an entry in
462  the set when generating a relocatable file, and is also used to
463  get the size of the entry when generating an executable file.
464  ABFD, SEC and VALUE identify the value to add to the set. */
467  /* A function which is called when the name of a g++ constructor or
468  destructor is found. This is only called by some object file
469  formats. CONSTRUCTOR is TRUE for a constructor, FALSE for a
470  destructor. This will use BFD_RELOC_CTOR when generating a
471  relocatable file. NAME is the name of the symbol found. ABFD,
472  SECTION and VALUE are the value of the symbol. */
474  bfd *abfd, asection *sec, bfd_vma value);
475  /* A function which is called to issue a linker warning. For
476  example, this is called when there is a reference to a warning
477  symbol. WARNING is the warning to be issued. SYMBOL is the name
478  of the symbol which triggered the warning; it may be NULL if
479  there is none. ABFD, SECTION and ADDRESS identify the location
480  which trigerred the warning; either ABFD or SECTION or both may
481  be NULL if the location is not known. */
482  bfd_boolean (*warning)(struct bfd_link_info *, const char *warning, const char *symbol,
483  bfd *abfd, asection *section, bfd_vma address);
484  /* A function which is called when a relocation is attempted against
485  an undefined symbol. NAME is the symbol which is undefined.
486  ABFD, SECTION and ADDRESS identify the location from which the
487  reference is made. FATAL indicates whether an undefined symbol is
488  a fatal error or not. In some cases SECTION may be NULL. */
489  bfd_boolean (*undefined_symbol)(struct bfd_link_info *, const char *name, bfd *abfd,
490  asection *section, bfd_vma address, bfd_boolean fatal);
491  /* A function which is called when a reloc overflow occurs. ENTRY is
492  the link hash table entry for the symbol the reloc is against.
493  NAME is the name of the local symbol or section the reloc is
494  against, RELOC_NAME is the name of the relocation, and ADDEND is
495  any addend that is used. ABFD, SECTION and ADDRESS identify the
496  location at which the overflow occurs; if this is the result of a
497  bfd_section_reloc_link_order or bfd_symbol_reloc_link_order, then
498  ABFD will be NULL. */
500  const char *name, const char *reloc_name, bfd_vma addend,
501  bfd *abfd, asection *section, bfd_vma address);
502  /* A function which is called when a dangerous reloc is performed.
503  MESSAGE is an appropriate message.
504  ABFD, SECTION and ADDRESS identify the location at which the
505  problem occurred; if this is the result of a
506  bfd_section_reloc_link_order or bfd_symbol_reloc_link_order, then
507  ABFD will be NULL. */
509  bfd *abfd, asection *section, bfd_vma address);
510  /* A function which is called when a reloc is found to be attached
511  to a symbol which is not being written out. NAME is the name of
512  the symbol. ABFD, SECTION and ADDRESS identify the location of
513  the reloc; if this is the result of a
514  bfd_section_reloc_link_order or bfd_symbol_reloc_link_order, then
515  ABFD will be NULL. */
516  bfd_boolean (*unattached_reloc)(struct bfd_link_info *, const char *name,
517  bfd *abfd, asection *section, bfd_vma address);
518  /* A function which is called when a symbol in notice_hash is
519  defined or referenced. NAME is the symbol. ABFD, SECTION and
520  ADDRESS are the value of the symbol. If SECTION is
521  bfd_und_section, this is a reference. */
522  bfd_boolean (*notice)(struct bfd_link_info *, const char *name,
523  bfd *abfd, asection *section, bfd_vma address);
524  /* General link info message. */
525  void (*einfo)(const char *fmt, ...);
526 };
527 
528 /* The linker builds link_order structures which tell the code how to
529  include input data in the output file. */
530 
531 /* These are the types of link_order structures. */
532 
534  bfd_undefined_link_order, /* Undefined. */
535  bfd_indirect_link_order, /* Built from a section. */
536  bfd_data_link_order, /* Set to explicit data. */
537  bfd_section_reloc_link_order, /* Relocate against a section. */
538  bfd_symbol_reloc_link_order /* Relocate against a symbol. */
539 };
540 
541 /* This is the link_order structure itself. These form a chain
542  attached to the output section whose contents they are describing. */
543 
545  /* Next link_order in chain. */
547  /* Type of link_order. */
549  /* Offset within output section. */
551  /* Size within output section. */
553  /* Type specific information. */
554  union {
555  struct
556  {
557  /* Section to include. If this is used, then
558  section->output_section must be the section the
559  link_order is attached to, section->output_offset must
560  equal the link_order offset field, and section->size
561  must equal the link_order size field. Maybe these
562  restrictions should be relaxed someday. */
565  struct
566  {
567  /* Size of contents, or zero when contents size == size
568  within output section.
569  A non-zero value allows filling of the output section
570  with an arbitrary repeated pattern. */
571  unsigned int size;
572  /* Data to put into file. */
574  } data;
575  struct
576  {
577  /* Description of reloc to generate. Used for
578  bfd_section_reloc_link_order and
579  bfd_symbol_reloc_link_order. */
581  } reloc;
582  } u;
583 };
584 
585 /* A linker order of type bfd_section_reloc_link_order or
586  bfd_symbol_reloc_link_order means to create a reloc against a
587  section or symbol, respectively. This is used to implement -Ur to
588  generate relocs for the constructor tables. The
589  bfd_link_order_reloc structure describes the reloc that BFD should
590  create. It is similar to a arelent, but I didn't use arelent
591  because the linker does not know anything about most symbols, and
592  any asymbol structure it creates will be partially meaningless.
593  This information could logically be in the bfd_link_order struct,
594  but I didn't want to waste the space since these types of relocs
595  are relatively rare. */
596 
598  /* Reloc type. */
600 
601  union {
602  /* For type bfd_section_reloc_link_order, this is the section
603  the reloc should be against. This must be a section in the
604  output BFD, not any of the input BFDs. */
606  /* For type bfd_symbol_reloc_link_order, this is the name of the
607  symbol the reloc should be against. */
608  const char *name;
609  } u;
610 
611  /* Addend to use. The object file should contain zero. The BFD
612  backend is responsible for filling in the contents of the object
613  file correctly. For some object file formats (e.g., COFF) the
614  addend must be stored into in the object file, and for some
615  (e.g., SPARC a.out) it is kept in the reloc. */
617 };
618 
619 /* Allocate a new link_order for a section. */
621 
622 /* These structures are used to describe version information for the
623  ELF linker. These structures could be manipulated entirely inside
624  BFD, but it would be a pain. Instead, the regular linker sets up
625  these structures, and then passes them into BFD. */
626 
627 /* Glob pattern for a version. */
628 
630  /* Next glob pattern for this version. */
632  /* Glob pattern. */
633  const char *pattern;
634  /* NULL for a glob pattern, otherwise a straight symbol. */
635  const char *symbol;
636  /* Defined by ".symver". */
637  unsigned int symver : 1;
638  /* Defined by version script. */
639  unsigned int script : 1;
640  /* Pattern type. */
641 #define BFD_ELF_VERSION_C_TYPE 1
642 #define BFD_ELF_VERSION_CXX_TYPE 2
643 #define BFD_ELF_VERSION_JAVA_TYPE 4
644  unsigned int mask : 3;
645 };
646 
648  /* List of all patterns, both wildcards and non-wildcards. */
650  /* Hash table for non-wildcards. */
651  void *htab;
652  /* Remaining patterns. */
654  /* What kind of pattern types are present in list (bitmask). */
655  unsigned int mask;
656 };
657 
658 /* Version dependencies. */
659 
661  /* Next dependency for this version. */
663  /* The version which this version depends upon. */
665 };
666 
667 /* A node in the version tree. */
668 
670  /* Next version. */
672  /* Name of this version. */
673  const char *name;
674  /* Version number. */
675  unsigned int vernum;
676  /* Regular expressions for global symbols in this version. */
678  /* Regular expressions for local symbols in this version. */
680  /* List of versions which this version depends upon. */
682  /* Index of the version name. This is used within BFD. */
683  unsigned int name_indx;
684  /* Whether this version tree was used. This is used within BFD. */
685  int used;
686  /* Matching hook. */
687  struct bfd_elf_version_expr *(*match)(struct bfd_elf_version_expr_head *head,
688  struct bfd_elf_version_expr *prev, const char *sym);
689 };
690 
691 #endif
static RzBuffer * create(RzBin *bin, const ut8 *code, int codelen, const ut8 *data, int datalen, RzBinArchOptions *opt)
Definition: bin_cgc.c:16
static int value
Definition: cmd_api.c:93
unsigned char bfd_byte
Definition: mybfd.h:176
BFD_HOST_U_64_BIT bfd_size_type
Definition: mybfd.h:113
enum bfd_reloc_code_real bfd_reloc_code_real_type
Definition: mybfd.h:4042
BFD_HOST_U_64_BIT bfd_vma
Definition: mybfd.h:111
int bfd_boolean
Definition: mybfd.h:98
const char * name
Definition: op.c:541
struct bfd_elf_version_deps * next
Definition: bfdlink.h:662
struct bfd_elf_version_tree * version_needed
Definition: bfdlink.h:664
struct bfd_elf_version_expr * list
Definition: bfdlink.h:649
struct bfd_elf_version_expr * remaining
Definition: bfdlink.h:653
unsigned int script
Definition: bfdlink.h:639
struct bfd_elf_version_expr * next
Definition: bfdlink.h:631
const char * symbol
Definition: bfdlink.h:635
unsigned int symver
Definition: bfdlink.h:637
const char * pattern
Definition: bfdlink.h:633
unsigned int mask
Definition: bfdlink.h:644
struct bfd_elf_version_expr_head locals
Definition: bfdlink.h:679
unsigned int vernum
Definition: bfdlink.h:675
unsigned int name_indx
Definition: bfdlink.h:683
const char * name
Definition: bfdlink.h:673
struct bfd_elf_version_expr_head globals
Definition: bfdlink.h:677
struct bfd_elf_version_deps * deps
Definition: bfdlink.h:681
struct bfd_elf_version_tree * next
Definition: bfdlink.h:671
Definition: mybfd.h:361
Definition: bfdlink.h:80
struct bfd_hash_entry root
Definition: bfdlink.h:82
struct bfd_link_hash_entry::@70::@73 i
struct bfd_link_hash_entry * link
Definition: bfdlink.h:127
bfd_vma value
Definition: bfdlink.h:121
bfd_size_type size
Definition: bfdlink.h:147
struct bfd_link_hash_entry::@70::@74 c
const char * warning
Definition: bfdlink.h:128
union bfd_link_hash_entry::@70 u
struct bfd_link_hash_entry * next
Definition: bfdlink.h:112
asection * section
Definition: bfdlink.h:120
bfd * abfd
Definition: bfdlink.h:113
bfd * weak
Definition: bfdlink.h:114
struct bfd_link_hash_entry::@70::@72 def
unsigned int alignment_power
Definition: bfdlink.h:144
enum bfd_link_hash_type type
Definition: bfdlink.h:85
struct bfd_link_hash_entry::@70::@71 undef
struct bfd_link_hash_entry::@70::@74::bfd_link_hash_common_entry * p
const char * name
Definition: bfdlink.h:198
struct bfd_sym_chain * next
Definition: bfdlink.h:197
Definition: mybfd.h:4212
Definition: zipcmp.c:77
char * message
Definition: main.c:12