Rizin
unix-like reverse engineering framework and cli tools
mybfd.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2 // SPDX-License-Identifier: GPL-2.0-or-later
3 
4 /* DO NOT EDIT! -*- buffer-read-only: t -*- This file is automatically
5  generated from "bfd-in.h", "init.c", "opncls.c", "libbfd.c",
6  "bfdio.c", "bfdwin.c", "section.c", "archures.c", "reloc.c",
7  "syms.c", "bfd.c", "archive.c", "corefile.c", "targets.c", "format.c",
8  "linker.c" and "simple.c".
9  Run "make headers" in your build bfd/ to regenerate. */
10 
11 /* Main header file for the bfd library -- portable access to object files.
12 
13  Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
14  1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
15  Free Software Foundation, Inc.
16 
17  Contributed by Cygnus Support.
18 
19  This file is part of BFD, the Binary File Descriptor library.
20 
21  This program is free software; you can redistribute it and/or modify
22  it under the terms of the GNU General Public License as published by
23  the Free Software Foundation; either version 2 of the License, or
24  (at your option) any later version.
25 
26  This program is distributed in the hope that it will be useful,
27  but WITHOUT ANY WARRANTY; without even the implied warranty of
28  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29  GNU General Public License for more details.
30 
31  You should have received a copy of the GNU General Public License
32  along with this program; if not, write to the Free Software
33  Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
34 
35 #ifndef __BFD_H_SEEN__
36 #define __BFD_H_SEEN__
37 
38 #ifdef __cplusplus
39 extern "C" {
40 #endif
41 
42 #include "ansidecl.h"
43 #include "symcat.h"
44 #if defined(__STDC__) || defined(ALMOST_STDC) || defined(HAVE_STRINGIZE)
45 #ifndef SABER
46 /* This hack is to avoid a problem with some strict ANSI C preprocessors.
47  The problem is, "32_" is not a valid preprocessing token, and we don't
48  want extra underscores (e.g., "nlm_32_"). The XCONCAT2 macro will
49  cause the inner CONCAT2 macros to be evaluated first, producing
50  still-valid pp-tokens. Then the final concatenation can be done. */
51 #undef CONCAT4
52 #define CONCAT4(a, b, c, d) XCONCAT2(CONCAT2(a, b), CONCAT2(c, d))
53 #endif
54 #endif
55 
56 /* The word size used by BFD on the host. This may be 64 with a 32
57  bit target if the host is 64 bit, or if other 64 bit targets have
58  been selected with --enable-targets, or if --enable-64-bit-bfd. */
59 #define BFD_ARCH_SIZE 64
60 
61 /* The word size of the default bfd target. */
62 #define BFD_DEFAULT_TARGET_SIZE 32
63 
64 #define BFD_HOST_64BIT_LONG 0
65 #define BFD_HOST_LONG_LONG 1
66 #if 1
67 #define BFD_HOST_64_BIT long long
68 #define BFD_HOST_U_64_BIT unsigned long long
71 #endif
72 
73 #if BFD_ARCH_SIZE >= 64
74 #define BFD64
75 #endif
76 
77 #ifndef INLINE
78 #if __GNUC__ >= 2
79 #define INLINE __inline__
80 #else
81 #define INLINE
82 #endif
83 #endif
84 
85 /* Forward declaration. */
86 typedef struct bfd bfd;
87 
88 /* Boolean type used in bfd. Too many systems define their own
89  versions of "boolean" for us to safely typedef a "boolean" of
90  our own. Using an enum for "bfd_boolean" has its own set of
91  problems, with strange looking casts required to avoid warnings
92  on some older compilers. Thus we just use an int.
93 
94  General rule: Functions which are bfd_boolean return TRUE on
95  success and FALSE on failure (unless they're a predicate). */
96 
97 #ifndef bfd_boolean
98 typedef int bfd_boolean;
99 #endif
100 #undef FALSE
101 #undef TRUE
102 #define FALSE 0
103 #define TRUE 1
104 
105 #ifdef BFD64
106 
107 #ifndef BFD_HOST_64_BIT
108 #error No 64 bit integer type available
109 #endif /* ! defined (BFD_HOST_64_BIT) */
110 
115 
116 #ifndef fprintf_vma
117 #if BFD_HOST_64BIT_LONG
118 #define sprintf_vma(s, x) sprintf(s, "%016lx", x)
119 #define fprintf_vma(f, x) fprintf(f, "%016lx", x)
120 #else
121 #define _bfd_int64_low(x) ((unsigned long)(((x)&0xffffffff)))
122 #define _bfd_int64_high(x) ((unsigned long)(((x) >> 32) & 0xffffffff))
123 #define fprintf_vma(s, x) \
124  fprintf((s), "%08lx%08lx", _bfd_int64_high(x), _bfd_int64_low(x))
125 #define sprintf_vma(s, x) \
126  sprintf((s), "%08lx%08lx", _bfd_int64_high(x), _bfd_int64_low(x))
127 #endif
128 #endif
129 
130 #else /* not BFD64 */
131 
132 /* Represent a target address. Also used as a generic unsigned type
133  which is guaranteed to be big enough to hold any arithmetic types
134  we need to deal with. */
135 typedef unsigned long bfd_vma;
136 
137 /* A generic signed type which is guaranteed to be big enough to hold any
138  arithmetic types we need to deal with. Can be assumed to be compatible
139  with bfd_vma in the same way that signed and unsigned ints are compatible
140  (as parameters, in assignment, etc). */
141 typedef long bfd_signed_vma;
142 
143 typedef unsigned long symvalue;
144 typedef unsigned long bfd_size_type;
145 
146 /* Print a bfd_vma x on stream s. */
147 #define fprintf_vma(s, x) fprintf(s, "%08lx", x)
148 #define sprintf_vma(s, x) sprintf(s, "%08lx", x)
149 
150 #endif /* not BFD64 */
151 
152 #define HALF_BFD_SIZE_TYPE \
153  (((bfd_size_type)1) << (8 * sizeof(bfd_size_type) / 2))
154 
155 #ifndef BFD_HOST_64_BIT
156 /* Fall back on a 32 bit type. The idea is to make these types always
157  available for function return types, but in the case that
158  BFD_HOST_64_BIT is undefined such a function should abort or
159  otherwise signal an error. */
161 typedef bfd_vma bfd_uint64_t;
162 #endif
163 
164 /* An offset into a file. BFD always uses the largest possible offset
165  based on the build time availability of fseek, fseeko, or fseeko64. */
167 typedef unsigned BFD_HOST_64_BIT ufile_ptr;
168 
169 extern void bfd_sprintf_vma(bfd *, char *, bfd_vma);
170 extern void bfd_fprintf_vma(bfd *, void *, bfd_vma);
171 
172 #define printf_vma(x) fprintf_vma(stdout, x)
173 #define bfd_printf_vma(abfd, x) bfd_fprintf_vma(abfd, stdout, x)
174 
175 typedef unsigned int flagword; /* 32 bits of flags */
176 typedef unsigned char bfd_byte;
177 
178 /* File formats. */
179 
180 typedef enum bfd_format {
181  bfd_unknown = 0, /* File format is unknown. */
182  bfd_object, /* Linker/assembler/compiler output. */
183  bfd_archive, /* Object archive file. */
184  bfd_core, /* Core dump. */
185  bfd_type_end /* Marks the end; don't use it! */
187 
188 /* Values that may appear in the flags field of a BFD. These also
189  appear in the object_flags field of the bfd_target structure, where
190  they indicate the set of flags used by that backend (not all flags
191  are meaningful for all object file formats) (FIXME: at the moment,
192  the object_flags values have mostly just been copied from backend
193  to another, and are not necessarily correct). */
194 
195 /* No flags. */
196 #define BFD_NO_FLAGS 0x00
197 
198 /* BFD contains relocation entries. */
199 #define HAS_RELOC 0x01
200 
201 /* BFD is directly executable. */
202 #define EXEC_P 0x02
203 
204 /* BFD has line number information (basically used for F_LNNO in a
205  COFF header). */
206 #define HAS_LINENO 0x04
207 
208 /* BFD has debugging information. */
209 #define HAS_DEBUG 0x08
210 
211 /* BFD has symbols. */
212 #define HAS_SYMS 0x10
213 
214 /* BFD has local symbols (basically used for F_LSYMS in a COFF
215  header). */
216 #define HAS_LOCALS 0x20
217 
218 /* BFD is a dynamic object. */
219 #define DYNAMIC 0x40
220 
221 /* Text section is write protected (if D_PAGED is not set, this is
222  like an a.out NMAGIC file) (the linker sets this by default, but
223  clears it for -r or -N). */
224 #define WP_TEXT 0x80
225 
226 /* BFD is dynamically paged (this is like an a.out ZMAGIC file) (the
227  linker sets this by default, but clears it for -r or -n or -N). */
228 #define D_PAGED 0x100
229 
230 /* BFD is relaxable (this means that bfd_relax_section may be able to
231  do something) (sometimes bfd_relax_section can do something even if
232  this is not set). */
233 #define BFD_IS_RELAXABLE 0x200
234 
235 /* This may be set before writing out a BFD to request using a
236  traditional format. For example, this is used to request that when
237  writing out an a.out object the symbols not be hashed to eliminate
238  duplicates. */
239 #define BFD_TRADITIONAL_FORMAT 0x400
240 
241 /* This flag indicates that the BFD contents are actually cached in
242  memory. If this is set, iostream points to a bfd_in_memory struct. */
243 #define BFD_IN_MEMORY 0x800
244 
245 /* The sections in this BFD specify a memory page. */
246 #define HAS_LOAD_PAGE 0x1000
247 
248 /* This BFD has been created by the linker and doesn't correspond
249  to any input file. */
250 #define BFD_LINKER_CREATED 0x2000
251 
252 /* Symbols and relocation. */
253 
254 /* A count of carsyms (canonical archive symbols). */
255 typedef unsigned long symindex;
256 
257 /* How to perform a relocation. */
258 typedef const struct reloc_howto_struct reloc_howto_type;
259 
260 #define BFD_NO_MORE_SYMBOLS ((symindex)~0)
261 
262 /* General purpose part of a symbol X;
263  target specific parts are in libcoff.h, libaout.h, etc. */
264 
265 #define bfd_get_section(x) ((x)->section)
266 #define bfd_get_output_section(x) ((x)->section->output_section)
267 #define bfd_set_section(x, y) ((x)->section) = (y)
268 #define bfd_asymbol_base(x) ((x)->section->vma)
269 #define bfd_asymbol_value(x) (bfd_asymbol_base(x) + (x)->value)
270 #define bfd_asymbol_name(x) ((x)->name)
271 /*Perhaps future: #define bfd_asymbol_bfd(x) ((x)->section->owner)*/
272 #define bfd_asymbol_bfd(x) ((x)->the_bfd)
273 #define bfd_asymbol_flavour(x) (bfd_asymbol_bfd(x)->xvec->flavour)
274 
275 /* A canonical archive symbol. */
276 /* This is a type pun with struct ranlib on purpose! */
277 typedef struct carsym {
278  char *name;
279  file_ptr file_offset; /* Look here to find the file. */
280 } carsym; /* To make these you call a carsymogen. */
281 
282 /* Used in generating armaps (archive tables of contents).
283  Perhaps just a forward definition would do? */
284 struct orl /* Output ranlib. */
285 {
286  char **name; /* Symbol name. */
287  union {
290  } u; /* bfd* or file position. */
291  int namidx; /* Index into string table. */
292 };
293 
294 /* Linenumber stuff. */
295 typedef struct lineno_cache_entry {
296  unsigned int line_number; /* Linenumber from start of function. */
297  union {
298  struct bfd_symbol *sym; /* Function name. */
299  bfd_vma offset; /* Offset into section. */
300  } u;
302 
303 /* Object and core file sections. */
304 
305 #define align_power(addr, align) \
306  (((addr) + ((bfd_vma)1 << (align)) - 1) & ((bfd_vma)-1 << (align)))
307 
308 typedef struct bfd_section *sec_ptr;
309 
310 #define bfd_get_section_name(bfd, ptr) ((ptr)->name + 0)
311 #define bfd_get_section_vma(bfd, ptr) ((ptr)->vma + 0)
312 #define bfd_get_section_lma(bfd, ptr) ((ptr)->lma + 0)
313 #define bfd_get_section_alignment(bfd, ptr) ((ptr)->alignment_power + 0)
314 #define bfd_section_name(bfd, ptr) ((ptr)->name)
315 #define bfd_section_size(bfd, ptr) ((ptr)->size)
316 #define bfd_get_section_size(ptr) ((ptr)->size)
317 #define bfd_section_vma(bfd, ptr) ((ptr)->vma)
318 #define bfd_section_lma(bfd, ptr) ((ptr)->lma)
319 #define bfd_section_alignment(bfd, ptr) ((ptr)->alignment_power)
320 #define bfd_get_section_flags(bfd, ptr) ((ptr)->flags + 0)
321 #define bfd_get_section_userdata(bfd, ptr) ((ptr)->userdata)
322 
323 #define bfd_is_com_section(ptr) (((ptr)->flags & SEC_IS_COMMON) != 0)
324 
325 #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE)
326 #define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)), TRUE)
327 #define bfd_set_section_userdata(bfd, ptr, val) (((ptr)->userdata = (val)), TRUE)
328 /* Find the address one past the end of SEC. */
329 #define bfd_get_section_limit(bfd, sec) \
330  (((sec)->rawsize ? (sec)->rawsize : (sec)->size) / bfd_octets_per_byte(bfd))
331 
332 typedef struct stat stat_type;
333 
334 typedef enum bfd_print_symbol {
339 
340 /* Information about a symbol that nm needs. */
341 
342 typedef struct _symbol_info {
344  char type;
345  const char *name; /* Symbol name. */
346  unsigned char stab_type; /* Stab type. */
347  char stab_other; /* Stab other. */
348  short stab_desc; /* Stab desc. */
349  const char *stab_name; /* String for stab type. */
351 
352 /* Get the name of a stabs type code. */
353 
354 extern const char *bfd_get_stab_name(int);
355 
356 /* Hash table routines. There is no way to free up a hash table. */
357 
358 /* An element in the hash table. Most uses will actually use a larger
359  structure, and an instance of this will be the first field. */
360 
362  /* Next entry for this hash code. */
364  /* String being hashed. */
365  const char *string;
366  /* Hash code. This is the full hash code, not the index into the
367  table. */
368  unsigned long hash;
369 };
370 
371 /* A hash table. */
372 
374  /* The hash array. */
376  /* The number of slots in the hash table. */
377  unsigned int size;
378  /* The size of elements. */
379  unsigned int entsize;
380  /* A function used to create new elements in the hash table. The
381  first entry is itself a pointer to an element. When this
382  function is first invoked, this pointer will be NULL. However,
383  having the pointer permits a hierarchy of method functions to be
384  built each of which calls the function in the superclass. Thus
385  each function should be written to allocate a new block of memory
386  only if the argument is NULL. */
387  struct bfd_hash_entry *(*newfunc)(struct bfd_hash_entry *, struct bfd_hash_table *, const char *);
388  /* An objalloc for this hash table. This is a struct objalloc *,
389  but we use void * to avoid requiring the inclusion of objalloc.h. */
390  void *memory;
391 };
392 
393 /* Initialize a hash table. */
395  struct bfd_hash_entry *(*)(struct bfd_hash_entry *,
396  struct bfd_hash_table *,
397  const char *),
398  unsigned int);
399 
400 /* Initialize a hash table specifying a size. */
402  struct bfd_hash_entry *(*)(struct bfd_hash_entry *,
403  struct bfd_hash_table *,
404  const char *),
405  unsigned int, unsigned int);
406 
407 /* Free up a hash table. */
408 extern void bfd_hash_table_free(struct bfd_hash_table *);
409 
410 /* Look up a string in a hash table. If CREATE is TRUE, a new entry
411  will be created for this string if one does not already exist. The
412  COPY argument must be TRUE if this routine should copy the string
413  into newly allocated memory when adding an entry. */
414 extern struct bfd_hash_entry *bfd_hash_lookup(struct bfd_hash_table *, const char *, bfd_boolean create,
415  bfd_boolean copy);
416 
417 /* Replace an entry in a hash table. */
418 extern void bfd_hash_replace(struct bfd_hash_table *, struct bfd_hash_entry *old,
419  struct bfd_hash_entry *nw);
420 
421 /* Base method for creating a hash table entry. */
422 extern struct bfd_hash_entry *bfd_hash_newfunc(struct bfd_hash_entry *, struct bfd_hash_table *, const char *);
423 
424 /* Grab some space for a hash table entry. */
425 extern void *bfd_hash_allocate(struct bfd_hash_table *, unsigned int);
426 
427 /* Traverse a hash table in a random order, calling a function on each
428  element. If the function returns FALSE, the traversal stops. The
429  INFO argument is passed to the function. */
430 extern void bfd_hash_traverse(struct bfd_hash_table *,
431  bfd_boolean (*)(struct bfd_hash_entry *, void *),
432  void *info);
433 
434 /* Allows the default size of a hash table to be configured. New hash
435  tables allocated using bfd_hash_table_init will be created with
436  this size. */
438 
439 /* This structure is used to keep track of stabs in sections
440  information while linking. */
441 
442 struct stab_info {
443  /* A hash table used to hold stabs strings. */
444  struct bfd_strtab_hash *strings;
445  /* The header file hash table. */
446  struct bfd_hash_table includes;
447  /* The first .stabstr section. */
449 };
450 
451 #define COFF_SWAP_TABLE (void *)&bfd_coff_std_swap_table
452 
453 /* User program access to BFD facilities. */
454 
455 /* Direct I/O routines, for programs which know more about the object
456  file than BFD does. Use higher level routines if possible. */
457 
459 extern bfd_size_type bfd_bwrite(const void *, bfd_size_type, bfd *);
460 extern int bfd_seek(bfd *, file_ptr, int);
462 extern int bfd_flush(bfd *);
463 extern int bfd_stat(bfd *, struct stat *);
464 
465 /* Deprecated old routines. */
466 #if 1
467 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \
468  (warn_deprecated("bfd_read", NULL, NULL, __FUNCTION__), \
469  bfd_bread((BUF), (ELTSIZE) * (NITEMS), (ABFD)))
470 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \
471  (warn_deprecated("bfd_write", NULL, NULL, __FUNCTION__), \
472  bfd_bwrite((BUF), (ELTSIZE) * (NITEMS), (ABFD)))
473 #else
474 #if __GNUC__
475 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \
476  (warn_deprecated("bfd_read", __FILE__, __LINE__, __FUNCTION__), \
477  bfd_bread((BUF), (ELTSIZE) * (NITEMS), (ABFD)))
478 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \
479  (warn_deprecated("bfd_write", __FILE__, __LINE__, __FUNCTION__), \
480  bfd_bwrite((BUF), (ELTSIZE) * (NITEMS), (ABFD)))
481 #else
482 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \
483  (warn_deprecated("bfd_read", (const char *)0, 0, (const char *)0), \
484  bfd_bread((BUF), (ELTSIZE) * (NITEMS), (ABFD)))
485 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \
486  (warn_deprecated("bfd_write", (const char *)0, 0, (const char *)0), \
487  bfd_bwrite((BUF), (ELTSIZE) * (NITEMS), (ABFD)))
488 #endif
489 #endif
490 extern void warn_deprecated(const char *, const char *, int, const char *);
491 
492 /* Cast from const char * to char * so that caller can assign to
493  a char * without a warning. */
494 #define bfd_get_filename(abfd) ((char *)(abfd)->filename)
495 #define bfd_get_cacheable(abfd) ((abfd)->cacheable)
496 #define bfd_get_format(abfd) ((abfd)->format)
497 #define bfd_get_target(abfd) ((abfd)->xvec->name)
498 #define bfd_get_flavour(abfd) ((abfd)->xvec->flavour)
499 #define bfd_family_coff(abfd) \
500  (bfd_get_flavour(abfd) == bfd_target_coff_flavour || \
501  bfd_get_flavour(abfd) == bfd_target_xcoff_flavour)
502 #define bfd_big_endian(abfd) ((abfd)->xvec->byteorder == BFD_ENDIAN_BIG)
503 #define bfd_little_endian(abfd) ((abfd)->xvec->byteorder == BFD_ENDIAN_LITTLE)
504 #define bfd_header_big_endian(abfd) \
505  ((abfd)->xvec->header_byteorder == BFD_ENDIAN_BIG)
506 #define bfd_header_little_endian(abfd) \
507  ((abfd)->xvec->header_byteorder == BFD_ENDIAN_LITTLE)
508 #define bfd_get_file_flags(abfd) ((abfd)->flags)
509 #define bfd_applicable_file_flags(abfd) ((abfd)->xvec->object_flags)
510 #define bfd_applicable_section_flags(abfd) ((abfd)->xvec->section_flags)
511 #define bfd_my_archive(abfd) ((abfd)->my_archive)
512 #define bfd_has_map(abfd) ((abfd)->has_armap)
513 
514 #define bfd_valid_reloc_types(abfd) ((abfd)->xvec->valid_reloc_types)
515 #define bfd_usrdata(abfd) ((abfd)->usrdata)
516 
517 #define bfd_get_start_address(abfd) ((abfd)->start_address)
518 #define bfd_get_symcount(abfd) ((abfd)->symcount)
519 #define bfd_get_outsymbols(abfd) ((abfd)->outsymbols)
520 #define bfd_count_sections(abfd) ((abfd)->section_count)
521 
522 #define bfd_get_dynamic_symcount(abfd) ((abfd)->dynsymcount)
523 
524 #define bfd_get_symbol_leading_char(abfd) ((abfd)->xvec->symbol_leading_char)
525 
526 #define bfd_set_cacheable(abfd, bool) (((abfd)->cacheable = bool), TRUE)
527 
529 /* NB: This declaration should match the autogenerated one in libbfd.h. */
530 
532 
534  bfd_boolean, bfd_boolean, unsigned int, struct bfd_section **);
535 
536 /* Byte swapping routines. */
537 
538 bfd_uint64_t bfd_getb64(const void *);
539 bfd_uint64_t bfd_getl64(const void *);
544 #if 0
545 bfd_vma bfd_getb16 (const void *);
546 bfd_vma bfd_getl16 (const void *);
547 bfd_vma bfd_getb32 (const void *);
548 bfd_vma bfd_getl32 (const void *);
549 #endif
552 void bfd_putb64(bfd_uint64_t, void *);
553 void bfd_putl64(bfd_uint64_t, void *);
554 void bfd_putb32(bfd_vma, void *);
555 void bfd_putl32(bfd_vma, void *);
556 void bfd_putb16(bfd_vma, void *);
557 void bfd_putl16(bfd_vma, void *);
558 
559 /* Byte swapping routines which take size and endiannes as arguments. */
560 
561 // bfd_uint64_t bfd_get_bits (const void *, int, bfd_boolean);
562 static inline bfd_uint64_t
563 bfd_get_bits(const void *p, int bits, bfd_boolean big_p) {
564  const bfd_byte *addr = (const bfd_byte *)p;
565  bfd_uint64_t data;
566  int i;
567  int bytes;
568 
569  if (bits % 8 != 0)
570  return 0;
571 
572  data = 0;
573  bytes = bits / 8;
574  for (i = 0; i < bytes; i++) {
575  int addr_index = big_p ? i : bytes - i - 1;
576 
577  data = (data << 8) | addr[addr_index];
578  }
579 
580  return data;
581 }
583 
586 
587 /* Externally visible ECOFF routines. */
588 
589 #if defined(__STDC__) || defined(ALMOST_STDC)
590 struct ecoff_debug_info;
591 struct ecoff_debug_swap;
592 struct ecoff_extr;
593 struct bfd_symbol;
594 struct bfd_link_info;
595 struct bfd_link_hash_entry;
596 struct bfd_elf_version_tree;
597 #endif
600 extern bfd_boolean bfd_ecoff_set_regmasks(bfd *abfd, unsigned long gprmask, unsigned long fprmask,
601  unsigned long *cprmask);
602 extern void *bfd_ecoff_debug_init(bfd *output_bfd, struct ecoff_debug_info *output_debug,
603  const struct ecoff_debug_swap *output_swap, struct bfd_link_info *);
604 extern void bfd_ecoff_debug_free(void *handle, bfd *output_bfd, struct ecoff_debug_info *output_debug,
605  const struct ecoff_debug_swap *output_swap, struct bfd_link_info *);
606 extern bfd_boolean bfd_ecoff_debug_accumulate(void *handle, bfd *output_bfd, struct ecoff_debug_info *output_debug,
607  const struct ecoff_debug_swap *output_swap, bfd *input_bfd,
608  struct ecoff_debug_info *input_debug,
609  const struct ecoff_debug_swap *input_swap, struct bfd_link_info *);
610 extern bfd_boolean bfd_ecoff_debug_accumulate_other(void *handle, bfd *output_bfd, struct ecoff_debug_info *output_debug,
611  const struct ecoff_debug_swap *output_swap, bfd *input_bfd,
612  struct bfd_link_info *);
613 extern bfd_boolean bfd_ecoff_debug_externals(bfd *abfd, struct ecoff_debug_info *debug,
614  const struct ecoff_debug_swap *swap, bfd_boolean relocatable,
615  bfd_boolean (*get_extr)(struct bfd_symbol *, struct ecoff_extr *),
616  void (*set_index)(struct bfd_symbol *, bfd_size_type));
617 extern bfd_boolean bfd_ecoff_debug_one_external(bfd *abfd, struct ecoff_debug_info *debug,
618  const struct ecoff_debug_swap *swap, const char *name,
619  struct ecoff_extr *esym);
620 extern bfd_size_type bfd_ecoff_debug_size(bfd *abfd, struct ecoff_debug_info *debug,
621  const struct ecoff_debug_swap *swap);
622 extern bfd_boolean bfd_ecoff_write_debug(bfd *abfd, struct ecoff_debug_info *debug,
623  const struct ecoff_debug_swap *swap, file_ptr where);
624 extern bfd_boolean bfd_ecoff_write_accumulated_debug(void *handle, bfd *abfd, struct ecoff_debug_info *debug,
625  const struct ecoff_debug_swap *swap,
626  struct bfd_link_info *info, file_ptr where);
627 
628 /* Externally visible ELF routines. */
629 
632  bfd *by;
633  const char *name;
634 };
635 
641  DYN_NO_NEEDED = 8
642 };
643 
645  bfd_boolean);
648 extern bfd_boolean bfd_elf_size_dynamic_sections(bfd *, const char *, const char *, const char *, const char *const *,
649  struct bfd_link_info *, struct bfd_section **,
650  struct bfd_elf_version_tree *);
652 extern void bfd_elf_set_dt_needed_name(bfd *, const char *);
653 extern const char *bfd_elf_get_dt_soname(bfd *);
654 extern void bfd_elf_set_dyn_lib_class(bfd *, int);
658 extern unsigned int _bfd_elf_default_action_discarded(struct bfd_section *);
659 
660 /* Return an upper bound on the number of bytes required to store a
661  copy of ABFD's program header table entries. Return -1 if an error
662  occurs; bfd_get_error will return an appropriate code. */
664 
665 /* Copy ABFD's program header table entries to *PHDRS. The entries
666  will be stored as an array of Elf_Internal_Phdr structures, as
667  defined in include/elf/internal.h. To find out how large the
668  buffer needs to be, call bfd_get_elf_phdr_upper_bound.
669 
670  Return the number of program header table entries read, or -1 if an
671  error occurs; bfd_get_error will return an appropriate code. */
672 extern int bfd_get_elf_phdrs(bfd *abfd, void *phdrs);
673 
674 /* Create a new BFD as if by bfd_openr. Rather than opening a file,
675  reconstruct an ELF file by reading the segments out of remote memory
676  based on the ELF file header at EHDR_VMA and the ELF program headers it
677  points to. If not null, *LOADBASEP is filled in with the difference
678  between the VMAs from which the segments were read, and the VMAs the
679  file headers (and hence BFD's idea of each section's VMA) put them at.
680 
681  The function TARGET_READ_MEMORY is called to copy LEN bytes from the
682  remote memory at target address VMA into the local buffer at MYADDR; it
683  should return zero on success or an `errno' code on failure. TEMPL must
684  be a BFD for an ELF target with the word size and byte order found in
685  the remote memory. */
686 extern bfd *bfd_elf_bfd_from_remote_memory(bfd *templ, bfd_vma ehdr_vma, bfd_vma *loadbasep,
687  int (*target_read_memory)(bfd_vma vma, bfd_byte *myaddr, int len));
688 
689 /* Return the arch_size field of an elf bfd, or -1 if not elf. */
690 extern int bfd_get_arch_size(bfd *);
691 
692 /* Return TRUE if address "naturally" sign extends, or -1 if not elf. */
694 
695 extern struct bfd_section *_bfd_elf_tls_setup(bfd *, struct bfd_link_info *);
696 
698 
699 extern unsigned bfd_m68k_mach_to_features(int);
700 
701 extern int bfd_m68k_features_to_mach(unsigned);
702 
704  char **);
705 
707  char **);
708 
709 /* SunOS shared library support routines for the linker. */
710 
714  struct bfd_section **, struct bfd_section **);
715 
716 /* Linux shared library support routines for the linker. */
717 
721 
722 /* mmap hacks */
723 
724 struct _bfd_window_internal;
725 typedef struct _bfd_window_internal bfd_window_internal;
726 
727 typedef struct _bfd_window {
728  /* What the user asked for. */
729  void *data;
731  /* The actual window used by BFD. Small user-requested read-only
732  regions sharing a page may share a single window into the object
733  file. Read-write versions shouldn't until I've fixed things to
734  keep track of which portions have been claimed by the
735  application; don't want to give the same region back when the
736  application wants two writable copies! */
737  struct _bfd_window_internal *i;
739 
743 
744 /* XCOFF support routines for the linker. */
745 
748  const char *, const char *, const char *, unsigned int);
750 extern bfd_boolean bfd_xcoff_link_count_reloc(bfd *, struct bfd_link_info *, const char *);
752 extern bfd_boolean bfd_xcoff_size_dynamic_sections(bfd *, struct bfd_link_info *, const char *, const char *,
753  unsigned long, unsigned long, unsigned long, bfd_boolean,
754  int, bfd_boolean, bfd_boolean, struct bfd_section **, bfd_boolean);
755 extern bfd_boolean bfd_xcoff_link_generate_rtinit(bfd *, const char *, const char *, bfd_boolean);
756 
757 /* XCOFF support routines for ar. */
759 
760 /* Externally visible COFF routines. */
761 
762 #if defined(__STDC__) || defined(ALMOST_STDC)
763 struct internal_syment;
764 union internal_auxent;
765 #endif
766 
767 extern bfd_boolean bfd_coff_get_syment(bfd *, struct bfd_symbol *, struct internal_syment *);
768 
769 extern bfd_boolean bfd_coff_get_auxent(bfd *, struct bfd_symbol *, int, union internal_auxent *);
770 
771 extern bfd_boolean bfd_coff_set_symbol_class(bfd *, struct bfd_symbol *, unsigned int);
772 
774 
775 /* ARM Interworking support. Called from linker. */
777 
779 
781 
782 /* PE ARM Interworking support. Called from linker. */
784 
786 
788 
789 /* ELF ARM Interworking support. Called from linker. */
791 
793 
794 void bfd_elf32_arm_set_target_relocs(struct bfd_link_info *, int, char *, int, int);
795 
797 
799 
800 /* ELF ARM mapping symbol support */
802 
803 /* ARM Note section processing. */
805 
806 extern bfd_boolean bfd_arm_update_notes(bfd *, const char *);
807 
808 extern unsigned int bfd_arm_get_mach_from_notes(bfd *, const char *);
809 
810 /* TI COFF load page support. */
812 
814 
815 /* H8/300 functions. */
817 
818 /* IA64 Itanium code generation. Called from linker. */
819 extern void bfd_elf32_ia64_after_parse(int);
820 
821 extern void bfd_elf64_ia64_after_parse(int);
822 
823 /* This structure is used for a comdat section, as in PE. A comdat
824  section is associated with a particular symbol. When the linker
825  sees a comdat section, it keeps only one of the sections with a
826  given name and associated with a given symbol. */
827 
829  /* The name of the symbol associated with a comdat section. */
830  const char *name;
831 
832  /* The local symbol table index of the symbol associated with a
833  comdat section. This is only meaningful to the object file format
834  specific code; it is not an index into the list returned by
835  bfd_canonicalize_symtab. */
836  long symbol;
837 };
838 
840 
841 /* Extracted from init.c. */
842 void bfd_init(void);
843 
844 /* Extracted from opncls.c. */
845 bfd *bfd_fopen(const char *filename, const char *target,
846  const char *mode, int fd);
847 
848 bfd *bfd_openr(const char *filename, const char *target);
849 
850 bfd *bfd_fdopenr(const char *filename, const char *target, int fd);
851 
852 bfd *bfd_openstreamr(const char *, const char *, void *);
853 
854 bfd *bfd_openr_iovec(const char *filename, const char *target,
855  void *(*open)(struct bfd *nbfd,
856  void *open_closure),
857  void *open_closure,
858  file_ptr (*pread)(struct bfd *nbfd,
859  void *stream,
860  void *buf,
862  file_ptr offset),
863  int (*close)(struct bfd *nbfd,
864  void *stream));
865 
866 bfd *bfd_openw(const char *filename, const char *target);
867 
869 
871 
872 bfd *bfd_create(const char *filename, bfd *templ);
873 
875 
877 
878 unsigned long bfd_calc_gnu_debuglink_crc32(unsigned long crc, const unsigned char *buf, bfd_size_type len);
879 
880 char *bfd_follow_gnu_debuglink(bfd *abfd, const char *dir);
881 
883 
885 
886 /* Extracted from libbfd.c. */
887 
888 /* Byte swapping macros for user section data. */
889 
890 #define bfd_put_8(abfd, val, ptr) \
891  ((void)(*((unsigned char *)(ptr)) = (val)&0xff))
892 #define bfd_put_signed_8 \
893  bfd_put_8
894 #define bfd_get_8(abfd, ptr) \
895  (*(unsigned char *)(ptr)&0xff)
896 #define bfd_get_signed_8(abfd, ptr) \
897  (((*(unsigned char *)(ptr)&0xff) ^ 0x80) - 0x80)
898 
899 #define bfd_put_16(abfd, val, ptr) \
900  BFD_SEND(abfd, bfd_putx16, ((val), (ptr)))
901 #define bfd_put_signed_16 \
902  bfd_put_16
903 #define bfd_get_16(abfd, ptr) \
904  BFD_SEND(abfd, bfd_getx16, (ptr))
905 #define bfd_get_signed_16(abfd, ptr) \
906  BFD_SEND(abfd, bfd_getx_signed_16, (ptr))
907 
908 #define bfd_put_32(abfd, val, ptr) \
909  BFD_SEND(abfd, bfd_putx32, ((val), (ptr)))
910 #define bfd_put_signed_32 \
911  bfd_put_32
912 #define bfd_get_32(abfd, ptr) \
913  BFD_SEND(abfd, bfd_getx32, (ptr))
914 #define bfd_get_signed_32(abfd, ptr) \
915  BFD_SEND(abfd, bfd_getx_signed_32, (ptr))
916 
917 #define bfd_put_64(abfd, val, ptr) \
918  BFD_SEND(abfd, bfd_putx64, ((val), (ptr)))
919 #define bfd_put_signed_64 \
920  bfd_put_64
921 #define bfd_get_64(abfd, ptr) \
922  BFD_SEND(abfd, bfd_getx64, (ptr))
923 #define bfd_get_signed_64(abfd, ptr) \
924  BFD_SEND(abfd, bfd_getx_signed_64, (ptr))
925 
926 #define bfd_get(bits, abfd, ptr) \
927  ((bits) == 8 ? (bfd_vma)bfd_get_8(abfd, ptr) \
928  : (bits) == 16 ? bfd_get_16(abfd, ptr) \
929  : (bits) == 32 ? bfd_get_32(abfd, ptr) \
930  : (bits) == 64 ? bfd_get_64(abfd, ptr) \
931  : (abort(), (bfd_vma)-1))
932 
933 #define bfd_put(bits, abfd, val, ptr) \
934  ((bits) == 8 ? bfd_put_8(abfd, val, ptr) \
935  : (bits) == 16 ? bfd_put_16(abfd, val, ptr) \
936  : (bits) == 32 ? bfd_put_32(abfd, val, ptr) \
937  : (bits) == 64 ? bfd_put_64(abfd, val, ptr) \
938  : (abort(), (void)0))
939 
940 /* Byte swapping macros for file header data. */
941 
942 #define bfd_h_put_8(abfd, val, ptr) \
943  bfd_put_8(abfd, val, ptr)
944 #define bfd_h_put_signed_8(abfd, val, ptr) \
945  bfd_put_8(abfd, val, ptr)
946 #define bfd_h_get_8(abfd, ptr) \
947  bfd_get_8(abfd, ptr)
948 #define bfd_h_get_signed_8(abfd, ptr) \
949  bfd_get_signed_8(abfd, ptr)
950 
951 #define bfd_h_put_16(abfd, val, ptr) \
952  BFD_SEND(abfd, bfd_h_putx16, (val, ptr))
953 #define bfd_h_put_signed_16 \
954  bfd_h_put_16
955 #define bfd_h_get_16(abfd, ptr) \
956  BFD_SEND(abfd, bfd_h_getx16, (ptr))
957 #define bfd_h_get_signed_16(abfd, ptr) \
958  BFD_SEND(abfd, bfd_h_getx_signed_16, (ptr))
959 
960 #define bfd_h_put_32(abfd, val, ptr) \
961  BFD_SEND(abfd, bfd_h_putx32, (val, ptr))
962 #define bfd_h_put_signed_32 \
963  bfd_h_put_32
964 #define bfd_h_get_32(abfd, ptr) \
965  BFD_SEND(abfd, bfd_h_getx32, (ptr))
966 #define bfd_h_get_signed_32(abfd, ptr) \
967  BFD_SEND(abfd, bfd_h_getx_signed_32, (ptr))
968 
969 #define bfd_h_put_64(abfd, val, ptr) \
970  BFD_SEND(abfd, bfd_h_putx64, (val, ptr))
971 #define bfd_h_put_signed_64 \
972  bfd_h_put_64
973 #define bfd_h_get_64(abfd, ptr) \
974  BFD_SEND(abfd, bfd_h_getx64, (ptr))
975 #define bfd_h_get_signed_64(abfd, ptr) \
976  BFD_SEND(abfd, bfd_h_getx_signed_64, (ptr))
977 
978 /* Aliases for the above, which should eventually go away. */
979 
980 #define H_PUT_64 bfd_h_put_64
981 #define H_PUT_32 bfd_h_put_32
982 #define H_PUT_16 bfd_h_put_16
983 #define H_PUT_8 bfd_h_put_8
984 #define H_PUT_S64 bfd_h_put_signed_64
985 #define H_PUT_S32 bfd_h_put_signed_32
986 #define H_PUT_S16 bfd_h_put_signed_16
987 #define H_PUT_S8 bfd_h_put_signed_8
988 #define H_GET_64 bfd_h_get_64
989 #define H_GET_32 bfd_h_get_32
990 #define H_GET_16 bfd_h_get_16
991 #define H_GET_8 bfd_h_get_8
992 #define H_GET_S64 bfd_h_get_signed_64
993 #define H_GET_S32 bfd_h_get_signed_32
994 #define H_GET_S16 bfd_h_get_signed_16
995 #define H_GET_S8 bfd_h_get_signed_8
996 
997 /* Extracted from bfdio.c. */
998 long bfd_get_mtime(bfd *abfd);
999 
1000 long bfd_get_size(bfd *abfd);
1001 
1002 /* Extracted from bfdwin.c. */
1003 /* Extracted from section.c. */
1004 typedef struct bfd_section {
1005  /* The name of the section; the name isn't a copy, the pointer is
1006  the same as that passed to bfd_make_section. */
1007  const char *name;
1008 
1009  /* A unique sequence number. */
1010  int id;
1011 
1012  /* Which section in the bfd; 0..n-1 as sections are created in a bfd. */
1013  int index;
1014 
1015  /* The next section in the list belonging to the BFD, or NULL. */
1017 
1018  /* The previous section in the list belonging to the BFD, or NULL. */
1020 
1021  /* The field flags contains attributes of the section. Some
1022  flags are read in from the object file, and some are
1023  synthesized from other information. */
1025 
1026 #define SEC_NO_FLAGS 0x000
1027 
1028  /* Tells the OS to allocate space for this section when loading.
1029  This is clear for a section containing debug information only. */
1030 #define SEC_ALLOC 0x001
1031 
1032  /* Tells the OS to load the section from the file when loading.
1033  This is clear for a .bss section. */
1034 #define SEC_LOAD 0x002
1035 
1036  /* The section contains data still to be relocated, so there is
1037  some relocation information too. */
1038 #define SEC_RELOC 0x004
1039 
1040  /* A signal to the OS that the section contains read only data. */
1041 #define SEC_READONLY 0x008
1042 
1043  /* The section contains code only. */
1044 #define SEC_CODE 0x010
1045 
1046  /* The section contains data only. */
1047 #define SEC_DATA 0x020
1048 
1049  /* The section will reside in ROM. */
1050 #define SEC_ROM 0x040
1051 
1052  /* The section contains constructor information. This section
1053  type is used by the linker to create lists of constructors and
1054  destructors used by <<g++>>. When a back end sees a symbol
1055  which should be used in a constructor list, it creates a new
1056  section for the type of name (e.g., <<__CTOR_LIST__>>), attaches
1057  the symbol to it, and builds a relocation. To build the lists
1058  of constructors, all the linker has to do is catenate all the
1059  sections called <<__CTOR_LIST__>> and relocate the data
1060  contained within - exactly the operations it would peform on
1061  standard data. */
1062 #define SEC_CONSTRUCTOR 0x080
1063 
1064  /* The section has contents - a data section could be
1065  <<SEC_ALLOC>> | <<SEC_HAS_CONTENTS>>; a debug section could be
1066  <<SEC_HAS_CONTENTS>> */
1067 #define SEC_HAS_CONTENTS 0x100
1068 
1069  /* An instruction to the linker to not output the section
1070  even if it has information which would normally be written. */
1071 #define SEC_NEVER_LOAD 0x200
1072 
1073  /* The section contains thread local data. */
1074 #define SEC_THREAD_LOCAL 0x400
1075 
1076  /* The section has GOT references. This flag is only for the
1077  linker, and is currently only used by the elf32-hppa back end.
1078  It will be set if global offset table references were detected
1079  in this section, which indicate to the linker that the section
1080  contains PIC code, and must be handled specially when doing a
1081  static link. */
1082 #define SEC_HAS_GOT_REF 0x800
1083 
1084  /* The section contains common symbols (symbols may be defined
1085  multiple times, the value of a symbol is the amount of
1086  space it requires, and the largest symbol value is the one
1087  used). Most targets have exactly one of these (which we
1088  translate to bfd_com_section_ptr), but ECOFF has two. */
1089 #define SEC_IS_COMMON 0x1000
1090 
1091  /* The section contains only debugging information. For
1092  example, this is set for ELF .debug and .stab sections.
1093  strip tests this flag to see if a section can be
1094  discarded. */
1095 #define SEC_DEBUGGING 0x2000
1096 
1097  /* The contents of this section are held in memory pointed to
1098  by the contents field. This is checked by bfd_get_section_contents,
1099  and the data is retrieved from memory if appropriate. */
1100 #define SEC_IN_MEMORY 0x4000
1101 
1102  /* The contents of this section are to be excluded by the
1103  linker for executable and shared objects unless those
1104  objects are to be further relocated. */
1105 #define SEC_EXCLUDE 0x8000
1106 
1107  /* The contents of this section are to be sorted based on the sum of
1108  the symbol and addend values specified by the associated relocation
1109  entries. Entries without associated relocation entries will be
1110  appended to the end of the section in an unspecified order. */
1111 #define SEC_SORT_ENTRIES 0x10000
1112 
1113  /* When linking, duplicate sections of the same name should be
1114  discarded, rather than being combined into a single section as
1115  is usually done. This is similar to how common symbols are
1116  handled. See SEC_LINK_DUPLICATES below. */
1117 #define SEC_LINK_ONCE 0x20000
1118 
1119  /* If SEC_LINK_ONCE is set, this bitfield describes how the linker
1120  should handle duplicate sections. */
1121 #define SEC_LINK_DUPLICATES 0x40000
1122 
1123  /* This value for SEC_LINK_DUPLICATES means that duplicate
1124  sections with the same name should simply be discarded. */
1125 #define SEC_LINK_DUPLICATES_DISCARD 0x0
1126 
1127  /* This value for SEC_LINK_DUPLICATES means that the linker
1128  should warn if there are any duplicate sections, although
1129  it should still only link one copy. */
1130 #define SEC_LINK_DUPLICATES_ONE_ONLY 0x80000
1131 
1132  /* This value for SEC_LINK_DUPLICATES means that the linker
1133  should warn if any duplicate sections are a different size. */
1134 #define SEC_LINK_DUPLICATES_SAME_SIZE 0x100000
1135 
1136  /* This value for SEC_LINK_DUPLICATES means that the linker
1137  should warn if any duplicate sections contain different
1138  contents. */
1139 #define SEC_LINK_DUPLICATES_SAME_CONTENTS \
1140  (SEC_LINK_DUPLICATES_ONE_ONLY | SEC_LINK_DUPLICATES_SAME_SIZE)
1141 
1142  /* This section was created by the linker as part of dynamic
1143  relocation or other arcane processing. It is skipped when
1144  going through the first-pass output, trusting that someone
1145  else up the line will take care of it later. */
1146 #define SEC_LINKER_CREATED 0x200000
1147 
1148  /* This section should not be subject to garbage collection. */
1149 #define SEC_KEEP 0x400000
1150 
1151  /* This section contains "short" data, and should be placed
1152  "near" the GP. */
1153 #define SEC_SMALL_DATA 0x800000
1154 
1155  /* Attempt to merge identical entities in the section.
1156  Entity size is given in the entsize field. */
1157 #define SEC_MERGE 0x1000000
1158 
1159  /* If given with SEC_MERGE, entities to merge are zero terminated
1160  strings where entsize specifies character size instead of fixed
1161  size entries. */
1162 #define SEC_STRINGS 0x2000000
1163 
1164  /* This section contains data about section groups. */
1165 #define SEC_GROUP 0x4000000
1166 
1167  /* The section is a COFF shared library section. This flag is
1168  only for the linker. If this type of section appears in
1169  the input file, the linker must copy it to the output file
1170  without changing the vma or size. FIXME: Although this
1171  was originally intended to be general, it really is COFF
1172  specific (and the flag was renamed to indicate this). It
1173  might be cleaner to have some more general mechanism to
1174  allow the back end to control what the linker does with
1175  sections. */
1176 #define SEC_COFF_SHARED_LIBRARY 0x10000000
1177 
1178  /* This section contains data which may be shared with other
1179  executables or shared objects. This is for COFF only. */
1180 #define SEC_COFF_SHARED 0x20000000
1181 
1182  /* When a section with this flag is being linked, then if the size of
1183  the input section is less than a page, it should not cross a page
1184  boundary. If the size of the input section is one page or more,
1185  it should be aligned on a page boundary. This is for TI
1186  TMS320C54X only. */
1187 #define SEC_TIC54X_BLOCK 0x40000000
1188 
1189  /* Conditionally link this section; do not link if there are no
1190  references found to any symbol in the section. This is for TI
1191  TMS320C54X only. */
1192 #define SEC_TIC54X_CLINK 0x80000000
1193 
1194  /* End of section flags. */
1195 
1196  /* Some internal packed boolean fields. */
1197 
1198  /* See the vma field. */
1199  unsigned int user_set_vma : 1;
1200 
1201  /* A mark flag used by some of the linker backends. */
1202  unsigned int linker_mark : 1;
1203 
1204  /* Another mark flag used by some of the linker backends. Set for
1205  output sections that have an input section. */
1206  unsigned int linker_has_input : 1;
1207 
1208  /* Mark flags used by some linker backends for garbage collection. */
1209  unsigned int gc_mark : 1;
1210  unsigned int gc_mark_from_eh : 1;
1211 
1212  /* The following flags are used by the ELF linker. */
1213 
1214  /* Mark sections which have been allocated to segments. */
1215  unsigned int segment_mark : 1;
1216 
1217  /* Type of sec_info information. */
1218  unsigned int sec_info_type : 3;
1219 #define ELF_INFO_TYPE_NONE 0
1220 #define ELF_INFO_TYPE_STABS 1
1221 #define ELF_INFO_TYPE_MERGE 2
1222 #define ELF_INFO_TYPE_EH_FRAME 3
1223 #define ELF_INFO_TYPE_JUST_SYMS 4
1224 
1225  /* Nonzero if this section uses RELA relocations, rather than REL. */
1226  unsigned int use_rela_p : 1;
1227 
1228  /* Bits used by various backends. The generic code doesn't touch
1229  these fields. */
1230 
1231  /* Nonzero if this section has TLS related relocations. */
1232  unsigned int has_tls_reloc : 1;
1233 
1234  /* Nonzero if this section has a gp reloc. */
1235  unsigned int has_gp_reloc : 1;
1236 
1237  /* Nonzero if this section needs the relax finalize pass. */
1238  unsigned int need_finalize_relax : 1;
1239 
1240  /* Whether relocations have been processed. */
1241  unsigned int reloc_done : 1;
1242 
1243  /* End of internal packed boolean fields. */
1244 
1245  /* The virtual memory address of the section - where it will be
1246  at run time. The symbols are relocated against this. The
1247  user_set_vma flag is maintained by bfd; if it's not set, the
1248  backend can assign addresses (for example, in <<a.out>>, where
1249  the default address for <<.data>> is dependent on the specific
1250  target and various flags). */
1252 
1253  /* The load address of the section - where it would be in a
1254  rom image; really only used for writing section header
1255  information. */
1257 
1258  /* The size of the section in octets, as it will be output.
1259  Contains a value even if the section has no contents (e.g., the
1260  size of <<.bss>>). */
1262 
1263  /* For input sections, the original size on disk of the section, in
1264  octets. This field is used by the linker relaxation code. It is
1265  currently only set for sections where the linker relaxation scheme
1266  doesn't cache altered section and reloc contents (stabs, eh_frame,
1267  SEC_MERGE, some coff relaxing targets), and thus the original size
1268  needs to be kept to read the section multiple times.
1269  For output sections, rawsize holds the section size calculated on
1270  a previous linker relaxation pass. */
1272 
1273  /* If this section is going to be output, then this value is the
1274  offset in *bytes* into the output section of the first byte in the
1275  input section (byte ==> smallest addressable unit on the
1276  target). In most cases, if this was going to start at the
1277  100th octet (8-bit quantity) in the output section, this value
1278  would be 100. However, if the target byte size is 16 bits
1279  (bfd_octets_per_byte is "2"), this value would be 50. */
1281 
1282  /* The output section through which to map on output. */
1284 
1285  /* The alignment requirement of the section, as an exponent of 2 -
1286  e.g., 3 aligns to 2^3 (or 8). */
1287  unsigned int alignment_power;
1288 
1289  /* If an input section, a pointer to a vector of relocation
1290  records for the data in this section. */
1292 
1293  /* If an output section, a pointer to a vector of pointers to
1294  relocation records for the data in this section. */
1296 
1297  /* The number of relocation records in one of the above. */
1298  unsigned reloc_count;
1299 
1300  /* Information below is back end specific - and not always used
1301  or updated. */
1302 
1303  /* File position of section data. */
1305 
1306  /* File position of relocation info. */
1308 
1309  /* File position of line data. */
1311 
1312  /* Pointer to data for applications. */
1313  void *userdata;
1314 
1315  /* If the SEC_IN_MEMORY flag is set, this points to the actual
1316  contents. */
1317  unsigned char *contents;
1318 
1319  /* Attached line number information. */
1321 
1322  /* Number of line number records. */
1323  unsigned int lineno_count;
1324 
1325  /* Entity size for merging purposes. */
1326  unsigned int entsize;
1327 
1328  /* Points to the kept section if this section is a link-once section,
1329  and is discarded. */
1331 
1332  /* When a section is being output, this value changes as more
1333  linenumbers are written out. */
1335 
1336  /* What the section number is in the target world. */
1338 
1340 
1341  /* If this is a constructor section then here is a list of the
1342  relocations created to relocate items within it. */
1344 
1345  /* The BFD which owns the section. */
1347 
1348  /* A symbol which points at this section only. */
1351 
1352  /* Early in the link process, map_head and map_tail are used to build
1353  a list of input sections attached to an output section. Later,
1354  output sections use these fields for a list of bfd_link_order
1355  structs. */
1356  union {
1358  struct bfd_section *s;
1361 
1362 /* These sections are global, and are managed by BFD. The application
1363  and target back end are not permitted to change the values in
1364  these sections. New code should use the section_ptr macros rather
1365  than referring directly to the const sections. The const sections
1366  may eventually vanish. */
1367 #define BFD_ABS_SECTION_NAME "*ABS*"
1368 #define BFD_UND_SECTION_NAME "*UND*"
1369 #define BFD_COM_SECTION_NAME "*COM*"
1370 #define BFD_IND_SECTION_NAME "*IND*"
1371 
1372 /* The absolute section. */
1373 extern asection bfd_abs_section;
1374 #define bfd_abs_section_ptr ((asection *)&bfd_abs_section)
1375 #define bfd_is_abs_section(sec) ((sec) == bfd_abs_section_ptr)
1376 /* Pointer to the undefined section. */
1377 extern asection bfd_und_section;
1378 #define bfd_und_section_ptr ((asection *)&bfd_und_section)
1379 #define bfd_is_und_section(sec) ((sec) == bfd_und_section_ptr)
1380 /* Pointer to the common section. */
1381 extern asection bfd_com_section;
1382 #define bfd_com_section_ptr ((asection *)&bfd_com_section)
1383 /* Pointer to the indirect section. */
1384 extern asection bfd_ind_section;
1385 #define bfd_ind_section_ptr ((asection *)&bfd_ind_section)
1386 #define bfd_is_ind_section(sec) ((sec) == bfd_ind_section_ptr)
1387 
1388 #define bfd_is_const_section(SEC) \
1389  (((SEC) == bfd_abs_section_ptr) || ((SEC) == bfd_und_section_ptr) || ((SEC) == bfd_com_section_ptr) || ((SEC) == bfd_ind_section_ptr))
1390 
1391 extern const struct bfd_symbol *const bfd_abs_symbol;
1392 extern const struct bfd_symbol *const bfd_com_symbol;
1393 extern const struct bfd_symbol *const bfd_und_symbol;
1394 extern const struct bfd_symbol *const bfd_ind_symbol;
1395 
1396 /* Macros to handle insertion and deletion of a bfd's sections. These
1397  only handle the list pointers, ie. do not adjust section_count,
1398  target_index etc. */
1399 #define bfd_section_list_remove(ABFD, S) \
1400  do { \
1401  asection *_s = S; \
1402  asection *_next = _s->next; \
1403  asection *_prev = _s->prev; \
1404  if (_prev) \
1405  _prev->next = _next; \
1406  else \
1407  (ABFD)->sections = _next; \
1408  if (_next) \
1409  _next->prev = _prev; \
1410  else \
1411  (ABFD)->section_last = _prev; \
1412  } while (0)
1413 #define bfd_section_list_append(ABFD, S) \
1414  do { \
1415  asection *_s = S; \
1416  bfd *_abfd = ABFD; \
1417  _s->next = NULL; \
1418  if (_abfd->section_last) { \
1419  _s->prev = _abfd->section_last; \
1420  _abfd->section_last->next = _s; \
1421  } else { \
1422  _s->prev = NULL; \
1423  _abfd->sections = _s; \
1424  } \
1425  _abfd->section_last = _s; \
1426  } while (0)
1427 #define bfd_section_list_prepend(ABFD, S) \
1428  do { \
1429  asection *_s = S; \
1430  bfd *_abfd = ABFD; \
1431  _s->prev = NULL; \
1432  if (_abfd->sections) { \
1433  _s->next = _abfd->sections; \
1434  _abfd->sections->prev = _s; \
1435  } else { \
1436  _s->next = NULL; \
1437  _abfd->section_last = _s; \
1438  } \
1439  _abfd->sections = _s; \
1440  } while (0)
1441 #define bfd_section_list_insert_after(ABFD, A, S) \
1442  do { \
1443  asection *_a = A; \
1444  asection *_s = S; \
1445  asection *_next = _a->next; \
1446  _s->next = _next; \
1447  _s->prev = _a; \
1448  _a->next = _s; \
1449  if (_next) \
1450  _next->prev = _s; \
1451  else \
1452  (ABFD)->section_last = _s; \
1453  } while (0)
1454 #define bfd_section_list_insert_before(ABFD, B, S) \
1455  do { \
1456  asection *_b = B; \
1457  asection *_s = S; \
1458  asection *_prev = _b->prev; \
1459  _s->prev = _prev; \
1460  _s->next = _b; \
1461  _b->prev = _s; \
1462  if (_prev) \
1463  _prev->next = _s; \
1464  else \
1465  (ABFD)->sections = _s; \
1466  } while (0)
1467 #define bfd_section_removed_from_list(ABFD, S) \
1468  ((S)->next ? (S)->next->prev != (S) : (ABFD)->section_last != (S))
1469 
1470 #define BFD_FAKE_SECTION(SEC, FLAGS, SYM, SYM_PTR, NAME, IDX) \
1471  /* name, id, index, next, prev, flags, user_set_vma, */ \
1472  { \
1473  NAME, IDX, 0, NULL, NULL, FLAGS, 0, \
1474 \
1475  /* linker_mark, linker_has_input, gc_mark, gc_mark_from_eh, */ \
1476  0, 0, 1, 0, \
1477 \
1478  /* segment_mark, sec_info_type, use_rela_p, has_tls_reloc, */ \
1479  0, 0, 0, 0, \
1480 \
1481  /* has_gp_reloc, need_finalize_relax, reloc_done, */ \
1482  0, 0, 0, \
1483 \
1484  /* vma, lma, size, rawsize */ \
1485  0, 0, 0, 0, \
1486 \
1487  /* output_offset, output_section, alignment_power, */ \
1488  0, (struct bfd_section *)&SEC, 0, \
1489 \
1490  /* relocation, orelocation, reloc_count, filepos, rel_filepos, */ \
1491  NULL, NULL, 0, 0, 0, \
1492 \
1493  /* line_filepos, userdata, contents, lineno, lineno_count, */ \
1494  0, NULL, NULL, NULL, 0, \
1495 \
1496  /* entsize, kept_section, moving_line_filepos, */ \
1497  0, NULL, 0, \
1498 \
1499  /* target_index, used_by_bfd, constructor_chain, owner, */ \
1500  0, NULL, NULL, NULL, \
1501 \
1502  /* symbol, */ \
1503  (struct bfd_symbol *)SYM, \
1504 \
1505  /* symbol_ptr_ptr, */ \
1506  (struct bfd_symbol **)SYM_PTR, \
1507 \
1508  /* map_head, map_tail */ \
1509  { NULL }, { NULL } \
1510  }
1511 
1513 
1515 
1517  const char *name,
1518  bfd_boolean (*func)(bfd *abfd, asection *sect, void *obj),
1519  void *obj);
1520 
1521 char *bfd_get_unique_section_name(bfd *abfd, const char *templat, int *count);
1522 
1524 
1526 
1528 
1530 
1532 
1534 
1536  void (*func)(bfd *abfd, asection *sect, void *obj),
1537  void *obj);
1538 
1540  bfd_boolean (*operation)(bfd *abfd, asection *sect, void *obj),
1541  void *obj);
1542 
1544 
1547 
1550 
1552 
1554 
1555 #define bfd_copy_private_section_data(ibfd, isection, obfd, osection) \
1556  BFD_SEND(obfd, _bfd_copy_private_section_data, \
1557  (ibfd, isection, obfd, osection))
1559 
1561 
1562 /* Extracted from archures.c. */
1564  bfd_arch_unknown, /* File arch not known. */
1565  bfd_arch_obscure, /* Arch known, not one of these. */
1566  bfd_arch_m68k, /* Motorola 68xxx */
1567 #define bfd_mach_m68000 1
1568 #define bfd_mach_m68008 2
1569 #define bfd_mach_m68010 3
1570 #define bfd_mach_m68020 4
1571 #define bfd_mach_m68030 5
1572 #define bfd_mach_m68040 6
1573 #define bfd_mach_m68060 7
1574 #define bfd_mach_cpu32 8
1575 #define bfd_mach_mcf_isa_a_nodiv 9
1576 #define bfd_mach_mcf_isa_a 10
1577 #define bfd_mach_mcf_isa_a_mac 11
1578 #define bfd_mach_mcf_isa_a_emac 12
1579 #define bfd_mach_mcf_isa_aplus 13
1580 #define bfd_mach_mcf_isa_aplus_mac 14
1581 #define bfd_mach_mcf_isa_aplus_emac 15
1582 #define bfd_mach_mcf_isa_b_nousp 16
1583 #define bfd_mach_mcf_isa_b_nousp_mac 17
1584 #define bfd_mach_mcf_isa_b_nousp_emac 18
1585 #define bfd_mach_mcf_isa_b 19
1586 #define bfd_mach_mcf_isa_b_mac 20
1587 #define bfd_mach_mcf_isa_b_emac 21
1588 #define bfd_mach_mcf_isa_b_float 22
1589 #define bfd_mach_mcf_isa_b_float_mac 23
1590 #define bfd_mach_mcf_isa_b_float_emac 24
1591  bfd_arch_vax, /* DEC Vax */
1592  bfd_arch_i960, /* Intel 960 */
1593 /* The order of the following is important.
1594  lower number indicates a machine type that
1595  only accepts a subset of the instructions
1596  available to machines with higher numbers.
1597  The exception is the "ca", which is
1598  incompatible with all other machines except
1599  "core". */
1600 
1601 #define bfd_mach_i960_core 1
1602 #define bfd_mach_i960_ka_sa 2
1603 #define bfd_mach_i960_kb_sb 3
1604 #define bfd_mach_i960_mc 4
1605 #define bfd_mach_i960_xa 5
1606 #define bfd_mach_i960_ca 6
1607 #define bfd_mach_i960_jx 7
1608 #define bfd_mach_i960_hx 8
1609 
1610  bfd_arch_or32, /* OpenRISC 32 */
1611 
1612  bfd_arch_sparc, /* SPARC */
1613 #define bfd_mach_sparc 1
1614 /* The difference between v8plus and v9 is that v9 is a true 64 bit env. */
1615 #define bfd_mach_sparc_sparclet 2
1616 #define bfd_mach_sparc_sparclite 3
1617 #define bfd_mach_sparc_v8plus 4
1618 #define bfd_mach_sparc_v8plusa 5 /* with ultrasparc add'ns. */
1619 #define bfd_mach_sparc_sparclite_le 6
1620 #define bfd_mach_sparc_v9 7
1621 #define bfd_mach_sparc_v9a 8 /* with ultrasparc add'ns. */
1622 #define bfd_mach_sparc_v8plusb 9 /* with cheetah add'ns. */
1623 #define bfd_mach_sparc_v9b 10 /* with cheetah add'ns. */
1624 /* Nonzero if MACH has the v9 instruction set. */
1625 #define bfd_mach_sparc_v9_p(mach) \
1626  ((mach) >= bfd_mach_sparc_v8plus && (mach) <= bfd_mach_sparc_v9b && (mach) != bfd_mach_sparc_sparclite_le)
1627 /* Nonzero if MACH is a 64 bit sparc architecture. */
1628 #define bfd_mach_sparc_64bit_p(mach) \
1629  ((mach) >= bfd_mach_sparc_v9 && (mach) != bfd_mach_sparc_v8plusb)
1630  bfd_arch_mips, /* MIPS Rxxxx */
1631 #define bfd_mach_mips3000 3000
1632 #define bfd_mach_mips3900 3900
1633 #define bfd_mach_mips4000 4000
1634 #define bfd_mach_mips4010 4010
1635 #define bfd_mach_mips4100 4100
1636 #define bfd_mach_mips4111 4111
1637 #define bfd_mach_mips4120 4120
1638 #define bfd_mach_mips4300 4300
1639 #define bfd_mach_mips4400 4400
1640 #define bfd_mach_mips4600 4600
1641 #define bfd_mach_mips4650 4650
1642 #define bfd_mach_mips5000 5000
1643 #define bfd_mach_mips5400 5400
1644 #define bfd_mach_mips5500 5500
1645 #define bfd_mach_mips6000 6000
1646 #define bfd_mach_mips7000 7000
1647 #define bfd_mach_mips8000 8000
1648 #define bfd_mach_mips9000 9000
1649 #define bfd_mach_mips10000 10000
1650 #define bfd_mach_mips12000 12000
1651 #define bfd_mach_mips16 16
1652 #define bfd_mach_mips5 5
1653 #define bfd_mach_mips_loongson_2e 3001
1654 #define bfd_mach_mips_loongson_2f 3002
1655 #define bfd_mach_mips_sb1 12310201 /* octal 'SB', 01 */
1656 #define bfd_mach_mipsisa32 32
1657 #define bfd_mach_mipsisa32r2 33
1658 #define bfd_mach_mipsisa64 64
1659 #define bfd_mach_mipsisa64r2 65
1660  bfd_arch_i386, /* Intel 386 */
1661 #define bfd_mach_i386_i386 1
1662 #define bfd_mach_i386_i8086 2
1663 #define bfd_mach_i386_i386_intel_syntax 3
1664 #define bfd_mach_x86_64 64
1665 #define bfd_mach_x86_64_intel_syntax 65
1666  bfd_arch_we32k, /* AT&T WE32xxx */
1667  bfd_arch_tahoe, /* CCI/Harris Tahoe */
1668  bfd_arch_i860, /* Intel 860 */
1669  bfd_arch_i370, /* IBM 360/370 Mainframes */
1670  bfd_arch_romp, /* IBM ROMP PC/RT */
1671  bfd_arch_convex, /* Convex */
1672  bfd_arch_m88k, /* Motorola 88xxx */
1673  bfd_arch_m98k, /* Motorola 98xxx */
1674  bfd_arch_pyramid, /* Pyramid Technology */
1675  bfd_arch_h8300, /* Renesas H8/300 (formerly Hitachi H8/300) */
1676 #define bfd_mach_h8300 1
1677 #define bfd_mach_h8300h 2
1678 #define bfd_mach_h8300s 3
1679 #define bfd_mach_h8300hn 4
1680 #define bfd_mach_h8300sn 5
1681 #define bfd_mach_h8300sx 6
1682 #define bfd_mach_h8300sxn 7
1683  bfd_arch_pdp11, /* DEC PDP-11 */
1684  bfd_arch_powerpc, /* PowerPC */
1685 #define bfd_mach_ppc 32
1686 #define bfd_mach_ppc64 64
1687 #define bfd_mach_ppc_403 403
1688 #define bfd_mach_ppc_403gc 4030
1689 #define bfd_mach_ppc_505 505
1690 #define bfd_mach_ppc_601 601
1691 #define bfd_mach_ppc_602 602
1692 #define bfd_mach_ppc_603 603
1693 #define bfd_mach_ppc_ec603e 6031
1694 #define bfd_mach_ppc_604 604
1695 #define bfd_mach_ppc_620 620
1696 #define bfd_mach_ppc_630 630
1697 #define bfd_mach_ppc_750 750
1698 #define bfd_mach_ppc_860 860
1699 #define bfd_mach_ppc_a35 35
1700 #define bfd_mach_ppc_rs64ii 642
1701 #define bfd_mach_ppc_rs64iii 643
1702 #define bfd_mach_ppc_7400 7400
1703 #define bfd_mach_ppc_e500 500
1704 #define bfd_mach_ppc_e500mc 5001
1705  bfd_arch_rs6000, /* IBM RS/6000 */
1706 #define bfd_mach_rs6k 6000
1707 #define bfd_mach_rs6k_rs1 6001
1708 #define bfd_mach_rs6k_rsc 6003
1709 #define bfd_mach_rs6k_rs2 6002
1710  bfd_arch_hppa, /* HP PA RISC */
1711 #define bfd_mach_hppa10 10
1712 #define bfd_mach_hppa11 11
1713 #define bfd_mach_hppa20 20
1714 #define bfd_mach_hppa20w 25
1715  bfd_arch_d10v, /* Mitsubishi D10V */
1716 #define bfd_mach_d10v 1
1717 #define bfd_mach_d10v_ts2 2
1718 #define bfd_mach_d10v_ts3 3
1719  bfd_arch_d30v, /* Mitsubishi D30V */
1720  bfd_arch_dlx, /* DLX */
1721  bfd_arch_m68hc11, /* Motorola 68HC11 */
1722  bfd_arch_m68hc12, /* Motorola 68HC12 */
1723 #define bfd_mach_m6812_default 0
1724 #define bfd_mach_m6812 1
1725 #define bfd_mach_m6812s 2
1726  bfd_arch_z8k, /* Zilog Z8000 */
1727 #define bfd_mach_z8001 1
1728 #define bfd_mach_z8002 2
1729  bfd_arch_h8500, /* Renesas H8/500 (formerly Hitachi H8/500) */
1730  bfd_arch_sh, /* Renesas / SuperH SH (formerly Hitachi SH) */
1731 #define bfd_mach_sh 1
1732 #define bfd_mach_sh2 0x20
1733 #define bfd_mach_sh_dsp 0x2d
1734 #define bfd_mach_sh2a 0x2a
1735 #define bfd_mach_sh2a_nofpu 0x2b
1736 #define bfd_mach_sh2a_nofpu_or_sh4_nommu_nofpu 0x2a1
1737 #define bfd_mach_sh2a_nofpu_or_sh3_nommu 0x2a2
1738 #define bfd_mach_sh2a_or_sh4 0x2a3
1739 #define bfd_mach_sh2a_or_sh3e 0x2a4
1740 #define bfd_mach_sh2e 0x2e
1741 #define bfd_mach_sh3 0x30
1742 #define bfd_mach_sh3_nommu 0x31
1743 #define bfd_mach_sh3_dsp 0x3d
1744 #define bfd_mach_sh3e 0x3e
1745 #define bfd_mach_sh4 0x40
1746 #define bfd_mach_sh4_nofpu 0x41
1747 #define bfd_mach_sh4_nommu_nofpu 0x42
1748 #define bfd_mach_sh4a 0x4a
1749 #define bfd_mach_sh4a_nofpu 0x4b
1750 #define bfd_mach_sh4al_dsp 0x4d
1751 #define bfd_mach_sh5 0x50
1752  bfd_arch_alpha, /* Dec Alpha */
1753 #define bfd_mach_alpha_ev4 0x10
1754 #define bfd_mach_alpha_ev5 0x20
1755 #define bfd_mach_alpha_ev6 0x30
1756  bfd_arch_arm, /* Advanced Risc Machines ARM. */
1757 #define bfd_mach_arm_unknown 0
1758 #define bfd_mach_arm_2 1
1759 #define bfd_mach_arm_2a 2
1760 #define bfd_mach_arm_3 3
1761 #define bfd_mach_arm_3M 4
1762 #define bfd_mach_arm_4 5
1763 #define bfd_mach_arm_4T 6
1764 #define bfd_mach_arm_5 7
1765 #define bfd_mach_arm_5T 8
1766 #define bfd_mach_arm_5TE 9
1767 #define bfd_mach_arm_XScale 10
1768 #define bfd_mach_arm_ep9312 11
1769 #define bfd_mach_arm_iWMMXt 12
1770 #define bfd_mach_arm_iWMMXt2 13
1771  bfd_arch_ns32k, /* National Semiconductors ns32000 */
1772  bfd_arch_w65, /* WDC 65816 */
1773  bfd_arch_tic30, /* Texas Instruments TMS320C30 */
1774  bfd_arch_tic4x, /* Texas Instruments TMS320C3X/4X */
1775 #define bfd_mach_tic3x 30
1776 #define bfd_mach_tic4x 40
1777  bfd_arch_tic54x, /* Texas Instruments TMS320C54X */
1778  bfd_arch_tic80, /* TI TMS320c80 (MVP) */
1779  bfd_arch_v850, /* NEC V850 */
1780 #define bfd_mach_v850 1
1781 #define bfd_mach_v850e 'E'
1782 #define bfd_mach_v850e1 '1'
1783  bfd_arch_arc, /* ARC Cores */
1784 #define bfd_mach_arc_5 5
1785 #define bfd_mach_arc_6 6
1786 #define bfd_mach_arc_7 7
1787 #define bfd_mach_arc_8 8
1788  bfd_arch_m32c, /* Renesas M16C/M32C. */
1789 #define bfd_mach_m16c 0x75
1790 #define bfd_mach_m32c 0x78
1791  bfd_arch_m32r, /* Renesas M32R (formerly Mitsubishi M32R/D) */
1792 #define bfd_mach_m32r 1 /* For backwards compatibility. */
1793 #define bfd_mach_m32rx 'x'
1794 #define bfd_mach_m32r2 '2'
1795  bfd_arch_mn10200, /* Matsushita MN10200 */
1796  bfd_arch_mn10300, /* Matsushita MN10300 */
1797 #define bfd_mach_mn10300 300
1798 #define bfd_mach_am33 330
1799 #define bfd_mach_am33_2 332
1801 #define bfd_mach_fr30 0x46523330
1803 #define bfd_mach_frv 1
1804 #define bfd_mach_frvsimple 2
1805 #define bfd_mach_fr300 300
1806 #define bfd_mach_fr400 400
1807 #define bfd_mach_fr450 450
1808 #define bfd_mach_frvtomcat 499 /* fr500 prototype */
1809 #define bfd_mach_fr500 500
1810 #define bfd_mach_fr550 550
1812  bfd_arch_ia64, /* HP/Intel ia64 */
1813 #define bfd_mach_ia64_elf64 64
1814 #define bfd_mach_ia64_elf32 32
1815  bfd_arch_ip2k, /* Ubicom IP2K microcontrollers. */
1816 #define bfd_mach_ip2022 1
1817 #define bfd_mach_ip2022ext 2
1818  bfd_arch_iq2000, /* Vitesse IQ2000. */
1819 #define bfd_mach_iq2000 1
1820 #define bfd_mach_iq10 2
1822 #define bfd_mach_ms1 1
1823 #define bfd_mach_mrisc2 2
1824 #define bfd_mach_ms2 3
1826  bfd_arch_avr, /* Atmel AVR microcontrollers. */
1827 #define bfd_mach_avr1 1
1828 #define bfd_mach_avr2 2
1829 #define bfd_mach_avr3 3
1830 #define bfd_mach_avr4 4
1831 #define bfd_mach_avr5 5
1832 #define bfd_mach_avr6 6
1833  bfd_arch_bfin, /* ADI Blackfin */
1834 #define bfd_mach_bfin 1
1835  bfd_arch_cr16c, /* National Semiconductor CompactRISC. */
1836 #define bfd_mach_cr16c 1
1837  bfd_arch_crx, /* National Semiconductor CRX. */
1838 #define bfd_mach_crx 1
1839  bfd_arch_cris, /* Axis CRIS */
1840 #define bfd_mach_cris_v0_v10 255
1841 #define bfd_mach_cris_v32 32
1842 #define bfd_mach_cris_v10_v32 1032
1843  bfd_arch_s390, /* IBM s390 */
1844 #define bfd_mach_s390_31 31
1845 #define bfd_mach_s390_64 64
1846  bfd_arch_openrisc, /* OpenRISC */
1847  bfd_arch_mmix, /* Donald Knuth's educational processor. */
1849 #define bfd_mach_xstormy16 1
1850  bfd_arch_msp430, /* Texas Instruments MSP430 architecture. */
1851 #define bfd_mach_msp11 11
1852 #define bfd_mach_msp110 110
1853 #define bfd_mach_msp12 12
1854 #define bfd_mach_msp13 13
1855 #define bfd_mach_msp14 14
1856 #define bfd_mach_msp15 15
1857 #define bfd_mach_msp16 16
1858 #define bfd_mach_msp21 21
1859 #define bfd_mach_msp31 31
1860 #define bfd_mach_msp32 32
1861 #define bfd_mach_msp33 33
1862 #define bfd_mach_msp41 41
1863 #define bfd_mach_msp42 42
1864 #define bfd_mach_msp43 43
1865 #define bfd_mach_msp44 44
1866  bfd_arch_xc16x, /* Infineon's XC16X Series. */
1867 #define bfd_mach_xc16x 1
1868 #define bfd_mach_xc16xl 2
1869 #define bfd_mach_xc16xs 3
1870  bfd_arch_xtensa, /* Tensilica's Xtensa cores. */
1871 #define bfd_mach_xtensa 1
1873 #define bfd_mach_tricore 4
1874  bfd_arch_maxq, /* Dallas MAXQ 10/20 */
1875 #define bfd_mach_maxq10 10
1876 #define bfd_mach_maxq20 20
1878 #define bfd_mach_z80strict 1 /* No undocumented opcodes. */
1879 #define bfd_mach_z80 3 /* With ixl, ixh, iyl, and iyh. */
1880 #define bfd_mach_z80full 7 /* All undocumented instructions. */
1881 #define bfd_mach_r800 11 /* R800: successor with multiplication. */
1883 };
1884 
1885 typedef struct bfd_arch_info {
1889  enum bfd_architecture arch;
1890  unsigned long mach;
1891  const char *arch_name;
1892  const char *printable_name;
1893  unsigned int section_align_power;
1894  /* TRUE if this is the default machine for the architecture.
1895  The default arch should be the first entry for an arch so that
1896  all the entries for that arch can be accessed via <<next>>. */
1898  const struct bfd_arch_info *(*compatible)(const struct bfd_arch_info *a, const struct bfd_arch_info *b);
1899 
1900  bfd_boolean (*scan)(const struct bfd_arch_info *, const char *);
1901 
1902  const struct bfd_arch_info *next;
1904 
1905 const char *bfd_printable_name(bfd *abfd);
1906 
1907 const bfd_arch_info_type *bfd_scan_arch(const char *string);
1908 
1909 const char **bfd_arch_list(void);
1910 
1911 const bfd_arch_info_type *bfd_arch_get_compatible(const bfd *abfd, const bfd *bbfd, bfd_boolean accept_unknowns);
1912 
1914 
1915 enum bfd_architecture bfd_get_arch(bfd *abfd);
1916 
1917 unsigned long bfd_get_mach(bfd *abfd);
1918 
1919 unsigned int bfd_arch_bits_per_byte(bfd *abfd);
1920 
1921 unsigned int bfd_arch_bits_per_address(bfd *abfd);
1922 
1924 
1925 const bfd_arch_info_type *bfd_lookup_arch(enum bfd_architecture arch, unsigned long machine);
1926 
1927 const char *bfd_printable_arch_mach(enum bfd_architecture arch, unsigned long machine);
1928 
1929 unsigned int bfd_octets_per_byte(bfd *abfd);
1930 
1931 unsigned int bfd_arch_mach_octets_per_byte(enum bfd_architecture arch, unsigned long machine);
1932 
1933 /* Extracted from reloc.c. */
1934 typedef enum bfd_reloc_status {
1935  /* No errors detected. */
1937 
1938  /* The relocation was performed, but there was an overflow. */
1940 
1941  /* The address to relocate was not within the section supplied. */
1943 
1944  /* Used by special functions. */
1946 
1947  /* Unsupported relocation size requested. */
1949 
1950  /* Unused. */
1952 
1953  /* The symbol to relocate against was undefined. */
1955 
1956  /* The relocation was performed, but may not be ok - presently
1957  generated only when linking i960 coff files with i960 b.out
1958  symbols. If this type is returned, the error_message argument
1959  to bfd_perform_relocation will be set. */
1962 
1963 typedef struct reloc_cache_entry {
1964  /* A pointer into the canonical table of pointers. */
1966 
1967  /* offset in section. */
1969 
1970  /* addend for relocation value. */
1972 
1973  /* Pointer to how to perform the required relocation. */
1975 
1977 
1979  /* Do not complain on overflow. */
1981 
1982  /* Complain if the value overflows when considered as a signed
1983  number one bit larger than the field. ie. A bitfield of N bits
1984  is allowed to represent -2**n to 2**n-1. */
1986 
1987  /* Complain if the value overflows when considered as a signed
1988  number. */
1990 
1991  /* Complain if the value overflows when considered as an
1992  unsigned number. */
1994 };
1995 
1997  /* The type field has mainly a documentary use - the back end can
1998  do what it wants with it, though normally the back end's
1999  external idea of what a reloc number is stored
2000  in this field. For example, a PC relative word relocation
2001  in a coff environment has the type 023 - because that's
2002  what the outside world calls a RZ_PCRWORD reloc. */
2003  unsigned int type;
2004 
2005  /* The value the final relocation is shifted right by. This drops
2006  unwanted data from the relocation. */
2007  unsigned int rightshift;
2008 
2009  /* The size of the item to be relocated. This is *not* a
2010  power-of-two measure. To get the number of bytes operated
2011  on by a type of relocation, use bfd_get_reloc_size. */
2012  int size;
2013 
2014  /* The number of bits in the item to be relocated. This is used
2015  when doing overflow checking. */
2016  unsigned int bitsize;
2017 
2018  /* Notes that the relocation is relative to the location in the
2019  data section of the addend. The relocation function will
2020  subtract from the relocation value the address of the location
2021  being relocated. */
2023 
2024  /* The bit position of the reloc value in the destination.
2025  The relocated value is left shifted by this amount. */
2026  unsigned int bitpos;
2027 
2028  /* What type of overflow error should be checked for when
2029  relocating. */
2031 
2032  /* If this field is non null, then the supplied function is
2033  called rather than the normal function. This allows really
2034  strange relocation methods to be accommodated (e.g., i960 callj
2035  instructions). */
2037  bfd *, char **);
2038 
2039  /* The textual name of the relocation type. */
2040  char *name;
2041 
2042  /* Some formats record a relocation addend in the section contents
2043  rather than with the relocation. For ELF formats this is the
2044  distinction between USE_REL and USE_RELA (though the code checks
2045  for USE_REL == 1/0). The value of this field is TRUE if the
2046  addend is recorded with the section contents; when performing a
2047  partial link (ld -r) the section contents (the data) will be
2048  modified. The value of this field is FALSE if addends are
2049  recorded with the relocation (in arelent.addend); when performing
2050  a partial link the relocation will be modified.
2051  All relocations for all ELF USE_RELA targets should set this field
2052  to FALSE (values of TRUE should be looked on with suspicion).
2053  However, the converse is not true: not all relocations of all ELF
2054  USE_REL targets set this field to TRUE. Why this is so is peculiar
2055  to each particular target. For relocs that aren't used in partial
2056  links (e.g. GOT stuff) it doesn't matter what this is set to. */
2058 
2059  /* src_mask selects the part of the instruction (or data) to be used
2060  in the relocation sum. If the target relocations don't have an
2061  addend in the reloc, eg. ELF USE_REL, src_mask will normally equal
2062  dst_mask to extract the addend from the section contents. If
2063  relocations do have an addend in the reloc, eg. ELF USE_RELA, this
2064  field should be zero. Non-zero values for ELF USE_RELA targets are
2065  bogus as in those cases the value in the dst_mask part of the
2066  section contents should be treated as garbage. */
2068 
2069  /* dst_mask selects which parts of the instruction (or data) are
2070  replaced with a relocated value. */
2072 
2073  /* When some formats create PC relative instructions, they leave
2074  the value of the pc of the place being relocated in the offset
2075  slot of the instruction, so that a PC relative relocation can
2076  be made just by adding in an ordinary offset (e.g., sun3 a.out).
2077  Some formats leave the displacement part of an instruction
2078  empty (e.g., m88k bcs); this flag signals the fact. */
2080 };
2081 
2082 #define HOWTO(C, R, S, B, P, BI, O, SF, NAME, INPLACE, MASKSRC, MASKDST, PC) \
2083  { (unsigned)C, R, S, B, P, BI, O, SF, NAME, INPLACE, MASKSRC, MASKDST, PC }
2084 #define NEWHOWTO(FUNCTION, NAME, SIZE, REL, IN) \
2085  HOWTO(0, 0, SIZE, 0, REL, 0, complain_overflow_dont, FUNCTION, \
2086  NAME, FALSE, 0, 0, IN)
2087 
2088 #define EMPTY_HOWTO(C) \
2089  HOWTO((C), 0, 0, 0, FALSE, 0, complain_overflow_dont, NULL, \
2090  NULL, FALSE, 0, 0, FALSE)
2091 
2092 #define HOWTO_PREPARE(relocation, symbol) \
2093  { \
2094  if (symbol != NULL) { \
2095  if (bfd_is_com_section(symbol->section)) { \
2096  relocation = 0; \
2097  } else { \
2098  relocation = symbol->value; \
2099  } \
2100  } \
2101  }
2102 
2104 
2105 typedef struct relent_chain {
2109 
2111  unsigned int bitsize,
2112  unsigned int rightshift,
2113  unsigned int addrsize,
2114  bfd_vma relocation);
2115 
2117  arelent *reloc_entry,
2118  void *data,
2119  asection *input_section,
2120  bfd *output_bfd,
2121  char **error_message);
2122 
2124  arelent *reloc_entry,
2125  void *data, bfd_vma data_start,
2126  asection *input_section,
2127  char **error_message);
2128 
2131 
2132  /* Basic absolute relocations of N bits. */
2140 
2141  /* PC-relative relocations. Sometimes these are relative to the address
2142 of the relocation itself; sometimes they are relative to the start of
2143 the section containing the relocation. It depends on the specific target.
2144 
2145 The 24-bit relocation is used in some Intel 960 configurations. */
2152 
2153  /* Section relative relocations. Some targets need this for DWARF2. */
2155 
2156  /* For ELF. */
2178 
2179  /* Relocations used by 68K ELF. */
2183 
2184  /* Linkage-table relative. */
2192 
2193  /* Absolute 8-bit relocation, but used to form an address like 0xFFnn. */
2195 
2196  /* These PC-relative relocations are stored as word displacements --
2197 i.e., byte displacements shifted right two bits. The 30-bit word
2198 displacement (<<32_PCREL_S2>> -- 32 bits, shifted 2) is used on the
2199 SPARC. (SPARC tools generally refer to this as <<WDISP30>>.) The
2200 signed 16-bit displacement is used on the MIPS, and the 23-bit
2201 displacement is used on the Alpha. */
2205 
2206  /* High 22 bits and low 10 bits of 32-bit value, placed into lower bits of
2207 the target word. These are used on the SPARC. */
2210 
2211  /* For systems that allocate a Global Pointer register, these are
2212 displacements off that register. These relocation types are
2213 handled specially, because the value the register will have is
2214 decided relatively late. */
2217 
2218  /* Reloc types used for i960/b.out. */
2220 
2221  /* SPARC ELF relocations. There is probably some overlap with other
2222 relocation types already defined. */
2240 
2241  /* I think these are specific to SPARC a.out (e.g., Sun 4). */
2244 
2245 /* SPARC64 relocations */
2246 #define BFD_RELOC_SPARC_64 BFD_RELOC_64
2261 #define BFD_RELOC_SPARC_DISP64 BFD_RELOC_64_PCREL
2270 
2271  /* SPARC little endian relocation */
2273 
2274  /* SPARC TLS relocations */
2299 
2300  /* Alpha ECOFF and ELF relocations. Some of these treat the symbol or
2301 "addend" in some special way.
2302 For GPDISP_HI16 ("gpdisp") relocations, the symbol is ignored when
2303 writing; when reading, it will be the absolute section symbol. The
2304 addend is the displacement in bytes of the "lda" instruction from
2305 the "ldah" instruction (which is at the address of this reloc). */
2307 
2308  /* For GPDISP_LO16 ("ignore") relocations, the symbol is handled as
2309 with GPDISP_HI16 relocs. The addend is ignored when writing the
2310 relocations out, and is filled in with the file's GP value on
2311 reading, for convenience. */
2313 
2314  /* The ELF GPDISP relocation is exactly the same as the GPDISP_HI16
2315 relocation except that there is no accompanying GPDISP_LO16
2316 relocation. */
2318 
2319  /* The Alpha LITERAL/LITUSE relocs are produced by a symbol reference;
2320 the assembler turns it into a LDQ instruction to load the address of
2321 the symbol, and then fills in a register in the real instruction.
2322 
2323 The LITERAL reloc, at the LDQ instruction, refers to the .lita
2324 section symbol. The addend is ignored when writing, but is filled
2325 in with the file's GP value on reading, for convenience, as with the
2326 GPDISP_LO16 reloc.
2327 
2328 The ELF_LITERAL reloc is somewhere between 16_GOTOFF and GPDISP_LO16.
2329 It should refer to the symbol to be referenced, as with 16_GOTOFF,
2330 but it generates output not based on the position within the .got
2331 section, but relative to the GP value chosen for the file during the
2332 final link stage.
2333 
2334 The LITUSE reloc, on the instruction using the loaded address, gives
2335 information to the linker that it might be able to use to optimize
2336 away some literal section references. The symbol is ignored (read
2337 as the absolute section symbol), and the "addend" indicates the type
2338 of instruction using the register:
2339 1 - "memory" fmt insn
2340 2 - byte-manipulation (byte offset reg)
2341 3 - jsr (target of branch) */
2345 
2346  /* The HINT relocation indicates a value that should be filled into the
2347 "hint" field of a jmp/jsr/ret instruction, for possible branch-
2348 prediction logic which may be provided on some processors. */
2350 
2351  /* The LINKAGE relocation outputs a linkage pair in the object file,
2352 which is filled by the linker. */
2354 
2355  /* The CODEADDR relocation outputs a STO_CA in the object file,
2356 which is filled by the linker. */
2358 
2359  /* The GPREL_HI/LO relocations together form a 32-bit offset from the
2360 GP register. */
2363 
2364  /* Like BFD_RELOC_23_PCREL_S2, except that the source and target must
2365 share a common GP, and the target address is adjusted for
2366 STO_ALPHA_STD_GPLOAD. */
2368 
2369  /* Alpha thread-local storage relocations. */
2383 
2384  /* Bits 27..2 of the relocation address shifted right 2 bits;
2385 simple reloc otherwise. */
2387 
2388  /* The MIPS16 jump instruction. */
2390 
2391  /* MIPS16 GP relative reloc. */
2393 
2394  /* High 16 bits of 32-bit value; simple reloc. */
2396 
2397  /* High 16 bits of 32-bit value but the low 16 bits will be sign
2398 extended and added to form the final result. If the low 16
2399 bits form a negative number, we need to add one to the high value
2400 to compensate for the borrow when the low bits are added. */
2402 
2403  /* Low 16 bits. */
2405 
2406  /* High 16 bits of 32-bit pc-relative value */
2408 
2409  /* High 16 bits of 32-bit pc-relative value, adjusted */
2411 
2412  /* Low 16 bits of pc-relative value */
2414 
2415  /* MIPS16 high 16 bits of 32-bit value. */
2417 
2418  /* MIPS16 high 16 bits of 32-bit value but the low 16 bits will be sign
2419 extended and added to form the final result. If the low 16
2420 bits form a negative number, we need to add one to the high value
2421 to compensate for the borrow when the low bits are added. */
2423 
2424  /* MIPS16 low 16 bits. */
2426 
2427  /* Relocation against a MIPS literal section. */
2429 
2430  /* MIPS ELF relocations. */
2465 
2466  /* MIPS ELF relocations (VxWorks extensions). */
2469 
2470  /* Fujitsu Frv Relocations. */
2510 
2511  /* This is a 24bit GOT-relative reloc for the mn10300. */
2513 
2514  /* This is a 32bit GOT-relative reloc for the mn10300, offset by two bytes
2515 in the instruction. */
2517 
2518  /* This is a 24bit GOT-relative reloc for the mn10300, offset by two bytes
2519 in the instruction. */
2521 
2522  /* This is a 16bit GOT-relative reloc for the mn10300, offset by two bytes
2523 in the instruction. */
2525 
2526  /* Copy symbol at runtime. */
2528 
2529  /* Create GOT entry. */
2531 
2532  /* Create PLT entry. */
2534 
2535  /* Adjust by program base. */
2537 
2538  /* i386/elf relocations */
2562 
2563  /* x86-64/elf relocations */
2590 
2591  /* ns32k relocations */
2604 
2605  /* PDP11 relocations */
2608 
2609  /* Picojava relocs. Not all of these appear in object files. */
2616 
2617  /* Power(rs6000) and PowerPC relocations. */
2671 
2672  /* PowerPC and PowerPC64 thread-local storage relocations. */
2713 
2714  /* IBM 370/390 relocations */
2716 
2717  /* The type of reloc used to build a constructor table - at the moment
2718 probably a 32 bit wide absolute relocation, but the target can choose.
2719 It generally does map to one of the other relocation types. */
2721 
2722  /* ARM 26 bit pc-relative branch. The lowest two bits must be zero and are
2723 not stored in the instruction. */
2725 
2726  /* ARM 26 bit pc-relative branch. The lowest bit must be zero and is
2727 not stored in the instruction. The 2nd lowest bit comes from a 1 bit
2728 field in the instruction. */
2730 
2731  /* Thumb 22 bit pc-relative branch. The lowest bit must be zero and is
2732 not stored in the instruction. The 2nd lowest bit comes from a 1 bit
2733 field in the instruction. */
2735 
2736  /* ARM 26-bit pc-relative branch for an unconditional BL or BLX instruction. */
2738 
2739  /* ARM 26-bit pc-relative branch for B or conditional BL instruction. */
2741 
2742  /* Thumb 7-, 9-, 12-, 20-, 23-, and 25-bit pc-relative branches.
2743 The lowest bit must be zero and is not stored in the instruction.
2744 Note that the corresponding ELF RZ_ARM_THM_JUMPnn constant has an
2745 "nn" one smaller in all cases. Note further that BRANCH23
2746 corresponds to RZ_ARM_THM_CALL. */
2753 
2754  /* 12-bit immediate offset, used in ARM-format ldr and str instructions. */
2756 
2757  /* 5-bit immediate offset, used in Thumb-format ldr and str instructions. */
2759 
2760  /* Pc-relative or absolute relocation depending on target. Used for
2761 entries in .init_array sections. */
2763 
2764  /* Read-only segment base relative address. */
2766 
2767  /* Data segment base relative address. */
2769 
2770  /* This reloc is used for references to RTTI data from exception handling
2771 tables. The actual definition depends on the target. It may be a
2772 pc-relative or some form of GOT-indirect relocation. */
2774 
2775  /* 31-bit PC relative address. */
2777 
2778  /* Relocations for setting up GOTs and PLTs for shared libraries. */
2786 
2787  /* ARM thread-local storage relocations. */
2796 
2797  /* These relocs are only used within the ARM assembler. They are not
2798 (at present) written to any object files. */
2823 
2824  /* Renesas / SuperH SH relocs. Not all of these appear in object files. */
2915 
2916  /* ARC Cores relocs.
2917 ARC 22 bit pc-relative branch. The lowest two bits must be zero and are
2918 not stored in the instruction. The high 20 bits are installed in bits 26
2919 through 7 of the instruction. */
2921 
2922  /* ARC 26 bit absolute branch. The lowest two bits must be zero and are not
2923 stored in the instruction. The high 24 bits are installed in bits 23
2924 through 0. */
2926 
2927  /* ADI Blackfin 16 bit immediate absolute reloc. */
2929 
2930  /* ADI Blackfin 16 bit immediate absolute reloc higher 16 bits. */
2932 
2933  /* ADI Blackfin 'a' part of LSETUP. */
2935 
2936  /* ADI Blackfin. */
2938 
2939  /* ADI Blackfin 16 bit immediate absolute reloc lower 16 bits. */
2941 
2942  /* ADI Blackfin. */
2944 
2945  /* ADI Blackfin 'b' part of LSETUP. */
2947 
2948  /* ADI Blackfin. */
2950 
2951  /* ADI Blackfin Short jump, pcrel. */
2953 
2954  /* ADI Blackfin Call.x not implemented. */
2956 
2957  /* ADI Blackfin Long Jump pcrel. */
2959 
2960  /* ADI Blackfin FD-PIC relocations. */
2975 
2976  /* ADI Blackfin GOT relocation. */
2978 
2979  /* ADI Blackfin PLTPC relocation. */
2981 
2982  /* ADI Blackfin arithmetic relocation. */
2984 
2985  /* ADI Blackfin arithmetic relocation. */
2987 
2988  /* ADI Blackfin arithmetic relocation. */
2990 
2991  /* ADI Blackfin arithmetic relocation. */
2993 
2994  /* ADI Blackfin arithmetic relocation. */
2996 
2997  /* ADI Blackfin arithmetic relocation. */
2999 
3000  /* ADI Blackfin arithmetic relocation. */
3002 
3003  /* ADI Blackfin arithmetic relocation. */
3005 
3006  /* ADI Blackfin arithmetic relocation. */
3008 
3009  /* ADI Blackfin arithmetic relocation. */
3011 
3012  /* ADI Blackfin arithmetic relocation. */
3014 
3015  /* ADI Blackfin arithmetic relocation. */
3017 
3018  /* ADI Blackfin arithmetic relocation. */
3020 
3021  /* ADI Blackfin arithmetic relocation. */
3023 
3024  /* ADI Blackfin arithmetic relocation. */
3026 
3027  /* ADI Blackfin arithmetic relocation. */
3029 
3030  /* ADI Blackfin arithmetic relocation. */
3032 
3033  /* ADI Blackfin arithmetic relocation. */
3035 
3036  /* ADI Blackfin arithmetic relocation. */
3038 
3039  /* ADI Blackfin arithmetic relocation. */
3041 
3042  /* Mitsubishi D10V relocs.
3043 This is a 10-bit reloc with the right 2 bits
3044 assumed to be 0. */
3046 
3047  /* Mitsubishi D10V relocs.
3048 This is a 10-bit reloc with the right 2 bits
3049 assumed to be 0. This is the same as the previous reloc
3050 except it is in the left container, i.e.,
3051 shifted left 15 bits. */
3053 
3054  /* This is an 18-bit reloc with the right 2 bits
3055 assumed to be 0. */
3057 
3058  /* This is an 18-bit reloc with the right 2 bits
3059 assumed to be 0. */
3061 
3062  /* Mitsubishi D30V relocs.
3063 This is a 6-bit absolute reloc. */
3065 
3066  /* This is a 6-bit pc-relative reloc with
3067 the right 3 bits assumed to be 0. */
3069 
3070  /* This is a 6-bit pc-relative reloc with
3071 the right 3 bits assumed to be 0. Same
3072 as the previous reloc but on the right side
3073 of the container. */
3075 
3076  /* This is a 12-bit absolute reloc with the
3077 right 3 bitsassumed to be 0. */
3079 
3080  /* This is a 12-bit pc-relative reloc with
3081 the right 3 bits assumed to be 0. */
3083 
3084  /* This is a 12-bit pc-relative reloc with
3085 the right 3 bits assumed to be 0. Same
3086 as the previous reloc but on the right side
3087 of the container. */
3089 
3090  /* This is an 18-bit absolute reloc with
3091 the right 3 bits assumed to be 0. */
3093 
3094  /* This is an 18-bit pc-relative reloc with
3095 the right 3 bits assumed to be 0. */
3097 
3098  /* This is an 18-bit pc-relative reloc with
3099 the right 3 bits assumed to be 0. Same
3100 as the previous reloc but on the right side
3101 of the container. */
3103 
3104  /* This is a 32-bit absolute reloc. */
3106 
3107  /* This is a 32-bit pc-relative reloc. */
3109 
3110  /* DLX relocs */
3112 
3113  /* DLX relocs */
3115 
3116  /* DLX relocs */
3118 
3119  /* Renesas M16C/M32C Relocations. */
3124 
3125  /* Renesas M32R (formerly Mitsubishi M32R) relocs.
3126 This is a 24 bit absolute address. */
3128 
3129  /* This is a 10-bit pc-relative reloc with the right 2 bits assumed to be 0. */
3131 
3132  /* This is an 18-bit reloc with the right 2 bits assumed to be 0. */
3134 
3135  /* This is a 26-bit reloc with the right 2 bits assumed to be 0. */
3137 
3138  /* This is a 16-bit reloc containing the high 16 bits of an address
3139 used when the lower 16 bits are treated as unsigned. */
3141 
3142  /* This is a 16-bit reloc containing the high 16 bits of an address
3143 used when the lower 16 bits are treated as signed. */
3145 
3146  /* This is a 16-bit reloc containing the lower 16 bits of an address. */
3148 
3149  /* This is a 16-bit reloc containing the small data area offset for use in
3150 add3, load, and store instructions. */
3152 
3153  /* For PIC. */
3171 
3172  /* This is a 9-bit reloc */
3174 
3175  /* This is a 22-bit reloc */
3177 
3178  /* This is a 16 bit offset from the short data area pointer. */
3180 
3181  /* This is a 16 bit offset (of which only 15 bits are used) from the
3182 short data area pointer. */
3184 
3185  /* This is a 16 bit offset from the zero data area pointer. */
3187 
3188  /* This is a 16 bit offset (of which only 15 bits are used) from the
3189 zero data area pointer. */
3191 
3192  /* This is an 8 bit offset (of which only 6 bits are used) from the
3193 tiny data area pointer. */
3195 
3196  /* This is an 8bit offset (of which only 7 bits are used) from the tiny
3197 data area pointer. */
3199 
3200  /* This is a 7 bit offset from the tiny data area pointer. */
3202 
3203  /* This is a 16 bit offset from the tiny data area pointer. */
3205 
3206  /* This is a 5 bit offset (of which only 4 bits are used) from the tiny
3207 data area pointer. */
3209 
3210  /* This is a 4 bit offset from the tiny data area pointer. */
3212 
3213  /* This is a 16 bit offset from the short data area pointer, with the
3214 bits placed non-contiguously in the instruction. */
3216 
3217  /* This is a 16 bit offset from the zero data area pointer, with the
3218 bits placed non-contiguously in the instruction. */
3220 
3221  /* This is a 6 bit offset from the call table base pointer. */
3223 
3224  /* This is a 16 bit offset from the call table base pointer. */
3226 
3227  /* Used for relaxing indirect function calls. */
3229 
3230  /* Used for relaxing indirect jumps. */
3232 
3233  /* Used to maintain alignment whilst relaxing. */
3235 
3236  /* This is a variation of BFD_RELOC_LO16 that can be used in v850e ld.bu
3237 instructions. */
3239 
3240  /* This is a 32bit pcrel reloc for the mn10300, offset by two bytes in the
3241 instruction. */
3243 
3244  /* This is a 16bit pcrel reloc for the mn10300, offset by two bytes in the
3245 instruction. */
3247 
3248  /* This is a 8bit DP reloc for the tms320c30, where the most
3249 significant 8 bits of a 24 bit word are placed into the least
3250 significant 8 bits of the opcode. */
3252 
3253  /* This is a 7bit reloc for the tms320c54x, where the least
3254 significant 7 bits of a 16 bit word are placed into the least
3255 significant 7 bits of the opcode. */
3257 
3258  /* This is a 9bit DP reloc for the tms320c54x, where the most
3259 significant 9 bits of a 16 bit word are placed into the least
3260 significant 9 bits of the opcode. */
3262 
3263  /* This is an extended address 23-bit reloc for the tms320c54x. */
3265 
3266  /* This is a 16-bit reloc for the tms320c54x, where the least
3267 significant 16 bits of a 23-bit extended address are placed into
3268 the opcode. */
3270 
3271  /* This is a reloc for the tms320c54x, where the most
3272 significant 7 bits of a 23-bit extended address are placed into
3273 the opcode. */
3275 
3276  /* This is a 48 bit reloc for the FR30 that stores 32 bits. */
3278 
3279  /* This is a 32 bit reloc for the FR30 that stores 20 bits split up into
3280 two sections. */
3282 
3283  /* This is a 16 bit reloc for the FR30 that stores a 6 bit word offset in
3284 4 bits. */
3286 
3287  /* This is a 16 bit reloc for the FR30 that stores an 8 bit byte offset
3288 into 8 bits. */
3290 
3291  /* This is a 16 bit reloc for the FR30 that stores a 9 bit short offset
3292 into 8 bits. */
3294 
3295  /* This is a 16 bit reloc for the FR30 that stores a 10 bit word offset
3296 into 8 bits. */
3298 
3299  /* This is a 16 bit reloc for the FR30 that stores a 9 bit pc relative
3300 short offset into 8 bits. */
3302 
3303  /* This is a 16 bit reloc for the FR30 that stores a 12 bit pc relative
3304 short offset into 11 bits. */
3306 
3307  /* Motorola Mcore relocations. */
3314 
3315  /* These are relocations for the GETA instruction. */
3320 
3321  /* These are relocations for a conditional branch instruction. */
3327 
3328  /* These are relocations for the PUSHJ instruction. */
3334 
3335  /* These are relocations for the JMP instruction. */
3340 
3341  /* This is a relocation for a relative address as in a GETA instruction or
3342 a branch. */
3344 
3345  /* This is a relocation for a relative address as in a JMP instruction. */
3347 
3348  /* This is a relocation for an instruction field that may be a general
3349 register or a value 0..255. */
3351 
3352  /* This is a relocation for an instruction field that may be a general
3353 register. */
3355 
3356  /* This is a relocation for two instruction fields holding a register and
3357 an offset, the equivalent of the relocation. */
3359 
3360  /* This relocation is an assertion that the expression is not allocated as
3361 a global register. It does not modify contents. */
3363 
3364  /* This is a 16 bit reloc for the AVR that stores 8 bit pc relative
3365 short offset into 7 bits. */
3367 
3368  /* This is a 16 bit reloc for the AVR that stores 13 bit pc relative
3369 short offset into 12 bits. */
3371 
3372  /* This is a 16 bit reloc for the AVR that stores 17 bit value (usually
3373 program memory address) into 16 bits. */
3375 
3376  /* This is a 16 bit reloc for the AVR that stores 8 bit value (usually
3377 data memory address) into 8 bit immediate value of LDI insn. */
3379 
3380  /* This is a 16 bit reloc for the AVR that stores 8 bit value (high 8 bit
3381 of data memory address) into 8 bit immediate value of LDI insn. */
3383 
3384  /* This is a 16 bit reloc for the AVR that stores 8 bit value (most high 8 bit
3385 of program memory address) into 8 bit immediate value of LDI insn. */
3387 
3388  /* This is a 16 bit reloc for the AVR that stores 8 bit value (most high 8 bit
3389 of 32 bit value) into 8 bit immediate value of LDI insn. */
3391 
3392  /* This is a 16 bit reloc for the AVR that stores negated 8 bit value
3393 (usually data memory address) into 8 bit immediate value of SUBI insn. */
3395 
3396  /* This is a 16 bit reloc for the AVR that stores negated 8 bit value
3397 (high 8 bit of data memory address) into 8 bit immediate value of
3398 SUBI insn. */
3400 
3401  /* This is a 16 bit reloc for the AVR that stores negated 8 bit value
3402 (most high 8 bit of program memory address) into 8 bit immediate value
3403 of LDI or SUBI insn. */
3405 
3406  /* This is a 16 bit reloc for the AVR that stores negated 8 bit value (msb
3407 of 32 bit value) into 8 bit immediate value of LDI insn. */
3409 
3410  /* This is a 16 bit reloc for the AVR that stores 8 bit value (usually
3411 command address) into 8 bit immediate value of LDI insn. */
3413 
3414  /* This is a 16 bit reloc for the AVR that stores 8 bit value
3415 (command address) into 8 bit immediate value of LDI insn. If the address
3416 is beyond the 128k boundary, the linker inserts a jump stub for this reloc
3417 in the lower 128k. */
3419 
3420  /* This is a 16 bit reloc for the AVR that stores 8 bit value (high 8 bit
3421 of command address) into 8 bit immediate value of LDI insn. */
3423 
3424  /* This is a 16 bit reloc for the AVR that stores 8 bit value (high 8 bit
3425 of command address) into 8 bit immediate value of LDI insn. If the address
3426 is beyond the 128k boundary, the linker inserts a jump stub for this reloc
3427 below 128k. */
3429 
3430  /* This is a 16 bit reloc for the AVR that stores 8 bit value (most high 8 bit
3431 of command address) into 8 bit immediate value of LDI insn. */
3433 
3434  /* This is a 16 bit reloc for the AVR that stores negated 8 bit value
3435 (usually command address) into 8 bit immediate value of SUBI insn. */
3437 
3438  /* This is a 16 bit reloc for the AVR that stores negated 8 bit value
3439 (high 8 bit of 16 bit command address) into 8 bit immediate value
3440 of SUBI insn. */
3442 
3443  /* This is a 16 bit reloc for the AVR that stores negated 8 bit value
3444 (high 6 bit of 22 bit command address) into 8 bit immediate
3445 value of SUBI insn. */
3447 
3448  /* This is a 32 bit reloc for the AVR that stores 23 bit value
3449 into 22 bits. */
3451 
3452  /* This is a 16 bit reloc for the AVR that stores all needed bits
3453 for absolute addressing with ldi with overflow check to linktime */
3455 
3456  /* This is a 6 bit reloc for the AVR that stores offset for ldd/std
3457 instructions */
3459 
3460  /* This is a 6 bit reloc for the AVR that stores offset for adiw/sbiw
3461 instructions */
3463 
3464  /* Direct 12 bit. */
3466 
3467  /* 12 bit GOT offset. */
3469 
3470  /* 32 bit PC relative PLT address. */
3472 
3473  /* Copy symbol at runtime. */
3475 
3476  /* Create GOT entry. */
3478 
3479  /* Create PLT entry. */
3481 
3482  /* Adjust by program base. */
3484 
3485  /* 32 bit PC relative offset to GOT. */
3487 
3488  /* 16 bit GOT offset. */
3490 
3491  /* PC relative 16 bit shifted by 1. */
3493 
3494  /* 16 bit PC rel. PLT shifted by 1. */
3496 
3497  /* PC relative 32 bit shifted by 1. */
3499 
3500  /* 32 bit PC rel. PLT shifted by 1. */
3502 
3503  /* 32 bit PC rel. GOT shifted by 1. */
3505 
3506  /* 64 bit GOT offset. */
3508 
3509  /* 64 bit PC relative PLT address. */
3511 
3512  /* 32 bit rel. offset to GOT entry. */
3514 
3515  /* 64 bit offset to GOT. */
3517 
3518  /* 12-bit offset to symbol-entry within GOT, with PLT handling. */
3520 
3521  /* 16-bit offset to symbol-entry within GOT, with PLT handling. */
3523 
3524  /* 32-bit offset to symbol-entry within GOT, with PLT handling. */
3526 
3527  /* 64-bit offset to symbol-entry within GOT, with PLT handling. */
3529 
3530  /* 32-bit rel. offset to symbol-entry within GOT, with PLT handling. */
3532 
3533  /* 16-bit rel. offset from the GOT to a PLT entry. */
3535 
3536  /* 32-bit rel. offset from the GOT to a PLT entry. */
3538 
3539  /* 64-bit rel. offset from the GOT to a PLT entry. */
3541 
3542  /* s390 tls relocations. */
3563 
3564  /* Long displacement extension. */
3569 
3570  /* Scenix IP2K - 9-bit register number / data address */
3572 
3573  /* Scenix IP2K - 4-bit register/data bank number */
3575 
3576  /* Scenix IP2K - low 13 bits of instruction word address */
3578 
3579  /* Scenix IP2K - high 3 bits of instruction word address */
3581 
3582  /* Scenix IP2K - ext/low/high 8 bits of data address */
3586 
3587  /* Scenix IP2K - low/high 8 bits of instruction word address */
3590 
3591  /* Scenix IP2K - even/odd PC modifier to modify snb pcl.0 */
3593 
3594  /* Scenix IP2K - 16 bit word address in text section. */
3596 
3597  /* Scenix IP2K - 7-bit sp or dp offset */
3599 
3600  /* Scenix VPE4K coprocessor - data/insn-space addressing */
3603 
3604  /* These two relocations are used by the linker to determine which of
3605 the entries in a C++ virtual function table are actually used. When
3606 the --gc-sections option is given, the linker will zero out the entries
3607 that are not used, so that the code for those functions need not be
3608 included in the output.
3609 
3610 VTABLE_INHERIT is a zero-space relocation used to describe to the
3611 linker the inheritance tree of a C++ virtual function table. The
3612 relocation's symbol should be the parent class' vtable, and the
3613 relocation should be located at the child vtable.
3614 
3615 VTABLE_ENTRY is a zero-space relocation that describes the use of a
3616 virtual function table entry. The reloc's symbol should refer to the
3617 table of the class mentioned in the code. Off of that base, an offset
3618 describes the entry that is being used. For Rela hosts, this offset
3619 is stored in the reloc's addend. For Rel hosts, we are forced to put
3620 this offset in the reloc's section offset. */
3623 
3624  /* Intel IA64 Relocations. */
3704 
3705  /* Motorola 68HC11 reloc.
3706 This is the 8 bit high part of an absolute address. */
3708 
3709  /* Motorola 68HC11 reloc.
3710 This is the 8 bit low part of an absolute address. */
3712 
3713  /* Motorola 68HC11 reloc.
3714 This is the 3 bit of a value. */
3716 
3717  /* Motorola 68HC11 reloc.
3718 This reloc marks the beginning of a jump/call instruction.
3719 It is used for linker relaxation to correctly identify beginning
3720 of instruction and change some branches to use PC-relative
3721 addressing mode. */
3723 
3724  /* Motorola 68HC11 reloc.
3725 This reloc marks a group of several instructions that gcc generates
3726 and for which the linker relaxation pass can modify and/or remove
3727 some of them. */
3729 
3730  /* Motorola 68HC11 reloc.
3731 This is the 16-bit lower part of an address. It is used for 'call'
3732 instruction to specify the symbol address without any special
3733 transformation (due to memory bank window). */
3735 
3736  /* Motorola 68HC11 reloc.
3737 This is a 8-bit reloc that specifies the page number of an address.
3738 It is used by 'call' instruction to specify the page number of
3739 the symbol. */
3741 
3742  /* Motorola 68HC11 reloc.
3743 This is a 24-bit reloc that represents the address with a 16-bit
3744 value and a 8-bit page number. The symbol address is transformed
3745 to follow the 16K memory bank of 68HC12 (seen as mapped in the window). */
3747 
3748  /* Motorola 68HC12 reloc.
3749 This is the 5 bits of a value. */
3751 
3752  /* NS CR16C Relocations. */
3793 
3794  /* NS CRX Relocations. */
3815 
3816  /* These relocs are only used within the CRIS assembler. They are not
3817 (at present) written to any object files. */
3828 
3829  /* Relocs used in ELF shared libraries for CRIS. */
3834 
3835  /* 32-bit offset to symbol-entry within GOT. */
3837 
3838  /* 16-bit offset to symbol-entry within GOT. */
3840 
3841  /* 32-bit offset to symbol-entry within GOT, with PLT handling. */
3843 
3844  /* 16-bit offset to symbol-entry within GOT, with PLT handling. */
3846 
3847  /* 32-bit offset to symbol, relative to GOT. */
3849 
3850  /* 32-bit offset to symbol with PLT entry, relative to GOT. */
3852 
3853  /* 32-bit offset to symbol with PLT entry, relative to this relocation. */
3855 
3856  /* Intel i860 Relocations. */
3889 
3890  /* OpenRISC Relocations. */
3893 
3894  /* H8 elf Relocations. */
3900 
3901  /* Sony Xstormy16 Relocations. */
3906 
3907  /* Infineon Relocations. */
3912 
3913  /* Relocations used by VAX ELF. */
3917 
3918  /* Morpho MT - 16 bit immediate relocation. */
3920 
3921  /* Morpho MT - Hi 16 bits of an address. */
3923 
3924  /* Morpho MT - Low 16 bits of an address. */
3926 
3927  /* Morpho MT - Used to tell the linker which vtable entries are used. */
3929 
3930  /* Morpho MT - Used to tell the linker which vtable entries are used. */
3932 
3933  /* Morpho MT - 8 bit immediate relocation. */
3935 
3936  /* msp430 specific relocation codes */
3944 
3945  /* IQ2000 Relocations. */
3949 
3950  /* Special Xtensa relocation used only by PLT entries in ELF shared
3951 objects to indicate that the runtime linker should set the value
3952 to one of its own internal functions or data structures. */
3954 
3955  /* Xtensa relocations for ELF shared objects. */
3959 
3960  /* Xtensa relocation used in ELF object files for symbols that may require
3961 PLT entries. Otherwise, this is just a generic 32-bit relocation. */
3963 
3964  /* Xtensa relocations to mark the difference of two local symbols.
3965 These are only needed to support linker relaxation and can be ignored
3966 when not relaxing. The field is set to the value of the difference
3967 assuming no relaxation. The relocation encodes the position of the
3968 first symbol so the linker can determine whether to adjust the field
3969 value. */
3973 
3974  /* Generic Xtensa relocations for instruction operands. Only the slot
3975 number is encoded in the relocation. The relocation applies to the
3976 last PC-relative immediate operand, or if there are no PC-relative
3977 immediates, to the last immediate operand. */
3993 
3994  /* Alternate Xtensa relocations. Only the slot is encoded in the
3995 relocation. The meaning of these relocations is opcode-specific. */
4011 
4012  /* Xtensa relocations for backward compatibility. These have all been
4013 replaced by BFD_RELOC_XTENSA_SLOT0_OP. */
4017 
4018  /* Xtensa relocation to mark that the assembler expanded the
4019 instructions from an original target. The expansion size is
4020 encoded in the reloc size. */
4022 
4023  /* Xtensa relocation to mark that the linker should simplify
4024 assembler-expanded instructions. This is commonly used
4025 internally by the linker after analysis of a
4026 BFD_RELOC_XTENSA_ASM_EXPAND. */
4028 
4029  /* 8 bit signed offset in (ix+d) or (iy+d). */
4031 
4032  /* DJNZ offset. */
4034 
4035  /* CALR offset. */
4037 
4038  /* 4 bit value. */
4041 };
4044 
4046 
4047 /* Extracted from syms.c. */
4048 
4049 typedef struct bfd_symbol {
4050  /* A pointer to the BFD which owns the symbol. This information
4051  is necessary so that a back end can work out what additional
4052  information (invisible to the application writer) is carried
4053  with the symbol.
4054 
4055  This field is *almost* redundant, since you can use section->owner
4056  instead, except that some symbols point to the global sections
4057  bfd_{abs,com,und}_section. This could be fixed by making
4058  these globals be per-bfd (or per-target-flavor). FIXME. */
4059  struct bfd *the_bfd; /* Use bfd_asymbol_bfd(sym) to access this field. */
4060 
4061  /* The text of the symbol. The name is left alone, and not copied; the
4062  application may not alter it. */
4063  const char *name;
4064 
4065  /* The value of the symbol. This really should be a union of a
4066  numeric value with a pointer, since some flags indicate that
4067  a pointer to another symbol is stored here. */
4069 
4070  /* Attributes of a symbol. */
4071 #define BSF_NO_FLAGS 0x00
4072 
4073  /* The symbol has local scope; <<static>> in <<C>>. The value
4074  is the offset into the section of the data. */
4075 #define BSF_LOCAL 0x01
4076 
4077  /* The symbol has global scope; initialized data in <<C>>. The
4078  value is the offset into the section of the data. */
4079 #define BSF_GLOBAL 0x02
4080 
4081  /* The symbol has global scope and is exported. The value is
4082  the offset into the section of the data. */
4083 #define BSF_EXPORT BSF_GLOBAL /* No real difference. */
4084 
4085  /* A normal C symbol would be one of:
4086  <<BSF_LOCAL>>, <<BSF_FORT_COMM>>, <<BSF_UNDEFINED>> or
4087  <<BSF_GLOBAL>>. */
4088 
4089  /* The symbol is a debugging record. The value has an arbitrary
4090  meaning, unless BSF_DEBUGGING_RELOC is also set. */
4091 #define BSF_DEBUGGING 0x08
4092 
4093  /* The symbol denotes a function entry point. Used in ELF,
4094  perhaps others someday. */
4095 #define BSF_FUNCTION 0x10
4096 
4097  /* Used by the linker. */
4098 #define BSF_KEEP 0x20
4099 #define BSF_KEEP_G 0x40
4100 
4101  /* A weak global symbol, overridable without warnings by
4102  a regular global symbol of the same name. */
4103 #define BSF_WEAK 0x80
4104 
4105  /* This symbol was created to point to a section, e.g. ELF's
4106  STT_SECTION symbols. */
4107 #define BSF_SECTION_SYM 0x100
4108 
4109  /* The symbol used to be a common symbol, but now it is
4110  allocated. */
4111 #define BSF_OLD_COMMON 0x200
4112 
4113  /* The default value for common data. */
4114 #define BFD_FORT_COMM_DEFAULT_VALUE 0
4115 
4116  /* In some files the type of a symbol sometimes alters its
4117  location in an output file - ie in coff a <<ISFCN>> symbol
4118  which is also <<C_EXT>> symbol appears where it was
4119  declared and not at the end of a section. This bit is set
4120  by the target BFD part to convey this information. */
4121 #define BSF_NOT_AT_END 0x400
4122 
4123  /* Signal that the symbol is the label of constructor section. */
4124 #define BSF_CONSTRUCTOR 0x800
4125 
4126  /* Signal that the symbol is a warning symbol. The name is a
4127  warning. The name of the next symbol is the one to warn about;
4128  if a reference is made to a symbol with the same name as the next
4129  symbol, a warning is issued by the linker. */
4130 #define BSF_WARNING 0x1000
4131 
4132  /* Signal that the symbol is indirect. This symbol is an indirect
4133  pointer to the symbol with the same name as the next symbol. */
4134 #define BSF_INDIRECT 0x2000
4135 
4136  /* BSF_FILE marks symbols that contain a file name. This is used
4137  for ELF STT_FILE symbols. */
4138 #define BSF_FILE 0x4000
4139 
4140  /* Symbol is from dynamic linking information. */
4141 #define BSF_DYNAMIC 0x8000
4142 
4143  /* The symbol denotes a data object. Used in ELF, and perhaps
4144  others someday. */
4145 #define BSF_OBJECT 0x10000
4146 
4147  /* This symbol is a debugging symbol. The value is the offset
4148  into the section of the data. BSF_DEBUGGING should be set
4149  as well. */
4150 #define BSF_DEBUGGING_RELOC 0x20000
4151 
4152  /* This symbol is thread local. Used in ELF. */
4153 #define BSF_THREAD_LOCAL 0x40000
4154 
4156 
4157  /* A pointer to the section to which this symbol is
4158  relative. This will always be non NULL, there are special
4159  sections for undefined and absolute symbols. */
4161 
4162  /* Back end special data. */
4163  union {
4164  void *p;
4168 
4169 #define bfd_get_symtab_upper_bound(abfd) \
4170  BFD_SEND(abfd, _bfd_get_symtab_upper_bound, (abfd))
4171 
4173 
4175 
4176 #define bfd_is_local_label_name(abfd, name) \
4177  BFD_SEND(abfd, _bfd_is_local_label_name, (abfd, name))
4178 
4180 
4181 #define bfd_is_target_special_symbol(abfd, sym) \
4182  BFD_SEND(abfd, _bfd_is_target_special_symbol, (abfd, sym))
4183 
4184 #define bfd_canonicalize_symtab(abfd, location) \
4185  BFD_SEND(abfd, _bfd_canonicalize_symtab, (abfd, location))
4186 
4187 bfd_boolean bfd_set_symtab(bfd *abfd, asymbol **location, unsigned int count);
4188 
4189 void bfd_print_symbol_vandf(bfd *abfd, void *file, asymbol *symbol);
4190 
4191 #define bfd_make_empty_symbol(abfd) \
4192  BFD_SEND(abfd, _bfd_make_empty_symbol, (abfd))
4193 
4195 
4196 #define bfd_make_debug_symbol(abfd, ptr, size) \
4197  BFD_SEND(abfd, _bfd_make_debug_symbol, (abfd, ptr, size))
4198 
4200 
4202 
4204 
4206 
4207 #define bfd_copy_private_symbol_data(ibfd, isymbol, obfd, osymbol) \
4208  BFD_SEND(obfd, _bfd_copy_private_symbol_data, \
4209  (ibfd, isymbol, obfd, osymbol))
4210 
4211 /* Extracted from bfd.c. */
4212 struct bfd {
4213  /* A unique identifier of the BFD */
4214  unsigned int id;
4215 
4216  /* The filename the application opened the BFD with. */
4217  const char *filename;
4218 
4219  /* A pointer to the target jump table. */
4220  const struct bfd_target *xvec;
4221 
4222  /* The IOSTREAM, and corresponding IO vector that provide access
4223  to the file backing the BFD. */
4224  void *iostream;
4225  const struct bfd_iovec *iovec;
4226 
4227  /* Is the file descriptor being cached? That is, can it be closed as
4228  needed, and re-opened when accessed later? */
4230 
4231  /* Marks whether there was a default target specified when the
4232  BFD was opened. This is used to select which matching algorithm
4233  to use to choose the back end. */
4235 
4236  /* The caching routines use these to maintain a
4237  least-recently-used list of BFDs. */
4238  struct bfd *lru_prev, *lru_next;
4239 
4240  /* When a file is closed by the caching routines, BFD retains
4241  state information on the file here... */
4243 
4244  /* ... and here: (``once'' means at least once). */
4246 
4247  /* Set if we have a locally maintained mtime value, rather than
4248  getting it from the file each time. */
4250 
4251  /* File modified time, if mtime_set is TRUE. */
4252  long mtime;
4253 
4254  /* Reserved for an unimplemented file locking extension. */
4255  int ifd;
4256 
4257  /* The format which belongs to the BFD. (object, core, etc.) */
4259 
4260  /* The direction with which the BFD was opened. */
4265  both_direction = 3
4267 
4268  /* Format_specific flags. */
4270 
4271  /* Currently my_archive is tested before adding origin to
4272  anything. I believe that this can become always an add of
4273  origin, with origin set to 0 for non archive files. */
4275 
4276  /* Remember when output has begun, to stop strange things
4277  from happening. */
4279 
4280  /* A hash table for section names. */
4282 
4283  /* Pointer to linked list of sections. */
4285 
4286  /* The last section on the section list. */
4288 
4289  /* The number of sections. */
4290  unsigned int section_count;
4291 
4292  /* Stuff only useful for object files:
4293  The start address. */
4295 
4296  /* Used for input and output. */
4297  unsigned int symcount;
4298 
4299  /* Symbol table for output BFD (with symcount entries). */
4301 
4302  /* Used for slurped dynamic symbol tables. */
4303  unsigned int dynsymcount;
4304 
4305  /* Pointer to structure which contains architecture information. */
4306  const struct bfd_arch_info *arch_info;
4307 
4308  /* Flag set if symbols from this BFD should not be exported. */
4310 
4311  /* Stuff only useful for archives. */
4312  void *arelt_data;
4313  struct bfd *my_archive; /* The containing archive BFD. */
4314  struct bfd *next; /* The next BFD in the archive. */
4315  struct bfd *archive_head; /* The first BFD in the archive. */
4317 
4318  /* A chain of BFD structures involved in a link. */
4319  struct bfd *link_next;
4320 
4321  /* A field used by _bfd_generic_link_add_archive_symbols. This will
4322  be used only for archive elements. */
4324 
4325  /* Used by the back end to hold private data. */
4326  union {
4327  struct aout_data_struct *aout_data;
4328  struct artdata *aout_ar_data;
4329  struct _oasys_data *oasys_obj_data;
4330  struct _oasys_ar_data *oasys_ar_data;
4331  struct coff_tdata *coff_obj_data;
4332  struct pe_tdata *pe_obj_data;
4333  struct xcoff_tdata *xcoff_obj_data;
4334  struct ecoff_tdata *ecoff_obj_data;
4335  struct ieee_data_struct *ieee_data;
4336  struct ieee_ar_data_struct *ieee_ar_data;
4337  struct srec_data_struct *srec_data;
4338  struct ihex_data_struct *ihex_data;
4339  struct tekhex_data_struct *tekhex_data;
4341  struct nlm_obj_tdata *nlm_obj_data;
4342  struct bout_data_struct *bout_data;
4343  struct mmo_data_struct *mmo_data;
4344  struct sun_core_struct *sun_core_data;
4345  struct sco5_core_struct *sco5_core_data;
4346  struct trad_core_struct *trad_core_data;
4347  struct som_data_struct *som_data;
4348  struct hpux_core_struct *hpux_core_data;
4349  struct hppabsd_core_struct *hppabsd_core_data;
4350  struct sgi_core_struct *sgi_core_data;
4351  struct lynx_core_struct *lynx_core_data;
4352  struct osf_core_struct *osf_core_data;
4353  struct cisco_core_struct *cisco_core_data;
4354  struct versados_data_struct *versados_data;
4355  struct netbsd_core_struct *netbsd_core_data;
4356  struct mach_o_data_struct *mach_o_data;
4357  struct mach_o_fat_data_struct *mach_o_fat_data;
4358  struct bfd_pef_data_struct *pef_data;
4359  struct bfd_pef_xlib_data_struct *pef_xlib_data;
4360  struct bfd_sym_data_struct *sym_data;
4361  void *any;
4363 
4364  /* Used by the application to hold private data. */
4365  void *usrdata;
4366 
4367  /* Where all the allocated stuff under this BFD goes. This is a
4368  struct objalloc *, but we use void * to avoid requiring the inclusion
4369  of objalloc.h. */
4370  void *memory;
4371 };
4372 
4373 typedef enum bfd_error {
4395 
4397 
4399 
4400 const char *bfd_errmsg(bfd_error_type error_tag);
4401 
4402 void bfd_perror(const char *message);
4403 
4404 typedef void (*bfd_error_plugin_type)(const char *, ...);
4405 
4407 
4408 void bfd_set_error_program_name(const char *);
4409 
4411 
4413 
4414 long bfd_canonicalize_reloc(bfd *abfd, asection *sec, arelent **loc, asymbol **syms);
4415 
4416 void bfd_set_reloc(bfd *abfd, asection *sec, arelent **rel, unsigned int count);
4417 
4419 
4420 int bfd_get_arch_size(bfd *abfd);
4421 
4422 int bfd_get_sign_extend_vma(bfd *abfd);
4423 
4425 
4426 unsigned int bfd_get_gp_size(bfd *abfd);
4427 
4428 void bfd_set_gp_size(bfd *abfd, unsigned int i);
4429 
4430 bfd_vma bfd_scan_vma(const char *string, const char **end, int base);
4431 
4433 
4434 #define bfd_copy_private_header_data(ibfd, obfd) \
4435  BFD_SEND(obfd, _bfd_copy_private_header_data, \
4436  (ibfd, obfd))
4438 
4439 #define bfd_copy_private_bfd_data(ibfd, obfd) \
4440  BFD_SEND(obfd, _bfd_copy_private_bfd_data, \
4441  (ibfd, obfd))
4443 
4444 #define bfd_merge_private_bfd_data(ibfd, obfd) \
4445  BFD_SEND(obfd, _bfd_merge_private_bfd_data, \
4446  (ibfd, obfd))
4448 
4449 #define bfd_set_private_flags(abfd, flags) \
4450  BFD_SEND(abfd, _bfd_set_private_flags, (abfd, flags))
4451 #define bfd_sizeof_headers(abfd, reloc) \
4452  BFD_SEND(abfd, _bfd_sizeof_headers, (abfd, reloc))
4453 
4454 #define bfd_find_nearest_line(abfd, sec, syms, off, file, func, line) \
4455  BFD_SEND(abfd, _bfd_find_nearest_line, \
4456  (abfd, sec, syms, off, file, func, line))
4457 
4458 #define bfd_find_line(abfd, syms, sym, file, line) \
4459  BFD_SEND(abfd, _bfd_find_line, \
4460  (abfd, syms, sym, file, line))
4461 
4462 #define bfd_find_inliner_info(abfd, file, func, line) \
4463  BFD_SEND(abfd, _bfd_find_inliner_info, \
4464  (abfd, file, func, line))
4465 
4466 #define bfd_debug_info_start(abfd) \
4467  BFD_SEND(abfd, _bfd_debug_info_start, (abfd))
4468 
4469 #define bfd_debug_info_end(abfd) \
4470  BFD_SEND(abfd, _bfd_debug_info_end, (abfd))
4471 
4472 #define bfd_debug_info_accumulate(abfd, section) \
4473  BFD_SEND(abfd, _bfd_debug_info_accumulate, (abfd, section))
4474 
4475 #define bfd_stat_arch_elt(abfd, stat) \
4476  BFD_SEND(abfd, _bfd_stat_arch_elt, (abfd, stat))
4477 
4478 #define bfd_update_armap_timestamp(abfd) \
4479  BFD_SEND(abfd, _bfd_update_armap_timestamp, (abfd))
4480 
4481 #define bfd_set_arch_mach(abfd, arch, mach) \
4482  BFD_SEND(abfd, _bfd_set_arch_mach, (abfd, arch, mach))
4483 
4484 #define bfd_relax_section(abfd, section, link_info, again) \
4485  BFD_SEND(abfd, _bfd_relax_section, (abfd, section, link_info, again))
4486 
4487 #define bfd_gc_sections(abfd, link_info) \
4488  BFD_SEND(abfd, _bfd_gc_sections, (abfd, link_info))
4489 
4490 #define bfd_merge_sections(abfd, link_info) \
4491  BFD_SEND(abfd, _bfd_merge_sections, (abfd, link_info))
4492 
4493 #define bfd_is_group_section(abfd, sec) \
4494  BFD_SEND(abfd, _bfd_is_group_section, (abfd, sec))
4495 
4496 #define bfd_discard_group(abfd, sec) \
4497  BFD_SEND(abfd, _bfd_discard_group, (abfd, sec))
4498 
4499 #define bfd_link_hash_table_create(abfd) \
4500  BFD_SEND(abfd, _bfd_link_hash_table_create, (abfd))
4501 
4502 #define bfd_link_hash_table_free(abfd, hash) \
4503  BFD_SEND(abfd, _bfd_link_hash_table_free, (hash))
4504 
4505 #define bfd_link_add_symbols(abfd, info) \
4506  BFD_SEND(abfd, _bfd_link_add_symbols, (abfd, info))
4507 
4508 #define bfd_link_just_syms(abfd, sec, info) \
4509  BFD_SEND(abfd, _bfd_link_just_syms, (sec, info))
4510 
4511 #define bfd_final_link(abfd, info) \
4512  BFD_SEND(abfd, _bfd_final_link, (abfd, info))
4513 
4514 #define bfd_free_cached_info(abfd) \
4515  BFD_SEND(abfd, _bfd_free_cached_info, (abfd))
4516 
4517 #define bfd_get_dynamic_symtab_upper_bound(abfd) \
4518  BFD_SEND(abfd, _bfd_get_dynamic_symtab_upper_bound, (abfd))
4519 
4520 #define bfd_print_private_bfd_data(abfd, file) \
4521  BFD_SEND(abfd, _bfd_print_private_bfd_data, (abfd, file))
4522 
4523 #define bfd_canonicalize_dynamic_symtab(abfd, asymbols) \
4524  BFD_SEND(abfd, _bfd_canonicalize_dynamic_symtab, (abfd, asymbols))
4525 
4526 #define bfd_get_synthetic_symtab(abfd, count, syms, dyncount, dynsyms, ret) \
4527  BFD_SEND(abfd, _bfd_get_synthetic_symtab, (abfd, count, syms, dyncount, dynsyms, ret))
4528 
4529 #define bfd_get_dynamic_reloc_upper_bound(abfd) \
4530  BFD_SEND(abfd, _bfd_get_dynamic_reloc_upper_bound, (abfd))
4531 
4532 #define bfd_canonicalize_dynamic_reloc(abfd, arels, asyms) \
4533  BFD_SEND(abfd, _bfd_canonicalize_dynamic_reloc, (abfd, arels, asyms))
4534 
4536  bfd_boolean, asymbol **);
4537 
4538 bfd_boolean bfd_alt_mach_code(bfd *abfd, int alternative);
4539 
4541  void *marker;
4542  void *tdata;
4544  const struct bfd_arch_info *arch_info;
4547  unsigned int section_count;
4549 };
4550 
4552 
4554 
4556 
4557 /* Extracted from archive.c. */
4559 
4561 
4563 
4564 /* Extracted from corefile.c. */
4566 
4568 
4570 
4572 
4573 /* Extracted from targets.c. */
4574 #define BFD_SEND(bfd, message, arglist) \
4575  ((*((bfd)->xvec->message))arglist)
4576 
4577 #ifdef DEBUG_BFD_SEND
4578 #undef BFD_SEND
4579 #define BFD_SEND(bfd, message, arglist) \
4580  (((bfd) && (bfd)->xvec && (bfd)->xvec->message) ? ((*((bfd)->xvec->message))arglist) : (bfd_assert(__FILE__, __LINE__), NULL))
4581 #endif
4582 #define BFD_SEND_FMT(bfd, message, arglist) \
4583  (((bfd)->xvec->message[(int)((bfd)->format)])arglist)
4584 
4585 #ifdef DEBUG_BFD_SEND
4586 #undef BFD_SEND_FMT
4587 #define BFD_SEND_FMT(bfd, message, arglist) \
4588  (((bfd) && (bfd)->xvec && (bfd)->xvec->message) ? (((bfd)->xvec->message[(int)((bfd)->format)])arglist) : (bfd_assert(__FILE__, __LINE__), NULL))
4589 #endif
4590 
4615 };
4616 
4620 
4621 /* Forward declaration. */
4622 typedef struct bfd_link_info _bfd_link_info;
4623 
4624 typedef struct bfd_target {
4625  /* Identifies the kind of target, e.g., SunOS4, Ultrix, etc. */
4626  char *name;
4627 
4628  /* The "flavour" of a back end is a general indication about
4629  the contents of a file. */
4630  enum bfd_flavour flavour;
4631 
4632  /* The order of bytes within the data area of a file. */
4633  enum bfd_endian byteorder;
4634 
4635  /* The order of bytes within the header parts of a file. */
4637 
4638  /* A mask of all the flags which an executable may have set -
4639  from the set <<BFD_NO_FLAGS>>, <<HAS_RELOC>>, ...<<D_PAGED>>. */
4641 
4642  /* A mask of all the flags which a section may have set - from
4643  the set <<SEC_NO_FLAGS>>, <<SEC_ALLOC>>, ...<<SET_NEVER_LOAD>>. */
4645 
4646  /* The character normally found at the front of a symbol.
4647  (if any), perhaps `_'. */
4649 
4650  /* The pad character for file names within an archive header. */
4652 
4653  /* The maximum number of characters in an archive header. */
4654  unsigned short ar_max_namelen;
4655 
4656  /* Entries for byte swapping for data. These are different from the
4657  other entry points, since they don't take a BFD as the first argument.
4658  Certain other handlers could do the same. */
4659  bfd_uint64_t (*bfd_getx64)(const void *);
4661  void (*bfd_putx64)(bfd_uint64_t, void *);
4662  bfd_vma (*bfd_getx32)(const void *);
4664  void (*bfd_putx32)(bfd_vma, void *);
4665  bfd_vma (*bfd_getx16)(const void *);
4667  void (*bfd_putx16)(bfd_vma, void *);
4668 
4669  /* Byte swapping for the headers. */
4670  bfd_uint64_t (*bfd_h_getx64)(const void *);
4672  void (*bfd_h_putx64)(bfd_uint64_t, void *);
4673  bfd_vma (*bfd_h_getx32)(const void *);
4675  void (*bfd_h_putx32)(bfd_vma, void *);
4676  bfd_vma (*bfd_h_getx16)(const void *);
4678  void (*bfd_h_putx16)(bfd_vma, void *);
4679 
4680  /* Format dependent routines: these are vectors of entry points
4681  within the target vector structure, one for each format to check. */
4682 
4683  /* Check the format of a file being read. Return a <<bfd_target *>> or zero. */
4684  const struct bfd_target *(*_bfd_check_format[bfd_type_end])(bfd *);
4685 
4686  /* Set the format of a file being written. */
4688 
4689  /* Write cached information into a file being written, at <<bfd_close>>. */
4691 
4692  /* Generic entry points. */
4693 #define BFD_JUMP_TABLE_GENERIC(NAME) \
4694  NAME##_close_and_cleanup, \
4695  NAME##_bfd_free_cached_info, \
4696  NAME##_new_section_hook, \
4697  NAME##_get_section_contents, \
4698  NAME##_get_section_contents_in_window
4699 
4700  /* Called when the BFD is being closed to do any necessary cleanup. */
4702  /* Ask the BFD to free all cached information. */
4704  /* Called when a new section is created. */
4706  /* Read the contents of a section. */
4709 
4710  /* Entry points to copy private data. */
4711 #define BFD_JUMP_TABLE_COPY(NAME) \
4712  NAME##_bfd_copy_private_bfd_data, \
4713  NAME##_bfd_merge_private_bfd_data, \
4714  _bfd_generic_init_private_section_data, \
4715  NAME##_bfd_copy_private_section_data, \
4716  NAME##_bfd_copy_private_symbol_data, \
4717  NAME##_bfd_copy_private_header_data, \
4718  NAME##_bfd_set_private_flags, \
4719  NAME##_bfd_print_private_bfd_data
4720 
4721  /* Called to copy BFD general private data from one object file
4722  to another. */
4724  /* Called to merge BFD general private data from one object file
4725  to a common output file when linking. */
4727  /* Called to initialize BFD private section data from one object file
4728  to another. */
4729 #define bfd_init_private_section_data(ibfd, isec, obfd, osec, link_info) \
4730  BFD_SEND(obfd, _bfd_init_private_section_data, (ibfd, isec, obfd, osec, link_info))
4732  /* Called to copy BFD private section data from one object file
4733  to another. */
4735  /* Called to copy BFD private symbol data from one symbol
4736  to another. */
4738  /* Called to copy BFD private header data from one object file
4739  to another. */
4741  /* Called to set private backend flags. */
4743 
4744  /* Called to print private BFD data. */
4746 
4747  /* Core file entry points. */
4748 #define BFD_JUMP_TABLE_CORE(NAME) \
4749  NAME##_core_file_failing_command, \
4750  NAME##_core_file_failing_signal, \
4751  NAME##_core_file_matches_executable_p
4752 
4753  char *(*_core_file_failing_command)(bfd *);
4756 
4757  /* Archive entry points. */
4758 #define BFD_JUMP_TABLE_ARCHIVE(NAME) \
4759  NAME##_slurp_armap, \
4760  NAME##_slurp_extended_name_table, \
4761  NAME##_construct_extended_name_table, \
4762  NAME##_truncate_arname, \
4763  NAME##_write_armap, \
4764  NAME##_read_ar_hdr, \
4765  NAME##_openr_next_archived_file, \
4766  NAME##_get_elt_at_index, \
4767  NAME##_generic_stat_arch_elt, \
4768  NAME##_update_armap_timestamp
4769 
4773  void (*_bfd_truncate_arname)(bfd *, const char *, char *);
4774  bfd_boolean (*write_armap)(bfd *, unsigned int, struct orl *, unsigned int, int);
4775  void *(*_bfd_read_ar_hdr_fn)(bfd *);
4776  bfd *(*openr_next_archived_file)(bfd *, bfd *);
4777 #define bfd_get_elt_at_index(b, i) BFD_SEND(b, _bfd_get_elt_at_index, (b, i))
4778  bfd *(*_bfd_get_elt_at_index)(bfd *, symindex);
4779  int (*_bfd_stat_arch_elt)(bfd *, struct stat *);
4781 
4782  /* Entry points used for symbols. */
4783 #define BFD_JUMP_TABLE_SYMBOLS(NAME) \
4784  NAME##_get_symtab_upper_bound, \
4785  NAME##_canonicalize_symtab, \
4786  NAME##_make_empty_symbol, \
4787  NAME##_print_symbol, \
4788  NAME##_get_symbol_info, \
4789  NAME##_bfd_is_local_label_name, \
4790  NAME##_bfd_is_target_special_symbol, \
4791  NAME##_get_lineno, \
4792  NAME##_find_nearest_line, \
4793  _bfd_generic_find_line, \
4794  NAME##_find_inliner_info, \
4795  NAME##_bfd_make_debug_symbol, \
4796  NAME##_read_minisymbols, \
4797  NAME##_minisymbol_to_symbol
4798 
4801  struct bfd_symbol *(*_bfd_make_empty_symbol)(bfd *);
4803 #define bfd_print_symbol(b, p, s, e) BFD_SEND(b, _bfd_print_symbol, (b, p, s, e))
4805 #define bfd_get_symbol_info(b, p, e) BFD_SEND(b, _bfd_get_symbol_info, (b, p, e))
4808  alent *(*_get_lineno)(bfd *, struct bfd_symbol *);
4810  const char **, const char **, unsigned int *);
4812  const char **, unsigned int *);
4813  bfd_boolean (*_bfd_find_inliner_info)(bfd *, const char **, const char **, unsigned int *);
4814  /* Back-door to allow format-aware applications to create debug symbols
4815  while using BFD for everything else. Currently used by the assembler
4816  when creating COFF files. */
4817  asymbol *(*_bfd_make_debug_symbol)(bfd *, void *, unsigned long size);
4818 #define bfd_read_minisymbols(b, d, m, s) \
4819  BFD_SEND(b, _read_minisymbols, (b, d, m, s))
4820  long (*_read_minisymbols)(bfd *, bfd_boolean, void **, unsigned int *);
4821 #define bfd_minisymbol_to_symbol(b, d, m, f) \
4822  BFD_SEND(b, _minisymbol_to_symbol, (b, d, m, f))
4823  asymbol *(*_minisymbol_to_symbol)(bfd *, bfd_boolean, const void *, asymbol *);
4824 
4825  /* Routines for relocs. */
4826 #define BFD_JUMP_TABLE_RELOCS(NAME) \
4827  NAME##_get_reloc_upper_bound, \
4828  NAME##_canonicalize_reloc, \
4829  NAME##_bfd_reloc_type_lookup
4830 
4833  /* See documentation on reloc types. */
4834  reloc_howto_type *(*reloc_type_lookup)(bfd *, bfd_reloc_code_real_type);
4835 
4836  /* Routines used when writing an object file. */
4837 #define BFD_JUMP_TABLE_WRITE(NAME) \
4838  NAME##_set_arch_mach, \
4839  NAME##_set_section_contents
4840 
4843 
4844  /* Routines used by the linker. */
4845 #define BFD_JUMP_TABLE_LINK(NAME) \
4846  NAME##_sizeof_headers, \
4847  NAME##_bfd_get_relocated_section_contents, \
4848  NAME##_bfd_relax_section, \
4849  NAME##_bfd_link_hash_table_create, \
4850  NAME##_bfd_link_hash_table_free, \
4851  NAME##_bfd_link_add_symbols, \
4852  NAME##_bfd_link_just_syms, \
4853  NAME##_bfd_final_link, \
4854  NAME##_bfd_link_split_section, \
4855  NAME##_bfd_gc_sections, \
4856  NAME##_bfd_merge_sections, \
4857  NAME##_bfd_is_group_section, \
4858  NAME##_bfd_discard_group, \
4859  NAME##_section_already_linked
4860 
4862  bfd_byte *(*_bfd_get_relocated_section_contents)(bfd *, struct bfd_link_info *, struct bfd_link_order *,
4863  bfd_byte *, bfd_boolean, struct bfd_symbol **);
4864 
4866 
4867  /* Create a hash table for the linker. Different backends store
4868  different information in this table. */
4869  struct bfd_link_hash_table *(*_bfd_link_hash_table_create)(bfd *);
4870 
4871  /* Release the memory associated with the linker hash table. */
4873 
4874  /* Add symbols from this object file into the hash table. */
4876 
4877  /* Indicate that we are only retrieving symbol values from this section. */
4879 
4880  /* Do a link based on the link_order structures attached to each
4881  section of the BFD. */
4883 
4884  /* Should this section be split up into smaller pieces during linking. */
4886 
4887  /* Remove sections that are not referenced from the output. */
4889 
4890  /* Attempt to merge SEC_MERGE sections. */
4892 
4893  /* Is this section a member of a group? */
4895 
4896  /* Discard members of a group. */
4898 
4899  /* Check if SEC has been already linked during a reloceatable or
4900  final link. */
4902 
4903  /* Routines to handle dynamic symbols and relocs. */
4904 #define BFD_JUMP_TABLE_DYNAMIC(NAME) \
4905  NAME##_get_dynamic_symtab_upper_bound, \
4906  NAME##_canonicalize_dynamic_symtab, \
4907  NAME##_get_synthetic_symtab, \
4908  NAME##_get_dynamic_reloc_upper_bound, \
4909  NAME##_canonicalize_dynamic_reloc
4910 
4911  /* Get the amount of memory required to hold the dynamic symbols. */
4913  /* Read in the dynamic symbols. */
4915  /* Create synthetized symbols. */
4917  struct bfd_symbol **);
4918  /* Get the amount of memory required to hold the dynamic relocs. */
4920  /* Read in the dynamic relocs. */
4922 
4923  /* Opposite endian version of this target. */
4925 
4926  /* Data for use by back-end routines, which isn't
4927  generic enough to belong in this structure. */
4928  const void *backend_data;
4929 
4931 
4933 
4934 const bfd_target *bfd_find_target(const char *target_name, bfd *abfd);
4935 
4936 const char **bfd_target_list(void);
4937 
4938 const bfd_target *bfd_search_for_target(int (*search_func)(const bfd_target *, void *),
4939  void *);
4940 
4941 /* Extracted from format.c. */
4943 
4944 bfd_boolean bfd_check_format_matches(bfd *abfd, bfd_format format, char ***matching);
4945 
4947 
4948 const char *bfd_format_string(bfd_format format);
4949 
4950 /* Extracted from linker.c. */
4952 
4953 #define bfd_link_split_section(abfd, sec) \
4954  BFD_SEND(abfd, _bfd_link_split_section, (abfd, sec))
4955 
4957 
4958 #define bfd_section_already_linked(abfd, sec) \
4959  BFD_SEND(abfd, _section_already_linked, (abfd, sec))
4960 
4961 /* Extracted from simple.c. */
4963 
4964 #ifdef __cplusplus
4965 }
4966 #endif
4969 static inline bfd_vma bfd_getl16(const void *p) {
4970  const bfd_byte *addr = p;
4971  return (addr[1] << 8) | addr[0];
4972 }
4973 
4974 static inline bfd_vma bfd_getb16(const void *p) {
4975  const bfd_byte *addr = p;
4976  return (addr[0] << 8) | addr[1];
4977 }
4978 
4979 static inline bfd_vma bfd_getb32(const void *p) {
4980  const bfd_byte *addr = p;
4981  unsigned long v;
4982 
4983  v = (unsigned long)addr[0] << 24;
4984  v |= (unsigned long)addr[1] << 16;
4985  v |= (unsigned long)addr[2] << 8;
4986  v |= (unsigned long)addr[3];
4987  return v;
4988 }
4989 
4990 static inline bfd_vma bfd_getl32(const void *p) {
4991  const bfd_byte *addr = p;
4992  unsigned long v;
4993 
4994  v = (unsigned long)addr[0];
4995  v |= (unsigned long)addr[1] << 8;
4996  v |= (unsigned long)addr[2] << 16;
4997  v |= (unsigned long)addr[3] << 24;
4998  return v;
4999 }
5000 #define CONST_STRNEQ(STR1, STR2) (strncmp((STR1), (STR2), sizeof(STR2) - 1) == 0)
5001 #endif
size_t len
Definition: 6502dis.c:15
lzma_index ** i
Definition: index.h:629
ut16 val
Definition: armass64_const.h:6
static ut8 bytes[32]
Definition: asm_arc.c:23
static mcore_handle handle
Definition: asm_mcore.c:8
static RzBuffer * create(RzBin *bin, const ut8 *code, int codelen, const ut8 *data, int datalen, RzBinArchOptions *opt)
Definition: bin_cgc.c:16
RzBinInfo * info(RzBinFile *bf)
Definition: bin_ne.c:86
int bits(struct state *s, int need)
Definition: blast.c:72
cs_arch arch
Definition: cstool.c:13
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void static offset struct stat static buf void nbytes
Definition: sflib.h:113
static static fork const void static count close
Definition: sflib.h:33
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void count
Definition: sflib.h:98
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname pread
Definition: sflib.h:98
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags long
Definition: sflib.h:79
const char * v
Definition: dsignal.c:12
unsigned char outbuf[SIZE]
Definition: gun.c:162
voidpf void uLong size
Definition: ioapi.h:138
const char * filename
Definition: ioapi.h:137
voidpf stream
Definition: ioapi.h:138
voidpf uLong offset
Definition: ioapi.h:144
const char int mode
Definition: ioapi.h:137
voidpf void * buf
Definition: ioapi.h:138
void * p
Definition: libc.cpp:67
bfd_size_type bfd_bwrite(const void *, bfd_size_type, bfd *)
#define bfd_section_already_linked(abfd, sec)
Definition: mybfd.h:4958
static bfd_vma bfd_getb16(const void *p)
Definition: mybfd.h:4974
void bfd_hash_table_free(struct bfd_hash_table *)
bfd_byte * bfd_simple_get_relocated_section_contents(bfd *abfd, asection *sec, bfd_byte *outbuf, asymbol **symbol_table)
unsigned int bfd_get_reloc_size(reloc_howto_type *)
void bfd_elf32_arm_set_target_relocs(struct bfd_link_info *, int, char *, int, int)
bfd_boolean bfd_malloc_and_get_section(bfd *abfd, asection *section, bfd_byte **buf)
bfd_boolean bfd_set_section_flags(bfd *abfd, asection *sec, flagword flags)
void bfd_section_list_clear(bfd *)
struct bfd_link_needed_list * bfd_elf_get_runpath_list(bfd *, struct bfd_link_info *)
struct bfd_symbol asymbol
void bfd_map_over_sections(bfd *abfd, void(*func)(bfd *abfd, asection *sect, void *obj), void *obj)
unsigned int _bfd_elf_default_action_discarded(struct bfd_section *)
bfd_boolean bfd_elf32_arm_process_before_allocation(bfd *, struct bfd_link_info *, int)
bfd * bfd_openw(const char *filename, const char *target)
unsigned char bfd_byte
Definition: mybfd.h:176
BFD_HOST_64_BIT bfd_signed_vma
Definition: mybfd.h:112
unsigned int bfd_arch_bits_per_address(bfd *abfd)
bfd_boolean bfd_xcoff_link_generate_rtinit(bfd *, const char *, const char *, bfd_boolean)
const char * bfd_elf_get_dt_soname(bfd *)
asection bfd_abs_section
BFD_HOST_U_64_BIT bfd_size_type
Definition: mybfd.h:113
bfd * bfd_openr_iovec(const char *filename, const char *target, void *(*open)(struct bfd *nbfd, void *open_closure), void *open_closure, file_ptr(*pread)(struct bfd *nbfd, void *stream, void *buf, file_ptr nbytes, file_ptr offset), int(*close)(struct bfd *nbfd, void *stream))
bfd_boolean bfd_m68k_elf32_create_embedded_relocs(bfd *, struct bfd_link_info *, struct bfd_section *, struct bfd_section *, char **)
void bfd_set_error_program_name(const char *)
unsigned int bfd_get_gp_size(bfd *abfd)
void bfd_hash_traverse(struct bfd_hash_table *, bfd_boolean(*)(struct bfd_hash_entry *, void *), void *info)
struct bfd_hash_entry * bfd_hash_newfunc(struct bfd_hash_entry *, struct bfd_hash_table *, const char *)
unsigned long symindex
Definition: mybfd.h:255
bfd_error_type bfd_get_error(void)
bfd_format
Definition: mybfd.h:180
@ bfd_core
Definition: mybfd.h:184
@ bfd_type_end
Definition: mybfd.h:185
@ bfd_unknown
Definition: mybfd.h:181
@ bfd_object
Definition: mybfd.h:182
@ bfd_archive
Definition: mybfd.h:183
bfd_boolean bfd_section_already_linked_table_init(void)
bfd_boolean bfd_ecoff_set_regmasks(bfd *abfd, unsigned long gprmask, unsigned long fprmask, unsigned long *cprmask)
bfd_boolean bfd_get_file_window(bfd *, file_ptr, bfd_size_type, bfd_window *, bfd_boolean)
bfd_error_plugin_type bfd_set_error_handler(bfd_error_plugin_type)
asection * bfd_get_section_by_name(bfd *abfd, const char *name)
void bfd_putl32(bfd_vma, void *)
#define bfd_copy_private_bfd_data(ibfd, obfd)
Definition: mybfd.h:4439
bfd_boolean bfd_elf32_arm_get_bfd_for_interworking(bfd *, struct bfd_link_info *)
bfd_signed_vma bfd_getl_signed_16(const void *)
enum bfd_reloc_code_real bfd_reloc_code_real_type
Definition: mybfd.h:4042
#define bfd_merge_private_bfd_data(ibfd, obfd)
Definition: mybfd.h:4444
bfd_boolean bfd_xcoff_ar_archive_set_magic(bfd *, char *)
bfd_boolean bfd_m68klinux_size_dynamic_sections(bfd *, struct bfd_link_info *)
struct bfd_target bfd_target
bfd_reloc_status_type bfd_perform_relocation(bfd *abfd, arelent *reloc_entry, void *data, asection *input_section, bfd *output_bfd, char **error_message)
struct bfd_section * _bfd_elf_tls_setup(bfd *, struct bfd_link_info *)
enum bfd_reloc_status bfd_reloc_status_type
bfd_vma bfd_ecoff_get_gp_value(bfd *abfd)
bfd_reloc_status
Definition: mybfd.h:1934
@ bfd_reloc_notsupported
Definition: mybfd.h:1948
@ bfd_reloc_continue
Definition: mybfd.h:1945
@ bfd_reloc_outofrange
Definition: mybfd.h:1942
@ bfd_reloc_undefined
Definition: mybfd.h:1954
@ bfd_reloc_other
Definition: mybfd.h:1951
@ bfd_reloc_ok
Definition: mybfd.h:1936
@ bfd_reloc_overflow
Definition: mybfd.h:1939
@ bfd_reloc_dangerous
Definition: mybfd.h:1960
asection * bfd_sections_find_if(bfd *abfd, bfd_boolean(*operation)(bfd *abfd, asection *sect, void *obj), void *obj)
bfd_boolean bfd_i386linux_size_dynamic_sections(bfd *, struct bfd_link_info *)
asection bfd_und_section
bfd_print_symbol
Definition: mybfd.h:334
@ bfd_print_symbol_name
Definition: mybfd.h:335
@ bfd_print_symbol_all
Definition: mybfd.h:337
@ bfd_print_symbol_more
Definition: mybfd.h:336
void bfd_ticoff_set_section_load_page(struct bfd_section *, int)
void bfd_preserve_finish(bfd *, struct bfd_preserve *)
long bfd_canonicalize_reloc(bfd *abfd, asection *sec, arelent **loc, asymbol **syms)
const char * bfd_printable_name(bfd *abfd)
void bfd_sprintf_vma(bfd *, char *, bfd_vma)
bfd_boolean bfd_alt_mach_code(bfd *abfd, int alternative)
struct bfd_link_needed_list * bfd_elf_get_needed_list(bfd *, struct bfd_link_info *)
const bfd_arch_info_type * bfd_lookup_arch(enum bfd_architecture arch, unsigned long machine)
void warn_deprecated(const char *, const char *, int, const char *)
bfd_boolean bfd_set_archive_head(bfd *output, bfd *new_head)
int bfd_ticoff_get_section_load_page(struct bfd_section *)
bfd_boolean bfd_set_section_size(bfd *abfd, asection *sec, bfd_size_type val)
const bfd_arch_info_type * bfd_get_arch_info(bfd *abfd)
symindex bfd_get_next_mapent(bfd *abfd, symindex previous, carsym **sym)
bfd_boolean bfd_m68k_coff_create_embedded_relocs(bfd *, struct bfd_link_info *, struct bfd_section *, struct bfd_section *, char **)
int bfd_stat(bfd *, struct stat *)
int bfd_m68k_features_to_mach(unsigned)
bfd_boolean bfd_set_format(bfd *abfd, bfd_format format)
const bfd_arch_info_type * bfd_arch_get_compatible(const bfd *abfd, const bfd *bbfd, bfd_boolean accept_unknowns)
dynamic_lib_link_class
Definition: mybfd.h:636
@ DYN_NO_NEEDED
Definition: mybfd.h:641
@ DYN_AS_NEEDED
Definition: mybfd.h:638
@ DYN_DT_NEEDED
Definition: mybfd.h:639
@ DYN_NORMAL
Definition: mybfd.h:637
@ DYN_NO_ADD_NEEDED
Definition: mybfd.h:640
bfd_boolean bfd_cache_close(bfd *abfd)
int bfd_flush(bfd *)
int bfd_decode_symclass(asymbol *symbol)
asection * bfd_get_section_by_name_if(bfd *abfd, const char *name, bfd_boolean(*func)(bfd *abfd, asection *sect, void *obj), void *obj)
bfd_boolean generic_core_file_matches_executable_p(bfd *core_bfd, bfd *exec_bfd)
bfd_signed_vma bfd_getb_signed_32(const void *)
BFD_HOST_U_64_BIT bfd_vma
Definition: mybfd.h:111
bfd_boolean bfd_preserve_save(bfd *, struct bfd_preserve *)
bfd_boolean bfd_is_arm_mapping_symbol_name(const char *name)
void bfd_elf32_ia64_after_parse(int)
bfd_boolean bfd_coff_set_symbol_class(bfd *, struct bfd_symbol *, unsigned int)
bfd_boolean bfd_xcoff_import_symbol(bfd *, struct bfd_link_info *, struct bfd_link_hash_entry *, bfd_vma, const char *, const char *, const char *, unsigned int)
int bfd_seek(bfd *, file_ptr, int)
bfd * bfd_elf_bfd_from_remote_memory(bfd *templ, bfd_vma ehdr_vma, bfd_vma *loadbasep, int(*target_read_memory)(bfd_vma vma, bfd_byte *myaddr, int len))
unsigned bfd_m68k_mach_to_features(int)
unsigned long bfd_get_mach(bfd *abfd)
bfd * bfd_openstreamr(const char *, const char *, void *)
bfd_size_type bfd_bread(void *, bfd_size_type, bfd *)
void bfd_init(void)
bfd_boolean bfd_sunos_record_link_assignment(bfd *, struct bfd_link_info *, const char *)
bfd_boolean bfd_xcoff_link_record_set(bfd *, struct bfd_link_info *, struct bfd_link_hash_entry *, bfd_size_type)
const char * bfd_core_file_failing_command(bfd *abfd)
bfd_boolean bfd_close(bfd *abfd)
bfd_boolean bfd_ecoff_write_debug(bfd *abfd, struct ecoff_debug_info *debug, const struct ecoff_debug_swap *swap, file_ptr where)
bfd_boolean bfd_elf32_arm_add_glue_sections_to_bfd(bfd *, struct bfd_link_info *)
struct bfd_section * sec_ptr
Definition: mybfd.h:308
bfd * bfd_fopen(const char *filename, const char *target, const char *mode, int fd)
#define bfd_copy_private_symbol_data(ibfd, isymbol, obfd, osymbol)
Definition: mybfd.h:4207
bfd_uint64_t bfd_getb64(const void *)
void(* bfd_error_plugin_type)(const char *,...)
Definition: mybfd.h:4404
bfd_flavour
Definition: mybfd.h:4591
@ bfd_target_xcoff_flavour
Definition: mybfd.h:4596
@ bfd_target_som_flavour
Definition: mybfd.h:4604
@ bfd_target_ovax_flavour
Definition: mybfd.h:4608
@ bfd_target_elf_flavour
Definition: mybfd.h:4597
@ bfd_target_pef_flavour
Definition: mybfd.h:4612
@ bfd_target_oasys_flavour
Definition: mybfd.h:4600
@ bfd_target_srec_flavour
Definition: mybfd.h:4602
@ bfd_target_versados_flavour
Definition: mybfd.h:4606
@ bfd_target_ieee_flavour
Definition: mybfd.h:4598
@ bfd_target_coff_flavour
Definition: mybfd.h:4594
@ bfd_target_mmo_flavour
Definition: mybfd.h:4610
@ bfd_target_unknown_flavour
Definition: mybfd.h:4592
@ bfd_target_tekhex_flavour
Definition: mybfd.h:4601
@ bfd_target_nlm_flavour
Definition: mybfd.h:4599
@ bfd_target_mach_o_flavour
Definition: mybfd.h:4611
@ bfd_target_os9k_flavour
Definition: mybfd.h:4605
@ bfd_target_pef_xlib_flavour
Definition: mybfd.h:4613
@ bfd_target_aout_flavour
Definition: mybfd.h:4593
@ bfd_target_ecoff_flavour
Definition: mybfd.h:4595
@ bfd_target_evax_flavour
Definition: mybfd.h:4609
@ bfd_target_sym_flavour
Definition: mybfd.h:4614
@ bfd_target_ihex_flavour
Definition: mybfd.h:4603
@ bfd_target_msdos_flavour
Definition: mybfd.h:4607
bfd_boolean bfd_hash_table_init_n(struct bfd_hash_table *, struct bfd_hash_entry *(*)(struct bfd_hash_entry *, struct bfd_hash_table *, const char *), unsigned int, unsigned int)
bfd * bfd_create(const char *filename, bfd *templ)
bfd_boolean bfd_is_undefined_symclass(int symclass)
static bfd_vma bfd_getb32(const void *p)
Definition: mybfd.h:4979
struct bfd_arch_info bfd_arch_info_type
const bfd_target * bfd_find_target(const char *target_name, bfd *abfd)
void * bfd_hash_allocate(struct bfd_hash_table *, unsigned int)
struct bfd_hash_entry * bfd_hash_lookup(struct bfd_hash_table *, const char *, bfd_boolean create, bfd_boolean copy)
bfd_boolean bfd_check_format_matches(bfd *abfd, bfd_format format, char ***matching)
void bfd_set_error(bfd_error_type error_tag)
bfd_boolean bfd_is_local_label(bfd *abfd, asymbol *sym)
int bfd_boolean
Definition: mybfd.h:98
struct lineno_cache_entry alent
struct relent_chain arelent_chain
BFD_HOST_U_64_BIT bfd_uint64_t
Definition: mybfd.h:70
#define bfd_copy_private_header_data(ibfd, obfd)
Definition: mybfd.h:4434
unsigned int bfd_octets_per_byte(bfd *abfd)
int bfd_elf_get_dyn_lib_class(bfd *)
asection bfd_ind_section
bfd_boolean bfd_xcoff_link_count_reloc(bfd *, struct bfd_link_info *, const char *)
void bfd_putl64(bfd_uint64_t, void *)
struct carsym carsym
bfd_int64_t bfd_getb_signed_64(const void *)
bfd_boolean bfd_elf_discard_info(bfd *, struct bfd_link_info *)
bfd_endian
Definition: mybfd.h:4617
@ BFD_ENDIAN_LITTLE
Definition: mybfd.h:4618
@ BFD_ENDIAN_BIG
Definition: mybfd.h:4617
@ BFD_ENDIAN_UNKNOWN
Definition: mybfd.h:4619
struct reloc_cache_entry arelent
char * bfd_follow_gnu_debuglink(bfd *abfd, const char *dir)
bfd_vma bfd_h8300_pad_address(bfd *, bfd_vma)
#define BFD_HOST_U_64_BIT
Definition: mybfd.h:68
bfd_architecture
Definition: mybfd.h:1563
@ bfd_arch_s390
Definition: mybfd.h:1843
@ bfd_arch_ns32k
Definition: mybfd.h:1771
@ bfd_arch_last
Definition: mybfd.h:1882
@ bfd_arch_arc
Definition: mybfd.h:1783
@ bfd_arch_i370
Definition: mybfd.h:1669
@ bfd_arch_v850
Definition: mybfd.h:1779
@ bfd_arch_rs6000
Definition: mybfd.h:1705
@ bfd_arch_mn10300
Definition: mybfd.h:1796
@ bfd_arch_pj
Definition: mybfd.h:1825
@ bfd_arch_sparc
Definition: mybfd.h:1612
@ bfd_arch_sh
Definition: mybfd.h:1730
@ bfd_arch_xtensa
Definition: mybfd.h:1870
@ bfd_arch_avr
Definition: mybfd.h:1826
@ bfd_arch_d10v
Definition: mybfd.h:1715
@ bfd_arch_tahoe
Definition: mybfd.h:1667
@ bfd_arch_ia64
Definition: mybfd.h:1812
@ bfd_arch_xc16x
Definition: mybfd.h:1866
@ bfd_arch_tricore
Definition: mybfd.h:1872
@ bfd_arch_i860
Definition: mybfd.h:1668
@ bfd_arch_mcore
Definition: mybfd.h:1811
@ bfd_arch_cris
Definition: mybfd.h:1839
@ bfd_arch_xstormy16
Definition: mybfd.h:1848
@ bfd_arch_d30v
Definition: mybfd.h:1719
@ bfd_arch_m68k
Definition: mybfd.h:1566
@ bfd_arch_pyramid
Definition: mybfd.h:1674
@ bfd_arch_romp
Definition: mybfd.h:1670
@ bfd_arch_i960
Definition: mybfd.h:1592
@ bfd_arch_m88k
Definition: mybfd.h:1672
@ bfd_arch_tic30
Definition: mybfd.h:1773
@ bfd_arch_mn10200
Definition: mybfd.h:1795
@ bfd_arch_tic4x
Definition: mybfd.h:1774
@ bfd_arch_obscure
Definition: mybfd.h:1565
@ bfd_arch_w65
Definition: mybfd.h:1772
@ bfd_arch_fr30
Definition: mybfd.h:1800
@ bfd_arch_vax
Definition: mybfd.h:1591
@ bfd_arch_m68hc12
Definition: mybfd.h:1722
@ bfd_arch_arm
Definition: mybfd.h:1756
@ bfd_arch_m32r
Definition: mybfd.h:1791
@ bfd_arch_mt
Definition: mybfd.h:1821
@ bfd_arch_convex
Definition: mybfd.h:1671
@ bfd_arch_cr16c
Definition: mybfd.h:1835
@ bfd_arch_unknown
Definition: mybfd.h:1564
@ bfd_arch_we32k
Definition: mybfd.h:1666
@ bfd_arch_z8k
Definition: mybfd.h:1726
@ bfd_arch_h8300
Definition: mybfd.h:1675
@ bfd_arch_msp430
Definition: mybfd.h:1850
@ bfd_arch_bfin
Definition: mybfd.h:1833
@ bfd_arch_maxq
Definition: mybfd.h:1874
@ bfd_arch_tic54x
Definition: mybfd.h:1777
@ bfd_arch_dlx
Definition: mybfd.h:1720
@ bfd_arch_powerpc
Definition: mybfd.h:1684
@ bfd_arch_tic80
Definition: mybfd.h:1778
@ bfd_arch_alpha
Definition: mybfd.h:1752
@ bfd_arch_ip2k
Definition: mybfd.h:1815
@ bfd_arch_or32
Definition: mybfd.h:1610
@ bfd_arch_mmix
Definition: mybfd.h:1847
@ bfd_arch_m32c
Definition: mybfd.h:1788
@ bfd_arch_m68hc11
Definition: mybfd.h:1721
@ bfd_arch_openrisc
Definition: mybfd.h:1846
@ bfd_arch_crx
Definition: mybfd.h:1837
@ bfd_arch_h8500
Definition: mybfd.h:1729
@ bfd_arch_mips
Definition: mybfd.h:1630
@ bfd_arch_m98k
Definition: mybfd.h:1673
@ bfd_arch_hppa
Definition: mybfd.h:1710
@ bfd_arch_iq2000
Definition: mybfd.h:1818
@ bfd_arch_i386
Definition: mybfd.h:1660
@ bfd_arch_z80
Definition: mybfd.h:1877
@ bfd_arch_pdp11
Definition: mybfd.h:1683
@ bfd_arch_frv
Definition: mybfd.h:1802
void * bfd_ecoff_debug_init(bfd *output_bfd, struct ecoff_debug_info *output_debug, const struct ecoff_debug_swap *output_swap, struct bfd_link_info *)
const char ** bfd_arch_list(void)
bfd_boolean bfd_ecoff_debug_accumulate(void *handle, bfd *output_bfd, struct ecoff_debug_info *output_debug, const struct ecoff_debug_swap *output_swap, bfd *input_bfd, struct ecoff_debug_info *input_debug, const struct ecoff_debug_swap *input_swap, struct bfd_link_info *)
bfd_signed_vma bfd_getb_signed_16(const void *)
const struct bfd_symbol *const bfd_abs_symbol
void bfd_putb16(bfd_vma, void *)
void bfd_hash_replace(struct bfd_hash_table *, struct bfd_hash_entry *old, struct bfd_hash_entry *nw)
void bfd_print_symbol_vandf(bfd *abfd, void *file, asymbol *symbol)
void bfd_symbol_info(asymbol *symbol, symbol_info *ret)
long bfd_get_size(bfd *abfd)
void bfd_section_already_linked_table_free(void)
bfd_boolean bfd_sunos_size_dynamic_sections(bfd *, struct bfd_link_info *, struct bfd_section **, struct bfd_section **, struct bfd_section **)
bfd_boolean bfd_xcoff_export_symbol(bfd *, struct bfd_link_info *, struct bfd_link_hash_entry *)
bfd * bfd_openr_next_archived_file(bfd *archive, bfd *previous)
asection bfd_com_section
bfd_boolean bfd_cache_close_all(void)
const struct bfd_symbol *const bfd_und_symbol
bfd_error
Definition: mybfd.h:4373
@ bfd_error_invalid_target
Definition: mybfd.h:4376
@ bfd_error_file_ambiguously_recognized
Definition: mybfd.h:4386
@ bfd_error_nonrepresentable_section
Definition: mybfd.h:4388
@ bfd_error_file_too_big
Definition: mybfd.h:4392
@ bfd_error_no_more_archived_files
Definition: mybfd.h:4383
@ bfd_error_wrong_object_format
Definition: mybfd.h:4378
@ bfd_error_system_call
Definition: mybfd.h:4375
@ bfd_error_wrong_format
Definition: mybfd.h:4377
@ bfd_error_no_contents
Definition: mybfd.h:4387
@ bfd_error_malformed_archive
Definition: mybfd.h:4384
@ bfd_error_no_memory
Definition: mybfd.h:4380
@ bfd_error_bad_value
Definition: mybfd.h:4390
@ bfd_error_file_truncated
Definition: mybfd.h:4391
@ bfd_error_invalid_error_code
Definition: mybfd.h:4393
@ bfd_error_no_symbols
Definition: mybfd.h:4381
@ bfd_error_no_debug_section
Definition: mybfd.h:4389
@ bfd_error_no_error
Definition: mybfd.h:4374
@ bfd_error_file_not_recognized
Definition: mybfd.h:4385
@ bfd_error_no_armap
Definition: mybfd.h:4382
@ bfd_error_invalid_operation
Definition: mybfd.h:4379
void bfd_elf_set_dyn_lib_class(bfd *, int)
struct _symbol_info symbol_info
long bfd_get_mtime(bfd *abfd)
#define bfd_set_private_flags(abfd, flags)
Definition: mybfd.h:4449
bfd_boolean bfd_generic_is_group_section(bfd *, const asection *sec)
asymbol * _bfd_generic_make_empty_symbol(bfd *)
bfd_boolean bfd_ecoff_set_gp_value(bfd *abfd, bfd_vma gp_value)
bfd * bfd_openr(const char *filename, const char *target)
unsigned int bfd_arch_mach_octets_per_byte(enum bfd_architecture arch, unsigned long machine)
BFD_HOST_64_BIT file_ptr
Definition: mybfd.h:166
bfd_boolean bfd_xcoff_size_dynamic_sections(bfd *, struct bfd_link_info *, const char *, const char *, unsigned long, unsigned long, unsigned long, bfd_boolean, int, bfd_boolean, bfd_boolean, struct bfd_section **, bfd_boolean)
const char * bfd_errmsg(bfd_error_type error_tag)
bfd_boolean bfd_elf_record_link_assignment(bfd *, struct bfd_link_info *, const char *, bfd_boolean, bfd_boolean)
bfd_boolean bfd_coff_get_syment(bfd *, struct bfd_symbol *, struct internal_syment *)
unsigned int bfd_arm_get_mach_from_notes(bfd *, const char *)
unsigned BFD_HOST_64_BIT ufile_ptr
Definition: mybfd.h:167
unsigned int flagword
Definition: mybfd.h:175
file_ptr bfd_tell(bfd *)
asection * bfd_make_section_with_flags(bfd *, const char *name, flagword flags)
struct bfd_section * bfd_create_gnu_debuglink_section(bfd *abfd, const char *filename)
reloc_howto_type * bfd_reloc_type_lookup(bfd *abfd, bfd_reloc_code_real_type code)
static bfd_vma bfd_getl16(const void *p)
Definition: mybfd.h:4969
char * bfd_get_unique_section_name(bfd *abfd, const char *templat, int *count)
#define bfd_link_split_section(abfd, sec)
Definition: mybfd.h:4953
bfd_boolean bfd_make_readable(bfd *abfd)
void bfd_elf_set_dt_needed_name(bfd *, const char *)
bfd_boolean bfd_arm_process_before_allocation(bfd *, struct bfd_link_info *, int)
void bfd_putl16(bfd_vma, void *)
bfd_reloc_code_real
Definition: mybfd.h:2129
@ BFD_RELOC_PPC64_TOC16_LO_DS
Definition: mybfd.h:2668
@ BFD_RELOC_MIPS_CALL_LO16
Definition: mybfd.h:2436
@ BFD_RELOC_ARM_T32_IMM12
Definition: mybfd.h:2802
@ BFD_RELOC_16C_IMM32_C
Definition: mybfd.h:3792
@ BFD_RELOC_IA64_FPTR64MSB
Definition: mybfd.h:3647
@ BFD_RELOC_IA64_LTV32LSB
Definition: mybfd.h:3679
@ BFD_RELOC_SPARC_TLS_LDO_HIX22
Definition: mybfd.h:2283
@ BFD_RELOC_FRV_TLSMOFF12
Definition: mybfd.h:2499
@ BFD_RELOC_CRX_SWITCH8
Definition: mybfd.h:3812
@ BFD_RELOC_64_PLTOFF
Definition: mybfd.h:2171
@ BFD_RELOC_MMIX_REG
Definition: mybfd.h:3354
@ BFD_RELOC_16_GOT_PCREL
Definition: mybfd.h:2158
@ BFD_RELOC_D30V_15_PCREL_R
Definition: mybfd.h:3088
@ BFD_ARELOC_BFIN_LOR
Definition: mybfd.h:3022
@ BFD_RELOC_THUMB_PCREL_BRANCH23
Definition: mybfd.h:2751
@ BFD_RELOC_MIPS_GOT_PAGE
Definition: mybfd.h:2438
@ BFD_RELOC_AVR_HH8_LDI
Definition: mybfd.h:3386
@ BFD_RELOC_SPARC_RELATIVE
Definition: mybfd.h:2236
@ BFD_RELOC_390_GOT20
Definition: mybfd.h:3566
@ BFD_ARELOC_BFIN_OR
Definition: mybfd.h:3013
@ BFD_RELOC_386_GOT32
Definition: mybfd.h:2539
@ BFD_RELOC_16C_REG20
Definition: mybfd.h:3777
@ BFD_RELOC_SPARC_WPLT30
Definition: mybfd.h:2232
@ BFD_RELOC_390_PLTOFF16
Definition: mybfd.h:3534
@ BFD_RELOC_SH_CODE
Definition: mybfd.h:2848
@ BFD_RELOC_FRV_GOTOFFHI
Definition: mybfd.h:2492
@ BFD_RELOC_X86_64_GOTTPOFF
Definition: mybfd.h:2578
@ BFD_RELOC_ALPHA_GPREL_LO16
Definition: mybfd.h:2362
@ BFD_RELOC_PPC_EMB_SDA2I16
Definition: mybfd.h:2638
@ BFD_RELOC_386_TLS_IE_32
Definition: mybfd.h:2554
@ BFD_RELOC_X86_64_GOTPCREL64
Definition: mybfd.h:2583
@ BFD_RELOC_IA64_DTPMOD64LSB
Definition: mybfd.h:3694
@ BFD_RELOC_SH_JMP_SLOT64
Definition: mybfd.h:2880
@ BFD_RELOC_RVA
Definition: mybfd.h:2191
@ BFD_RELOC_860_LOGOTOFF1
Definition: mybfd.h:3877
@ BFD_RELOC_SH_GOTOFF_MEDLOW16
Definition: mybfd.h:2871
@ BFD_RELOC_IA64_LTOFF_DTPREL22
Definition: mybfd.h:3703
@ BFD_RELOC_IA64_FPTR64LSB
Definition: mybfd.h:3648
@ BFD_RELOC_386_TLS_DESC
Definition: mybfd.h:2561
@ BFD_RELOC_PPC_GLOB_DAT
Definition: mybfd.h:2628
@ BFD_RELOC_BFIN_16_IMM
Definition: mybfd.h:2928
@ BFD_RELOC_MMIX_JMP_2
Definition: mybfd.h:3338
@ BFD_RELOC_PPC_EMB_NADDR16_HI
Definition: mybfd.h:2635
@ BFD_RELOC_MIPS_TLS_DTPREL32
Definition: mybfd.h:2453
@ BFD_RELOC_32_BASEREL
Definition: mybfd.h:2185
@ BFD_RELOC_CRIS_COPY
Definition: mybfd.h:3830
@ BFD_RELOC_PPC64_PLTGOT16_HI
Definition: mybfd.h:2658
@ BFD_RELOC_SPARC_PC22
Definition: mybfd.h:2231
@ BFD_RELOC_X86_64_TLSDESC
Definition: mybfd.h:2589
@ BFD_RELOC_XTENSA_SLOT11_ALT
Definition: mybfd.h:4007
@ BFD_RELOC_ARM_SHIFT_IMM
Definition: mybfd.h:2804
@ BFD_RELOC_16C_REG16_C
Definition: mybfd.h:3776
@ BFD_RELOC_SH_GOT_MEDHI16
Definition: mybfd.h:2860
@ BFD_RELOC_FRV_GOTTLSDESC12
Definition: mybfd.h:2496
@ BFD_RELOC_Z8K_CALLR
Definition: mybfd.h:4036
@ BFD_RELOC_XTENSA_SLOT10_OP
Definition: mybfd.h:3988
@ BFD_RELOC_SH_DISP12BY2
Definition: mybfd.h:2830
@ BFD_RELOC_CRX_REL16
Definition: mybfd.h:3798
@ BFD_RELOC_M32R_HI16_SLO
Definition: mybfd.h:3144
@ BFD_RELOC_MIPS16_LO16
Definition: mybfd.h:2425
@ BFD_RELOC_390_TLS_LDCALL
Definition: mybfd.h:3545
@ BFD_RELOC_SH_IMMS10BY2
Definition: mybfd.h:2893
@ BFD_RELOC_X86_64_TPOFF64
Definition: mybfd.h:2574
@ BFD_RELOC_MSP430_10_PCREL
Definition: mybfd.h:3937
@ BFD_RELOC_390_GOTPLTENT
Definition: mybfd.h:3531
@ BFD_RELOC_16C_NUM16_C
Definition: mybfd.h:3756
@ BFD_RELOC_860_PC26
Definition: mybfd.h:3861
@ BFD_RELOC_IA64_GPREL64MSB
Definition: mybfd.h:3636
@ BFD_RELOC_FRV_FUNCDESC_GOTHI
Definition: mybfd.h:2485
@ BFD_RELOC_CRX_NUM32
Definition: mybfd.h:3809
@ BFD_RELOC_390_TLS_DTPOFF
Definition: mybfd.h:3561
@ BFD_RELOC_ALPHA_DTPMOD64
Definition: mybfd.h:2372
@ BFD_RELOC_FRV_FUNCDESC_GOTLO
Definition: mybfd.h:2486
@ BFD_RELOC_SPARC_UA64
Definition: mybfd.h:2239
@ BFD_RELOC_MIPS_TLS_TPREL32
Definition: mybfd.h:2461
@ BFD_RELOC_XSTORMY16_24
Definition: mybfd.h:3904
@ BFD_RELOC_IA64_SECREL32LSB
Definition: mybfd.h:3671
@ BFD_RELOC_FR30_8_IN_8
Definition: mybfd.h:3289
@ BFD_RELOC_MN10300_16_PCREL
Definition: mybfd.h:3246
@ BFD_RELOC_MIPS_JUMP_SLOT
Definition: mybfd.h:2468
@ BFD_RELOC_IA64_PLTOFF64I
Definition: mybfd.h:3641
@ BFD_RELOC_FRV_TLSOFF
Definition: mybfd.h:2505
@ BFD_RELOC_NS32K_IMM_32_PCREL
Definition: mybfd.h:2597
@ BFD_RELOC_ALPHA_GOTDTPREL16
Definition: mybfd.h:2373
@ BFD_RELOC_MN10300_GOT16
Definition: mybfd.h:2524
@ BFD_RELOC_D30V_21
Definition: mybfd.h:3092
@ BFD_RELOC_M32R_GOTPC_HI_ULO
Definition: mybfd.h:3168
@ BFD_RELOC_PPC64_DTPREL16_HIGHER
Definition: mybfd.h:2709
@ BFD_RELOC_AVR_13_PCREL
Definition: mybfd.h:3370
@ BFD_RELOC_SH_LOOP_START
Definition: mybfd.h:2851
@ BFD_RELOC_PPC_BA16_BRTAKEN
Definition: mybfd.h:2625
@ BFD_RELOC_XTENSA_OP2
Definition: mybfd.h:4016
@ BFD_RELOC_PPC64_GOT16_DS
Definition: mybfd.h:2662
@ BFD_RELOC_BFIN_16_HIGH
Definition: mybfd.h:2931
@ BFD_RELOC_390_GOTPCDBL
Definition: mybfd.h:3504
@ BFD_RELOC_XTENSA_RELATIVE
Definition: mybfd.h:3958
@ BFD_RELOC_XTENSA_SLOT2_OP
Definition: mybfd.h:3980
@ BFD_RELOC_IA64_PCREL60B
Definition: mybfd.h:3654
@ BFD_RELOC_ALPHA_TLSLDM
Definition: mybfd.h:2371
@ BFD_RELOC_AVR_LO8_LDI
Definition: mybfd.h:3378
@ BFD_RELOC_SH_TLS_GD_32
Definition: mybfd.h:2907
@ BFD_RELOC_MIPS_TLS_TPREL64
Definition: mybfd.h:2462
@ BFD_RELOC_V850_LONGCALL
Definition: mybfd.h:3228
@ BFD_RELOC_CTOR
Definition: mybfd.h:2720
@ BFD_RELOC_CRX_REL32
Definition: mybfd.h:3800
@ BFD_RELOC_CRIS_32_GOT
Definition: mybfd.h:3836
@ BFD_RELOC_FRV_GOTHI
Definition: mybfd.h:2481
@ BFD_RELOC_SPARC_GLOB_DAT
Definition: mybfd.h:2234
@ BFD_RELOC_X86_64_TLSLD
Definition: mybfd.h:2576
@ BFD_RELOC_SH_IMMU5
Definition: mybfd.h:2888
@ BFD_RELOC_SH_USES
Definition: mybfd.h:2845
@ BFD_RELOC_MIPS_HIGHER
Definition: mybfd.h:2447
@ BFD_RELOC_860_HIGOT
Definition: mybfd.h:3887
@ BFD_RELOC_SH_GOTPLT_MEDHI16
Definition: mybfd.h:2864
@ BFD_RELOC_FRV_TLSOFF_RELAX
Definition: mybfd.h:2508
@ BFD_RELOC_AVR_MS8_LDI_NEG
Definition: mybfd.h:3408
@ BFD_RELOC_PPC64_HIGHER
Definition: mybfd.h:2648
@ BFD_RELOC_PPC_DTPREL16_LO
Definition: mybfd.h:2681
@ BFD_RELOC_IQ2000_UHI16
Definition: mybfd.h:3948
@ BFD_RELOC_860_LOGOT0
Definition: mybfd.h:3871
@ BFD_RELOC_MMIX_BASE_PLUS_OFFSET
Definition: mybfd.h:3358
@ BFD_RELOC_ARM_HWLITERAL
Definition: mybfd.h:2819
@ BFD_RELOC_16C_IMM16
Definition: mybfd.h:3785
@ BFD_RELOC_D30V_6
Definition: mybfd.h:3064
@ BFD_RELOC_386_TLS_TPOFF32
Definition: mybfd.h:2558
@ BFD_RELOC_SPARC_REGISTER
Definition: mybfd.h:2269
@ BFD_RELOC_MIPS_TLS_LDM
Definition: mybfd.h:2457
@ BFD_RELOC_860_LOW0
Definition: mybfd.h:3864
@ BFD_RELOC_SPARC_TLS_LDO_LOX10
Definition: mybfd.h:2284
@ BFD_RELOC_860_LOW2
Definition: mybfd.h:3868
@ BFD_RELOC_ARM_SMC
Definition: mybfd.h:2805
@ BFD_RELOC_ALPHA_TPREL64
Definition: mybfd.h:2379
@ BFD_RELOC_23_PCREL_S2
Definition: mybfd.h:2204
@ BFD_RELOC_MIPS_RELGOT
Definition: mybfd.h:2450
@ BFD_RELOC_SPARC_PC10
Definition: mybfd.h:2230
@ BFD_RELOC_SH_TLS_DTPMOD32
Definition: mybfd.h:2912
@ BFD_RELOC_SH_IMM_LOW16
Definition: mybfd.h:2898
@ BFD_RELOC_IA64_TPREL64MSB
Definition: mybfd.h:3690
@ BFD_RELOC_SPARC_6
Definition: mybfd.h:2259
@ BFD_RELOC_XTENSA_ASM_EXPAND
Definition: mybfd.h:4021
@ BFD_RELOC_ARM_TLS_GD32
Definition: mybfd.h:2788
@ BFD_RELOC_Z8K_DISP7
Definition: mybfd.h:4033
@ BFD_RELOC_SPARC_7
Definition: mybfd.h:2258
@ BFD_RELOC_SPARC_HM10
Definition: mybfd.h:2251
@ BFD_RELOC_SH_COPY64
Definition: mybfd.h:2878
@ BFD_RELOC_26
Definition: mybfd.h:2135
@ BFD_RELOC_X86_64_GOTPC32
Definition: mybfd.h:2581
@ BFD_RELOC_SPARC_BASE13
Definition: mybfd.h:2242
@ BFD_RELOC_FRV_GOTOFFLO
Definition: mybfd.h:2493
@ BFD_RELOC_860_HIGH
Definition: mybfd.h:3886
@ BFD_RELOC_16_BASEREL
Definition: mybfd.h:2186
@ BFD_RELOC_MN10300_COPY
Definition: mybfd.h:2527
@ BFD_RELOC_16C_REG20_C
Definition: mybfd.h:3778
@ BFD_RELOC_860_SPGOT0
Definition: mybfd.h:3872
@ BFD_ARELOC_BFIN_HWPAGE
Definition: mybfd.h:3037
@ BFD_RELOC_SPARC_TLS_DTPMOD64
Definition: mybfd.h:2294
@ BFD_RELOC_M32R_GLOB_DAT
Definition: mybfd.h:3157
@ BFD_RELOC_SPARC_11
Definition: mybfd.h:2248
@ BFD_RELOC_IP2K_ADDR16CJP
Definition: mybfd.h:3577
@ BFD_RELOC_BFIN_FUNCDESC_GOTOFF17M4
Definition: mybfd.h:2969
@ BFD_RELOC_PPC64_DTPREL16_LO_DS
Definition: mybfd.h:2708
@ BFD_RELOC_MMIX_GETA_3
Definition: mybfd.h:3319
@ BFD_RELOC_AVR_LO8_LDI_GS
Definition: mybfd.h:3418
@ BFD_RELOC_BFIN_GOTLO
Definition: mybfd.h:2963
@ BFD_RELOC_IA64_PCREL32MSB
Definition: mybfd.h:3656
@ BFD_RELOC_X86_64_GOTPC64
Definition: mybfd.h:2584
@ BFD_RELOC_CRIS_16_GOT
Definition: mybfd.h:3839
@ BFD_RELOC_16_PCREL
Definition: mybfd.h:2149
@ BFD_RELOC_860_LOW1
Definition: mybfd.h:3866
@ BFD_RELOC_PPC64_HIGHEST_S
Definition: mybfd.h:2651
@ BFD_RELOC_FRV_GOTTLSDESCHI
Definition: mybfd.h:2497
@ BFD_RELOC_IA64_GPREL32MSB
Definition: mybfd.h:3634
@ BFD_RELOC_ARC_B22_PCREL
Definition: mybfd.h:2920
@ BFD_RELOC_16C_DISP04_C
Definition: mybfd.h:3760
@ BFD_RELOC_SH_IMM_MEDLOW16
Definition: mybfd.h:2900
@ BFD_RELOC_SH_IMM3
Definition: mybfd.h:2827
@ BFD_RELOC_AVR_6_ADIW
Definition: mybfd.h:3462
@ BFD_RELOC_X86_64_PLT32
Definition: mybfd.h:2565
@ BFD_RELOC_CRIS_SIGNED_6
Definition: mybfd.h:3820
@ BFD_RELOC_PJ_CODE_HI16
Definition: mybfd.h:2610
@ BFD_RELOC_SPARC_TLS_GD_CALL
Definition: mybfd.h:2278
@ BFD_RELOC_AVR_LO8_LDI_PM_NEG
Definition: mybfd.h:3436
@ BFD_RELOC_24_PLT_PCREL
Definition: mybfd.h:2168
@ BFD_RELOC_FR30_20
Definition: mybfd.h:3281
@ BFD_RELOC_PPC_EMB_RELST_HA
Definition: mybfd.h:2645
@ BFD_RELOC_XTENSA_SLOT5_OP
Definition: mybfd.h:3983
@ BFD_RELOC_CRX_REL4
Definition: mybfd.h:3795
@ BFD_RELOC_MN10300_GOT24
Definition: mybfd.h:2520
@ BFD_RELOC_CRX_REGREL12
Definition: mybfd.h:3801
@ BFD_RELOC_PPC_EMB_SDA2REL
Definition: mybfd.h:2639
@ BFD_RELOC_390_TLS_LOAD
Definition: mybfd.h:3543
@ BFD_RELOC_32_GOT_PCREL
Definition: mybfd.h:2157
@ BFD_RELOC_M32R_26_PCREL
Definition: mybfd.h:3136
@ BFD_RELOC_THUMB_PCREL_BRANCH12
Definition: mybfd.h:2749
@ BFD_RELOC_MMIX_JMP
Definition: mybfd.h:3336
@ BFD_RELOC_ARM_THUMB_IMM
Definition: mybfd.h:2821
@ BFD_RELOC_SH_GOTOFF_LOW16
Definition: mybfd.h:2870
@ BFD_RELOC_X86_64_PLTOFF64
Definition: mybfd.h:2586
@ BFD_RELOC_SH_DATA
Definition: mybfd.h:2849
@ BFD_RELOC_FRV_TLSMOFF
Definition: mybfd.h:2509
@ BFD_RELOC_V850_CALLT_6_7_OFFSET
Definition: mybfd.h:3222
@ BFD_RELOC_16C_ABS20_C
Definition: mybfd.h:3780
@ BFD_RELOC_16C_IMM32
Definition: mybfd.h:3791
@ BFD_RELOC_XSTORMY16_REL_12
Definition: mybfd.h:3902
@ BFD_RELOC_THUMB_PCREL_BRANCH7
Definition: mybfd.h:2747
@ BFD_RELOC_BFIN_24_PCREL_JUMP_L
Definition: mybfd.h:2958
@ BFD_RELOC_SH_TLS_IE_32
Definition: mybfd.h:2910
@ BFD_RELOC_32_PLTOFF
Definition: mybfd.h:2172
@ BFD_RELOC_SPARC_PC_HM10
Definition: mybfd.h:2254
@ BFD_RELOC_THUMB_PCREL_BRANCH9
Definition: mybfd.h:2748
@ BFD_RELOC_XTENSA_SLOT13_ALT
Definition: mybfd.h:4009
@ BFD_RELOC_SH_GOT_HI16
Definition: mybfd.h:2861
@ BFD_RELOC_IA64_LTOFF_FPTR64LSB
Definition: mybfd.h:3665
@ BFD_RELOC_PPC_GOT_DTPREL16_HI
Definition: mybfd.h:2699
@ BFD_RELOC_SPARC_GOT22
Definition: mybfd.h:2229
@ BFD_RELOC_V850_CALLT_16_16_OFFSET
Definition: mybfd.h:3225
@ BFD_RELOC_MSP430_16
Definition: mybfd.h:3939
@ BFD_RELOC_THUMB_PCREL_BRANCH25
Definition: mybfd.h:2752
@ BFD_RELOC_ARM_PCREL_BRANCH
Definition: mybfd.h:2724
@ BFD_RELOC_SPARC_5
Definition: mybfd.h:2260
@ BFD_RELOC_CRIS_SIGNED_16
Definition: mybfd.h:3824
@ BFD_RELOC_16C_IMM20
Definition: mybfd.h:3787
@ BFD_ARELOC_BFIN_DIV
Definition: mybfd.h:2998
@ BFD_RELOC_IP2K_TEXT
Definition: mybfd.h:3595
@ BFD_RELOC_CRIS_LAPCQ_OFFSET
Definition: mybfd.h:3826
@ BFD_RELOC_860_HAGOT
Definition: mybfd.h:3883
@ BFD_RELOC_SH_TLS_DTPOFF32
Definition: mybfd.h:2913
@ BFD_RELOC_ARM_TLS_TPOFF32
Definition: mybfd.h:2793
@ BFD_RELOC_860_SPGOTOFF0
Definition: mybfd.h:3876
@ BFD_RELOC_XTENSA_SLOT5_ALT
Definition: mybfd.h:4001
@ BFD_RELOC_FRV_FUNCDESC_GOTOFF12
Definition: mybfd.h:2488
@ BFD_RELOC_860_HAPC
Definition: mybfd.h:3885
@ BFD_RELOC_390_TLS_LDM32
Definition: mybfd.h:3551
@ BFD_RELOC_XTENSA_SLOT0_OP
Definition: mybfd.h:3978
@ BFD_RELOC_ARM_MULTI
Definition: mybfd.h:2807
@ BFD_RELOC_SPARC_HH22
Definition: mybfd.h:2250
@ BFD_RELOC_32_PCREL
Definition: mybfd.h:2147
@ BFD_RELOC_BFIN_GOTOFF17M4
Definition: mybfd.h:2972
@ BFD_RELOC_SPARC_TLS_TPOFF64
Definition: mybfd.h:2298
@ BFD_RELOC_SH_GOTPLT10BY4
Definition: mybfd.h:2884
@ BFD_ARELOC_BFIN_MOD
Definition: mybfd.h:3001
@ BFD_RELOC_SH_DISP12BY4
Definition: mybfd.h:2831
@ BFD_RELOC_XTENSA_SLOT4_OP
Definition: mybfd.h:3982
@ BFD_RELOC_ARM_GOTOFF
Definition: mybfd.h:2784
@ BFD_RELOC_IA64_PCREL32LSB
Definition: mybfd.h:3657
@ BFD_RELOC_390_PLTOFF64
Definition: mybfd.h:3540
@ BFD_RELOC_XTENSA_JMP_SLOT
Definition: mybfd.h:3957
@ BFD_RELOC_16C_DISP16
Definition: mybfd.h:3763
@ BFD_RELOC_MIPS_TLS_DTPREL_HI16
Definition: mybfd.h:2458
@ BFD_RELOC_ALPHA_DTPREL_LO16
Definition: mybfd.h:2376
@ BFD_RELOC_IA64_GPREL22
Definition: mybfd.h:3632
@ BFD_RELOC_PPC_GOT_TLSGD16_LO
Definition: mybfd.h:2686
@ BFD_RELOC_XSTORMY16_12
Definition: mybfd.h:3903
@ BFD_RELOC_SH_IMM8
Definition: mybfd.h:2838
@ BFD_RELOC_GPREL16
Definition: mybfd.h:2215
@ BFD_RELOC_PPC_EMB_NADDR16
Definition: mybfd.h:2633
@ BFD_RELOC_SH_GOTPC_MEDHI16
Definition: mybfd.h:2876
@ BFD_RELOC_390_GOT12
Definition: mybfd.h:3468
@ BFD_RELOC_390_TLS_LDM64
Definition: mybfd.h:3552
@ BFD_RELOC_PPC64_PLTGOT16_LO_DS
Definition: mybfd.h:2670
@ BFD_RELOC_XTENSA_SLOT0_ALT
Definition: mybfd.h:3996
@ BFD_RELOC_MIPS_TLS_GD
Definition: mybfd.h:2456
@ BFD_RELOC_ARM_GOTPC
Definition: mybfd.h:2785
@ BFD_RELOC_M32R_GOT24
Definition: mybfd.h:3154
@ BFD_RELOC_12_PCREL
Definition: mybfd.h:2150
@ BFD_RELOC_SH_TLS_TPOFF32
Definition: mybfd.h:2914
@ BFD_RELOC_CRX_ABS16
Definition: mybfd.h:3805
@ BFD_RELOC_FR30_9_PCREL
Definition: mybfd.h:3301
@ BFD_RELOC_V850_TDA_6_8_OFFSET
Definition: mybfd.h:3194
@ BFD_RELOC_X86_64_COPY
Definition: mybfd.h:2566
@ BFD_RELOC_XTENSA_SLOT1_ALT
Definition: mybfd.h:3997
@ BFD_RELOC_IA64_TPREL14
Definition: mybfd.h:3687
@ BFD_RELOC_PPC_TPREL16
Definition: mybfd.h:2675
@ BFD_RELOC_NS32K_IMM_16_PCREL
Definition: mybfd.h:2596
@ BFD_ARELOC_BFIN_CONST
Definition: mybfd.h:2986
@ BFD_RELOC_386_TLS_LE_32
Definition: mybfd.h:2555
@ BFD_RELOC_ALPHA_HINT
Definition: mybfd.h:2349
@ BFD_ARELOC_BFIN_LSHIFT
Definition: mybfd.h:3004
@ BFD_RELOC_24
Definition: mybfd.h:2136
@ BFD_RELOC_ALPHA_GPREL_HI16
Definition: mybfd.h:2361
@ BFD_RELOC_MIPS_SHIFT6
Definition: mybfd.h:2442
@ BFD_RELOC_SPARC_10
Definition: mybfd.h:2247
@ BFD_RELOC_SPARC_TLS_LDM_CALL
Definition: mybfd.h:2282
@ BFD_RELOC_MIPS_GOT_LO16
Definition: mybfd.h:2434
@ BFD_RELOC_SH_JMP_SLOT
Definition: mybfd.h:2855
@ BFD_RELOC_ARM_OFFSET_IMM
Definition: mybfd.h:2755
@ BFD_RELOC_SH_IMMU6
Definition: mybfd.h:2891
@ BFD_RELOC_UNUSED
Definition: mybfd.h:4040
@ BFD_RELOC_V850_9_PCREL
Definition: mybfd.h:3173
@ BFD_RELOC_M32R_GOT16_HI_ULO
Definition: mybfd.h:3165
@ BFD_RELOC_D30V_21_PCREL_R
Definition: mybfd.h:3102
@ BFD_RELOC_V850_ZDA_15_16_OFFSET
Definition: mybfd.h:3190
@ BFD_RELOC_MMIX_PUSHJ_1
Definition: mybfd.h:3330
@ BFD_RELOC_IA64_SEGREL32MSB
Definition: mybfd.h:3666
@ BFD_RELOC_XC16X_POF
Definition: mybfd.h:3909
@ BFD_RELOC_IQ2000_OFFSET_21
Definition: mybfd.h:3947
@ BFD_RELOC_32_PLT_PCREL
Definition: mybfd.h:2167
@ BFD_RELOC_VTABLE_ENTRY
Definition: mybfd.h:3622
@ BFD_RELOC_V850_SDA_16_16_OFFSET
Definition: mybfd.h:3179
@ BFD_RELOC_ARM_THUMB_SHIFT
Definition: mybfd.h:2822
@ BFD_RELOC_LO16_PLTOFF
Definition: mybfd.h:2174
@ BFD_RELOC_AVR_HH8_LDI_PM_NEG
Definition: mybfd.h:3446
@ BFD_RELOC_SH_GOT_MEDLOW16
Definition: mybfd.h:2859
@ BFD_RELOC_SH_GOT_LOW16
Definition: mybfd.h:2858
@ BFD_RELOC_SH_GOT10BY8
Definition: mybfd.h:2883
@ BFD_RELOC_SH_SWITCH16
Definition: mybfd.h:2843
@ BFD_RELOC_MIPS_INSERT_A
Definition: mybfd.h:2443
@ BFD_RELOC_860_HIGHADJ
Definition: mybfd.h:3882
@ BFD_RELOC_M32R_SDA16
Definition: mybfd.h:3151
@ BFD_RELOC_PPC_GOT_DTPREL16
Definition: mybfd.h:2697
@ BFD_RELOC_ARM_TLS_IE32
Definition: mybfd.h:2794
@ BFD_RELOC_FRV_GPRELLO
Definition: mybfd.h:2479
@ BFD_RELOC_SH_GOTPC
Definition: mybfd.h:2857
@ BFD_RELOC_IA64_TPREL64I
Definition: mybfd.h:3689
@ BFD_RELOC_SH_IMM_HI16
Definition: mybfd.h:2904
@ BFD_RELOC_SPARC_L44
Definition: mybfd.h:2268
@ BFD_RELOC_TIC30_LDP
Definition: mybfd.h:3251
@ BFD_RELOC_ALPHA_GPDISP_HI16
Definition: mybfd.h:2306
@ BFD_RELOC_AVR_6
Definition: mybfd.h:3458
@ BFD_RELOC_HI16_S
Definition: mybfd.h:2401
@ BFD_RELOC_MIPS_CALL16
Definition: mybfd.h:2432
@ BFD_RELOC_SH_IMM4BY4
Definition: mybfd.h:2837
@ BFD_RELOC_IP2K_FR9
Definition: mybfd.h:3571
@ BFD_RELOC_M32R_GOTPC_HI_SLO
Definition: mybfd.h:3169
@ BFD_RELOC_MCORE_RVA
Definition: mybfd.h:3313
@ BFD_RELOC_PPC_DTPMOD
Definition: mybfd.h:2674
@ BFD_RELOC_MT_LO16
Definition: mybfd.h:3925
@ BFD_RELOC_CRX_SWITCH32
Definition: mybfd.h:3814
@ BFD_RELOC_SH_IMM3U
Definition: mybfd.h:2828
@ BFD_RELOC_PPC64_HIGHER_S
Definition: mybfd.h:2649
@ BFD_RELOC_IA64_PCREL64MSB
Definition: mybfd.h:3658
@ BFD_RELOC_PPC64_PLTGOT16_LO
Definition: mybfd.h:2657
@ BFD_RELOC_SH_GOT10BY4
Definition: mybfd.h:2882
@ BFD_RELOC_SPARC_PC_HH22
Definition: mybfd.h:2253
@ BFD_RELOC_XTENSA_SLOT3_ALT
Definition: mybfd.h:3999
@ BFD_RELOC_390_GOTPC
Definition: mybfd.h:3486
@ BFD_ARELOC_BFIN_AND
Definition: mybfd.h:3010
@ BFD_RELOC_386_TLS_TPOFF
Definition: mybfd.h:2547
@ BFD_RELOC_390_PLT64
Definition: mybfd.h:3510
@ BFD_RELOC_MIPS_SHIFT5
Definition: mybfd.h:2441
@ BFD_RELOC_16C_NUM08_C
Definition: mybfd.h:3754
@ BFD_RELOC_M32C_HI8
Definition: mybfd.h:3120
@ BFD_RELOC_MT_GNU_VTINHERIT
Definition: mybfd.h:3928
@ BFD_RELOC_MMIX_ADDR19
Definition: mybfd.h:3343
@ BFD_RELOC_HI16_BASEREL
Definition: mybfd.h:2188
@ BFD_RELOC_SH_RELATIVE
Definition: mybfd.h:2856
@ BFD_RELOC_NS32K_IMM_8
Definition: mybfd.h:2592
@ BFD_RELOC_16
Definition: mybfd.h:2137
@ BFD_RELOC_BFIN_GOTHI
Definition: mybfd.h:2962
@ BFD_RELOC_16C_DISP24a_C
Definition: mybfd.h:3768
@ BFD_RELOC_IA64_PCREL21BI
Definition: mybfd.h:3650
@ BFD_RELOC_ARM_ADRL_IMMEDIATE
Definition: mybfd.h:2800
@ BFD_RELOC_IA64_DIR64LSB
Definition: mybfd.h:3631
@ BFD_RELOC_MMIX_CBRANCH_2
Definition: mybfd.h:3325
@ BFD_RELOC_386_JUMP_SLOT
Definition: mybfd.h:2543
@ BFD_RELOC_8_PLTOFF
Definition: mybfd.h:2177
@ BFD_RELOC_390_12
Definition: mybfd.h:3465
@ BFD_RELOC_BFIN_GOTOFFLO
Definition: mybfd.h:2974
@ BFD_RELOC_BFIN_FUNCDESC_GOTOFFLO
Definition: mybfd.h:2971
@ BFD_RELOC_390_TLS_LDO64
Definition: mybfd.h:3559
@ BFD_RELOC_FRV_TLSDESC_VALUE
Definition: mybfd.h:2495
@ BFD_RELOC_MIPS16_JMP
Definition: mybfd.h:2389
@ BFD_RELOC_XTENSA_SLOT12_ALT
Definition: mybfd.h:4008
@ BFD_RELOC_M68HC11_RL_JUMP
Definition: mybfd.h:3722
@ BFD_RELOC_M32R_24
Definition: mybfd.h:3127
@ BFD_RELOC_XTENSA_RTLD
Definition: mybfd.h:3953
@ BFD_RELOC_860_PLT26
Definition: mybfd.h:3862
@ BFD_RELOC_SPARC_PLT64
Definition: mybfd.h:2263
@ BFD_RELOC_XTENSA_SLOT7_ALT
Definition: mybfd.h:4003
@ BFD_RELOC_390_TLS_GOTIE64
Definition: mybfd.h:3550
@ BFD_RELOC_X86_64_GOT64
Definition: mybfd.h:2582
@ BFD_ARELOC_BFIN_XOR
Definition: mybfd.h:3016
@ BFD_RELOC_PDP11_DISP_6_PCREL
Definition: mybfd.h:2607
@ BFD_RELOC_IA64_FPTR64I
Definition: mybfd.h:3644
@ BFD_RELOC_390_GOTOFF64
Definition: mybfd.h:3516
@ BFD_RELOC_PPC_GOT_TLSGD16_HI
Definition: mybfd.h:2687
@ BFD_RELOC_SH_PT_16
Definition: mybfd.h:2906
@ BFD_RELOC_NS32K_DISP_32_PCREL
Definition: mybfd.h:2603
@ BFD_RELOC_ARC_B26
Definition: mybfd.h:2925
@ BFD_RELOC_386_TLS_GOTDESC
Definition: mybfd.h:2559
@ BFD_RELOC_DLX_HI16_S
Definition: mybfd.h:3111
@ BFD_RELOC_M68HC11_LO16
Definition: mybfd.h:3734
@ BFD_RELOC_IA64_PLTOFF22
Definition: mybfd.h:3640
@ BFD_RELOC_X86_64_GLOB_DAT
Definition: mybfd.h:2567
@ BFD_RELOC_LO10
Definition: mybfd.h:2209
@ BFD_RELOC_SH_GOTPLT_LOW16
Definition: mybfd.h:2862
@ BFD_RELOC_HI16_S_PLTOFF
Definition: mybfd.h:2176
@ BFD_RELOC_XTENSA_DIFF32
Definition: mybfd.h:3972
@ BFD_RELOC_CRX_REGREL28
Definition: mybfd.h:3803
@ BFD_RELOC_SPARC_TLS_GD_LO10
Definition: mybfd.h:2276
@ BFD_RELOC_PPC_EMB_RELST_HI
Definition: mybfd.h:2644
@ BFD_RELOC_SPARC_WDISP22
Definition: mybfd.h:2224
@ BFD_RELOC_ARM_SWI
Definition: mybfd.h:2806
@ BFD_RELOC_16_PCREL_S2
Definition: mybfd.h:2203
@ BFD_RELOC_MIPS_TLS_TPREL_HI16
Definition: mybfd.h:2463
@ BFD_RELOC_CRX_NUM16
Definition: mybfd.h:3808
@ BFD_RELOC_32_GOTOFF
Definition: mybfd.h:2160
@ BFD_RELOC_SPARC_JMP_SLOT
Definition: mybfd.h:2235
@ BFD_RELOC_CRIS_16_GOTPLT
Definition: mybfd.h:3845
@ BFD_RELOC_SH_IMM8BY2
Definition: mybfd.h:2839
@ BFD_RELOC_64_PCREL
Definition: mybfd.h:2146
@ BFD_RELOC_MIPS_LITERAL
Definition: mybfd.h:2428
@ BFD_RELOC_PPC_DTPREL16_HA
Definition: mybfd.h:2683
@ BFD_RELOC_X86_64_GOTPLT64
Definition: mybfd.h:2585
@ BFD_RELOC_V850_ALIGN
Definition: mybfd.h:3234
@ BFD_RELOC_PPC_GOT_TPREL16_HI
Definition: mybfd.h:2695
@ BFD_RELOC_PPC64_DTPREL16_HIGHESTA
Definition: mybfd.h:2712
@ BFD_RELOC_TIC54X_PARTMS9
Definition: mybfd.h:3261
@ BFD_RELOC_PDP11_DISP_8_PCREL
Definition: mybfd.h:2606
@ BFD_RELOC_390_COPY
Definition: mybfd.h:3474
@ BFD_RELOC_AVR_MS8_LDI
Definition: mybfd.h:3390
@ BFD_RELOC_ALPHA_DTPREL64
Definition: mybfd.h:2374
@ BFD_RELOC_PPC_GOT_TLSLD16_HI
Definition: mybfd.h:2691
@ BFD_RELOC_MMIX_CBRANCH_1
Definition: mybfd.h:3324
@ BFD_RELOC_FRV_TLSMOFFHI
Definition: mybfd.h:2500
@ BFD_RELOC_MIPS_GOT_OFST
Definition: mybfd.h:2439
@ BFD_RELOC_ARM_TLS_DTPMOD32
Definition: mybfd.h:2792
@ BFD_RELOC_NS32K_IMM_8_PCREL
Definition: mybfd.h:2595
@ BFD_RELOC_PPC64_ADDR16_DS
Definition: mybfd.h:2660
@ BFD_RELOC_BFIN_GOTOFFHI
Definition: mybfd.h:2973
@ BFD_RELOC_BFIN_GOT
Definition: mybfd.h:2977
@ BFD_RELOC_MMIX_PUSHJ_STUBBABLE
Definition: mybfd.h:3333
@ BFD_RELOC_860_LOGOTOFF2
Definition: mybfd.h:3879
@ BFD_RELOC_AVR_HH8_LDI_NEG
Definition: mybfd.h:3404
@ BFD_RELOC_MN10300_RELATIVE
Definition: mybfd.h:2536
@ BFD_RELOC_SPARC_TLS_TPOFF32
Definition: mybfd.h:2297
@ BFD_RELOC_XC16X_SEG
Definition: mybfd.h:3910
@ BFD_RELOC_XTENSA_SLOT3_OP
Definition: mybfd.h:3981
@ BFD_RELOC_CRIS_RELATIVE
Definition: mybfd.h:3833
@ BFD_RELOC_FRV_LABEL16
Definition: mybfd.h:2471
@ BFD_RELOC_386_TLS_GOTIE
Definition: mybfd.h:2549
@ BFD_RELOC_860_LOGOT1
Definition: mybfd.h:3873
@ BFD_RELOC_SH_DISP12
Definition: mybfd.h:2829
@ BFD_RELOC_HI22
Definition: mybfd.h:2208
@ BFD_RELOC_SPARC_UA32
Definition: mybfd.h:2238
@ BFD_RELOC_390_RELATIVE
Definition: mybfd.h:3483
@ BFD_RELOC_SH_ALIGN
Definition: mybfd.h:2847
@ BFD_RELOC_V850_SDA_16_16_SPLIT_OFFSET
Definition: mybfd.h:3215
@ BFD_RELOC_MSP430_RL_PCREL
Definition: mybfd.h:3943
@ BFD_RELOC_DLX_JMP26
Definition: mybfd.h:3117
@ BFD_RELOC_SPARC_TLS_GD_ADD
Definition: mybfd.h:2277
@ BFD_RELOC_SH_TLS_LDO_32
Definition: mybfd.h:2909
@ BFD_RELOC_IA64_LTOFF_TPREL22
Definition: mybfd.h:3692
@ BFD_RELOC_IA64_DIR32MSB
Definition: mybfd.h:3628
@ BFD_RELOC_SPARC_TLS_DTPOFF64
Definition: mybfd.h:2296
@ BFD_RELOC_BFIN_FUNCDESC
Definition: mybfd.h:2964
@ BFD_RELOC_MN10300_JMP_SLOT
Definition: mybfd.h:2533
@ BFD_RELOC_PPC_JMP_SLOT
Definition: mybfd.h:2629
@ BFD_RELOC_M32R_GOTOFF_HI_SLO
Definition: mybfd.h:3162
@ BFD_RELOC_CRIS_UNSIGNED_6
Definition: mybfd.h:3821
@ BFD_RELOC_MMIX_REG_OR_BYTE
Definition: mybfd.h:3350
@ BFD_RELOC_16C_REG16
Definition: mybfd.h:3775
@ BFD_RELOC_MIPS16_HI16_S
Definition: mybfd.h:2422
@ BFD_RELOC_VPE4KMATH_DATA
Definition: mybfd.h:3601
@ BFD_ARELOC_BFIN_COMP
Definition: mybfd.h:3031
@ BFD_RELOC_PPC_GOT_TLSLD16
Definition: mybfd.h:2689
@ BFD_RELOC_SPARC_BASE22
Definition: mybfd.h:2243
@ BFD_RELOC_NS32K_DISP_16_PCREL
Definition: mybfd.h:2602
@ BFD_RELOC_MSP430_16_PCREL_BYTE
Definition: mybfd.h:3940
@ BFD_RELOC_PPC64_GOT16_LO_DS
Definition: mybfd.h:2663
@ BFD_RELOC_PPC64_TPREL16_HIGHERA
Definition: mybfd.h:2704
@ BFD_RELOC_ARM_TLS_LDO32
Definition: mybfd.h:2789
@ BFD_RELOC_LO16_PCREL
Definition: mybfd.h:2413
@ BFD_RELOC_SH_GOTPC_HI16
Definition: mybfd.h:2877
@ BFD_RELOC_M68HC11_RL_GROUP
Definition: mybfd.h:3728
@ BFD_RELOC_BFIN_16_LOW
Definition: mybfd.h:2940
@ BFD_RELOC_IA64_DTPMOD64MSB
Definition: mybfd.h:3693
@ BFD_RELOC_16_PLTOFF
Definition: mybfd.h:2173
@ BFD_RELOC_860_HIGOTOFF
Definition: mybfd.h:3888
@ BFD_RELOC_PPC64_PLTGOT16_DS
Definition: mybfd.h:2669
@ BFD_RELOC_PPC_EMB_RELSEC16
Definition: mybfd.h:2642
@ BFD_RELOC_SH_GOTPLT_MEDLOW16
Definition: mybfd.h:2863
@ BFD_RELOC_390_GOTPLT12
Definition: mybfd.h:3519
@ BFD_RELOC_16C_ABS24
Definition: mybfd.h:3781
@ BFD_RELOC_MMIX_GETA
Definition: mybfd.h:3316
@ BFD_RELOC_16C_IMM24
Definition: mybfd.h:3789
@ BFD_RELOC_390_GOTPLT64
Definition: mybfd.h:3528
@ BFD_RELOC_FRV_GPRELHI
Definition: mybfd.h:2478
@ BFD_RELOC_16C_DISP16_C
Definition: mybfd.h:3764
@ BFD_RELOC_ARM_TARGET2
Definition: mybfd.h:2773
@ BFD_RELOC_ALPHA_LINKAGE
Definition: mybfd.h:2353
@ BFD_RELOC_X86_64_RELATIVE
Definition: mybfd.h:2569
@ BFD_RELOC_PPC_GOT_TPREL16
Definition: mybfd.h:2693
@ BFD_RELOC_SH_IMM4
Definition: mybfd.h:2835
@ BFD_RELOC_386_TLS_GD
Definition: mybfd.h:2551
@ BFD_RELOC_SH_PLT_MEDLOW16
Definition: mybfd.h:2867
@ BFD_RELOC_390_TLS_GDCALL
Definition: mybfd.h:3544
@ BFD_RELOC_386_GOTOFF
Definition: mybfd.h:2545
@ BFD_RELOC_IA64_IPLTLSB
Definition: mybfd.h:3683
@ BFD_RELOC_M32C_RL_JUMP
Definition: mybfd.h:3121
@ BFD_RELOC_CRX_REL8
Definition: mybfd.h:3796
@ BFD_RELOC_CRIS_32_GOTPLT
Definition: mybfd.h:3842
@ BFD_RELOC_I370_D12
Definition: mybfd.h:2715
@ BFD_RELOC_LO16
Definition: mybfd.h:2404
@ BFD_RELOC_CRIS_BDISP8
Definition: mybfd.h:3818
@ BFD_RELOC_XTENSA_OP0
Definition: mybfd.h:4014
@ BFD_RELOC_IA64_PCREL21M
Definition: mybfd.h:3651
@ BFD_RELOC_SPARC_LOX10
Definition: mybfd.h:2265
@ BFD_RELOC_SH_PCRELIMM8BY4
Definition: mybfd.h:2842
@ BFD_RELOC_FRV_TLSDESC_RELAX
Definition: mybfd.h:2506
@ BFD_RELOC_16C_DISP08_C
Definition: mybfd.h:3762
@ BFD_RELOC_32_PCREL_S2
Definition: mybfd.h:2202
@ BFD_RELOC_IA64_LTOFF_FPTR64MSB
Definition: mybfd.h:3664
@ BFD_RELOC_XTENSA_ASM_SIMPLIFY
Definition: mybfd.h:4027
@ BFD_RELOC_CRX_REL8_CMP
Definition: mybfd.h:3797
@ BFD_RELOC_PJ_CODE_DIR16
Definition: mybfd.h:2612
@ BFD_RELOC_ARM_TLS_LDM32
Definition: mybfd.h:2790
@ BFD_RELOC_XTENSA_SLOT14_OP
Definition: mybfd.h:3992
@ BFD_RELOC_M32R_GOTOFF_HI_ULO
Definition: mybfd.h:3161
@ BFD_RELOC_PPC_TPREL
Definition: mybfd.h:2679
@ BFD_RELOC_M32R_GOT16_HI_SLO
Definition: mybfd.h:3166
@ BFD_RELOC_BFIN_4_PCREL
Definition: mybfd.h:2934
@ BFD_RELOC_860_LOW3
Definition: mybfd.h:3870
@ BFD_RELOC_OPENRISC_REL_26
Definition: mybfd.h:3892
@ BFD_RELOC_SH_DISP12BY8
Definition: mybfd.h:2832
@ BFD_RELOC_XTENSA_SLOT9_OP
Definition: mybfd.h:3987
@ BFD_RELOC_SH_COPY
Definition: mybfd.h:2853
@ BFD_RELOC_BFIN_FUNCDESC_GOTOFFHI
Definition: mybfd.h:2970
@ BFD_RELOC_16C_IMM16_C
Definition: mybfd.h:3786
@ BFD_RELOC_SH_GOTPLT32
Definition: mybfd.h:2886
@ BFD_RELOC_CRIS_SIGNED_8
Definition: mybfd.h:3822
@ BFD_RELOC_D30V_15
Definition: mybfd.h:3078
@ BFD_RELOC_ARM_PCREL_CALL
Definition: mybfd.h:2737
@ BFD_RELOC_PPC64_SECTOFF_DS
Definition: mybfd.h:2665
@ BFD_RELOC_FRV_TLSMOFFLO
Definition: mybfd.h:2501
@ BFD_RELOC_16C_REG04
Definition: mybfd.h:3769
@ BFD_RELOC_V850_LO16_SPLIT_OFFSET
Definition: mybfd.h:3238
@ BFD_RELOC_MIPS_TLS_DTPMOD32
Definition: mybfd.h:2452
@ BFD_RELOC_PPC64_PLTGOT16
Definition: mybfd.h:2656
@ BFD_RELOC_SPARC_GOT10
Definition: mybfd.h:2227
@ BFD_RELOC_IP2K_LO8INSN
Definition: mybfd.h:3588
@ BFD_RELOC_SH_IMM_HI16_PCREL
Definition: mybfd.h:2905
@ BFD_RELOC_BFIN_11_PCREL
Definition: mybfd.h:2946
@ BFD_RELOC_PPC_EMB_SDA21
Definition: mybfd.h:2640
@ BFD_RELOC_IA64_DTPREL64MSB
Definition: mybfd.h:3701
@ BFD_RELOC_SPARC_TLS_IE_HI22
Definition: mybfd.h:2286
@ BFD_RELOC_XTENSA_SLOT2_ALT
Definition: mybfd.h:3998
@ BFD_RELOC_PJ_CODE_REL16
Definition: mybfd.h:2614
@ BFD_RELOC_MIPS_HIGHEST
Definition: mybfd.h:2446
@ BFD_RELOC_SPARC_WDISP16
Definition: mybfd.h:2256
@ BFD_RELOC_860_PC16
Definition: mybfd.h:3863
@ BFD_RELOC_MT_PCINSN8
Definition: mybfd.h:3934
@ BFD_RELOC_SH_PLT_HI16
Definition: mybfd.h:2869
@ BFD_RELOC_ARM_T32_CP_OFF_IMM
Definition: mybfd.h:2810
@ BFD_RELOC_16C_ABS20
Definition: mybfd.h:3779
@ BFD_RELOC_SH_GOTPC_LOW16
Definition: mybfd.h:2874
@ BFD_RELOC_386_TLS_DTPMOD32
Definition: mybfd.h:2556
@ BFD_RELOC_SH_PCDISP8BY2
Definition: mybfd.h:2825
@ BFD_RELOC_NS32K_DISP_8_PCREL
Definition: mybfd.h:2601
@ BFD_RELOC_AVR_7_PCREL
Definition: mybfd.h:3366
@ BFD_RELOC_BFIN_5_PCREL
Definition: mybfd.h:2937
@ BFD_RELOC_CRX_REL24
Definition: mybfd.h:3799
@ BFD_RELOC_MMIX_CBRANCH_3
Definition: mybfd.h:3326
@ BFD_RELOC_8_BASEREL
Definition: mybfd.h:2190
@ BFD_RELOC_MT_GNU_VTENTRY
Definition: mybfd.h:3931
@ BFD_RELOC_LO16_GOTOFF
Definition: mybfd.h:2162
@ BFD_RELOC_MIPS_TLS_DTPREL64
Definition: mybfd.h:2455
@ BFD_RELOC_XTENSA_SLOT11_OP
Definition: mybfd.h:3989
@ BFD_RELOC_FRV_LABEL24
Definition: mybfd.h:2472
@ BFD_RELOC_IA64_LTOFF_FPTR32MSB
Definition: mybfd.h:3662
@ BFD_RELOC_PPC_LOCAL24PC
Definition: mybfd.h:2631
@ BFD_RELOC_PPC_GOT_TLSLD16_LO
Definition: mybfd.h:2690
@ BFD_RELOC_390_GOTPLT16
Definition: mybfd.h:3522
@ BFD_RELOC_ARM_T32_OFFSET_IMM
Definition: mybfd.h:2818
@ BFD_RELOC_16C_DISP24a
Definition: mybfd.h:3767
@ BFD_RELOC_MMIX_JMP_3
Definition: mybfd.h:3339
@ BFD_RELOC_H8_DIR16A8
Definition: mybfd.h:3895
@ BFD_ARELOC_BFIN_PUSH
Definition: mybfd.h:2983
@ BFD_RELOC_MMIX_JMP_1
Definition: mybfd.h:3337
@ BFD_RELOC_D30V_21_PCREL
Definition: mybfd.h:3096
@ BFD_RELOC_THUMB_PCREL_BLX
Definition: mybfd.h:2734
@ BFD_RELOC_D10V_18_PCREL
Definition: mybfd.h:3060
@ BFD_RELOC_PPC64_SECTOFF_LO_DS
Definition: mybfd.h:2666
@ BFD_RELOC_MIPS_JALR
Definition: mybfd.h:2451
@ BFD_RELOC_TIC54X_16_OF_23
Definition: mybfd.h:3269
@ BFD_RELOC_XTENSA_SLOT12_OP
Definition: mybfd.h:3990
@ BFD_RELOC_386_TLS_LDM
Definition: mybfd.h:2552
@ BFD_RELOC_ARM_T32_IMMEDIATE
Definition: mybfd.h:2801
@ BFD_RELOC_OPENRISC_ABS_26
Definition: mybfd.h:3891
@ BFD_RELOC_390_TLS_GOTIE20
Definition: mybfd.h:3568
@ BFD_RELOC_M32R_COPY
Definition: mybfd.h:3156
@ BFD_RELOC_PPC_EMB_RELST_LO
Definition: mybfd.h:2643
@ BFD_RELOC_THUMB_PCREL_BRANCH20
Definition: mybfd.h:2750
@ BFD_RELOC_32_SECREL
Definition: mybfd.h:2154
@ BFD_RELOC_PPC64_TPREL16_DS
Definition: mybfd.h:2701
@ BFD_RELOC_X86_64_TLSGD
Definition: mybfd.h:2575
@ BFD_RELOC_XTENSA_SLOT4_ALT
Definition: mybfd.h:4000
@ BFD_RELOC_ARM_TARGET1
Definition: mybfd.h:2762
@ BFD_RELOC_H8_DIR24A8
Definition: mybfd.h:3897
@ BFD_RELOC_MIPS16_HI16
Definition: mybfd.h:2416
@ BFD_RELOC_390_JMP_SLOT
Definition: mybfd.h:3480
@ BFD_RELOC_SH_IMM_MEDHI16
Definition: mybfd.h:2902
@ BFD_RELOC_AVR_16_PM
Definition: mybfd.h:3374
@ BFD_RELOC_PPC64_TOC
Definition: mybfd.h:2655
@ BFD_RELOC_SPARC_TLS_LDM_LO10
Definition: mybfd.h:2280
@ BFD_RELOC_390_TLS_IEENT
Definition: mybfd.h:3555
@ BFD_RELOC_PPC64_TOC16_HI
Definition: mybfd.h:2653
@ BFD_RELOC_H8_DIR24R8
Definition: mybfd.h:3898
@ BFD_RELOC_MCORE_PCREL_JSR_IMM11BY2
Definition: mybfd.h:3312
@ BFD_RELOC_M32R_LO16
Definition: mybfd.h:3147
@ BFD_RELOC_PPC64_TOC16_LO
Definition: mybfd.h:2652
@ BFD_RELOC_AVR_LO8_LDI_PM
Definition: mybfd.h:3412
@ BFD_RELOC_CRX_NUM8
Definition: mybfd.h:3807
@ BFD_RELOC_390_TLS_LE32
Definition: mybfd.h:3556
@ BFD_RELOC_68K_JMP_SLOT
Definition: mybfd.h:2181
@ BFD_RELOC_16C_IMM04_C
Definition: mybfd.h:3784
@ BFD_RELOC_390_PLTOFF32
Definition: mybfd.h:3537
@ BFD_RELOC_860_LOGOTOFF3
Definition: mybfd.h:3880
@ BFD_RELOC_BFIN_FUNCDESC_GOTLO
Definition: mybfd.h:2967
@ BFD_RELOC_M68HC11_PAGE
Definition: mybfd.h:3740
@ BFD_RELOC_D10V_10_PCREL_R
Definition: mybfd.h:3045
@ BFD_RELOC_DLX_LO16
Definition: mybfd.h:3114
@ BFD_RELOC_IA64_PLTOFF64MSB
Definition: mybfd.h:3642
@ BFD_RELOC_FRV_GPRELU12
Definition: mybfd.h:2476
@ BFD_ARELOC_BFIN_MULT
Definition: mybfd.h:2995
@ BFD_RELOC_ARM_PREL31
Definition: mybfd.h:2776
@ BFD_RELOC_ARM_IMMEDIATE
Definition: mybfd.h:2799
@ BFD_RELOC_D30V_32_PCREL
Definition: mybfd.h:3108
@ BFD_RELOC_CRIS_UNSIGNED_4
Definition: mybfd.h:3827
@ BFD_RELOC_CRIS_UNSIGNED_16
Definition: mybfd.h:3825
@ BFD_RELOC_V850_TDA_4_5_OFFSET
Definition: mybfd.h:3208
@ BFD_RELOC_PPC_GOT_TLSGD16_HA
Definition: mybfd.h:2688
@ BFD_RELOC_IA64_PLTOFF64LSB
Definition: mybfd.h:3643
@ BFD_RELOC_MIPS_GOT16
Definition: mybfd.h:2431
@ BFD_RELOC_64_PLT_PCREL
Definition: mybfd.h:2166
@ BFD_RELOC_M68HC11_24
Definition: mybfd.h:3746
@ BFD_RELOC_V850_TDA_4_4_OFFSET
Definition: mybfd.h:3211
@ BFD_RELOC_390_TLS_IE64
Definition: mybfd.h:3554
@ BFD_RELOC_M32R_JMP_SLOT
Definition: mybfd.h:3158
@ BFD_RELOC_PPC64_PLT16_LO_DS
Definition: mybfd.h:2664
@ BFD_RELOC_M68HC11_3B
Definition: mybfd.h:3715
@ BFD_RELOC_860_JUMP_SLOT
Definition: mybfd.h:3859
@ BFD_RELOC_SH_DISP20BY8
Definition: mybfd.h:2834
@ BFD_RELOC_SPARC22
Definition: mybfd.h:2225
@ BFD_RELOC_CRX_ABS32
Definition: mybfd.h:3806
@ BFD_RELOC_MN10300_GOTOFF24
Definition: mybfd.h:2512
@ BFD_RELOC_XTENSA_SLOT10_ALT
Definition: mybfd.h:4006
@ BFD_RELOC_ARM_IN_POOL
Definition: mybfd.h:2815
@ BFD_RELOC_XTENSA_SLOT6_OP
Definition: mybfd.h:3984
@ BFD_RELOC_IA64_LTOFF_DTPMOD22
Definition: mybfd.h:3695
@ BFD_RELOC_SH_IMMS6
Definition: mybfd.h:2889
@ BFD_RELOC_SH_PLT_MEDHI16
Definition: mybfd.h:2868
@ BFD_RELOC_SH_GOTPC_MEDLOW16
Definition: mybfd.h:2875
@ BFD_RELOC_16C_REG04a
Definition: mybfd.h:3771
@ BFD_RELOC_SH_IMM_MEDHI16_PCREL
Definition: mybfd.h:2903
@ BFD_RELOC_AVR_HH8_LDI_PM
Definition: mybfd.h:3432
@ BFD_RELOC_FRV_HI16
Definition: mybfd.h:2474
@ BFD_RELOC_ARM_TLS_LE32
Definition: mybfd.h:2795
@ BFD_RELOC_SPARC_OLO10
Definition: mybfd.h:2249
@ BFD_RELOC_16C_DISP08
Definition: mybfd.h:3761
@ BFD_RELOC_FRV_GOTLO
Definition: mybfd.h:2482
@ BFD_RELOC_IA64_GPREL32LSB
Definition: mybfd.h:3635
@ BFD_RELOC_ARM_THUMB_OFFSET
Definition: mybfd.h:2758
@ BFD_RELOC_MIPS_GOT_HI16
Definition: mybfd.h:2433
@ BFD_RELOC_SH_TLS_LD_32
Definition: mybfd.h:2908
@ BFD_RELOC_BFIN_PLTPC
Definition: mybfd.h:2980
@ BFD_RELOC_PPC64_ADDR16_LO_DS
Definition: mybfd.h:2661
@ BFD_RELOC_IA64_SECREL32MSB
Definition: mybfd.h:3670
@ BFD_RELOC_SPARC_GOT13
Definition: mybfd.h:2228
@ BFD_RELOC_SPARC_TLS_IE_LDX
Definition: mybfd.h:2289
@ BFD_RELOC_SH_PCDISP12BY2
Definition: mybfd.h:2826
@ BFD_RELOC_M32R_GOTPC24
Definition: mybfd.h:3164
@ BFD_RELOC_PPC_BA16
Definition: mybfd.h:2624
@ BFD_RELOC_PPC_B16
Definition: mybfd.h:2621
@ BFD_RELOC_M68HC11_HI8
Definition: mybfd.h:3707
@ BFD_RELOC_SPARC_TLS_LE_HIX22
Definition: mybfd.h:2291
@ BFD_RELOC_PPC_TLS
Definition: mybfd.h:2673
@ BFD_RELOC_H8_DIR16R8
Definition: mybfd.h:3896
@ BFD_RELOC_FR30_12_PCREL
Definition: mybfd.h:3305
@ BFD_RELOC_390_GOTENT
Definition: mybfd.h:3513
@ BFD_RELOC_D30V_9_PCREL_R
Definition: mybfd.h:3074
@ _dummy_first_bfd_reloc_code_real
Definition: mybfd.h:2130
@ BFD_RELOC_HI16_PLTOFF
Definition: mybfd.h:2175
@ BFD_RELOC_386_PLT32
Definition: mybfd.h:2540
@ BFD_RELOC_8_PLT_PCREL
Definition: mybfd.h:2170
@ BFD_RELOC_PPC64_DTPREL16_DS
Definition: mybfd.h:2707
@ BFD_RELOC_IA64_GPREL64LSB
Definition: mybfd.h:3637
@ BFD_RELOC_V850_ZDA_16_16_OFFSET
Definition: mybfd.h:3186
@ BFD_RELOC_SH_DISP20
Definition: mybfd.h:2833
@ BFD_RELOC_PPC_EMB_BIT_FLD
Definition: mybfd.h:2646
@ BFD_RELOC_IA64_DTPREL32MSB
Definition: mybfd.h:3699
@ BFD_RELOC_ARM_T32_OFFSET_U8
Definition: mybfd.h:2817
@ BFD_RELOC_XTENSA_SLOT14_ALT
Definition: mybfd.h:4010
@ BFD_RELOC_390_GLOB_DAT
Definition: mybfd.h:3477
@ BFD_RELOC_390_GOTPLT20
Definition: mybfd.h:3567
@ BFD_RELOC_PPC64_TPREL16_LO_DS
Definition: mybfd.h:2702
@ BFD_RELOC_CRX_REGREL22
Definition: mybfd.h:3802
@ BFD_RELOC_M68HC11_LO8
Definition: mybfd.h:3711
@ BFD_RELOC_SH_COUNT
Definition: mybfd.h:2846
@ BFD_RELOC_MCORE_PCREL_32
Definition: mybfd.h:3311
@ BFD_RELOC_CRIS_32_GOTREL
Definition: mybfd.h:3848
@ BFD_RELOC_860_SPGOTOFF1
Definition: mybfd.h:3878
@ BFD_RELOC_XSTORMY16_FPTR16
Definition: mybfd.h:3905
@ BFD_RELOC_MIPS_GOT_DISP
Definition: mybfd.h:2440
@ BFD_RELOC_IA64_REL32LSB
Definition: mybfd.h:3675
@ BFD_RELOC_PPC_B16_BRTAKEN
Definition: mybfd.h:2622
@ BFD_RELOC_ARM_CP_OFF_IMM_S2
Definition: mybfd.h:2809
@ BFD_RELOC_IA64_SECREL64MSB
Definition: mybfd.h:3672
@ BFD_RELOC_MSP430_2X_PCREL
Definition: mybfd.h:3942
@ BFD_RELOC_CRX_REGREL32
Definition: mybfd.h:3804
@ BFD_RELOC_SH_IMMS10BY8
Definition: mybfd.h:2895
@ BFD_RELOC_XTENSA_SLOT7_OP
Definition: mybfd.h:3985
@ BFD_RELOC_X86_64_GOTPCREL
Definition: mybfd.h:2570
@ BFD_RELOC_AVR_HI8_LDI_NEG
Definition: mybfd.h:3399
@ BFD_RELOC_FR30_10_IN_8
Definition: mybfd.h:3297
@ BFD_RELOC_PPC64_TPREL16_HIGHER
Definition: mybfd.h:2703
@ BFD_RELOC_SPARC_PC_LM22
Definition: mybfd.h:2255
@ BFD_RELOC_SPARC_TLS_GD_HI22
Definition: mybfd.h:2275
@ BFD_RELOC_PPC64_HIGHEST
Definition: mybfd.h:2650
@ BFD_RELOC_PPC_DTPREL16
Definition: mybfd.h:2680
@ BFD_RELOC_SPARC_TLS_LDO_ADD
Definition: mybfd.h:2285
@ BFD_RELOC_SH_IMMS10BY4
Definition: mybfd.h:2894
@ BFD_RELOC_FR30_48
Definition: mybfd.h:3277
@ BFD_RELOC_ARM_RELATIVE
Definition: mybfd.h:2783
@ BFD_RELOC_HI16_S_PCREL
Definition: mybfd.h:2410
@ BFD_RELOC_IP2K_HI8INSN
Definition: mybfd.h:3589
@ BFD_RELOC_16C_ABS24_C
Definition: mybfd.h:3782
@ BFD_RELOC_IA64_LTOFF_FPTR64I
Definition: mybfd.h:3661
@ BFD_RELOC_860_SPLIT1
Definition: mybfd.h:3867
@ BFD_RELOC_MCORE_PCREL_IMM11BY2
Definition: mybfd.h:3309
@ BFD_RELOC_68K_RELATIVE
Definition: mybfd.h:2182
@ BFD_RELOC_PPC64_TOC16_HA
Definition: mybfd.h:2654
@ BFD_RELOC_SPARC_UA16
Definition: mybfd.h:2237
@ BFD_RELOC_MIPS_SCN_DISP
Definition: mybfd.h:2448
@ BFD_RELOC_BFIN_24_PCREL_CALL_X
Definition: mybfd.h:2955
@ BFD_RELOC_MIPS_CALL_HI16
Definition: mybfd.h:2435
@ BFD_RELOC_390_TLS_IE32
Definition: mybfd.h:3553
@ BFD_RELOC_390_GOT64
Definition: mybfd.h:3507
@ BFD_RELOC_XTENSA_SLOT1_OP
Definition: mybfd.h:3979
@ BFD_RELOC_SPARC_M44
Definition: mybfd.h:2267
@ BFD_RELOC_M32R_18_PCREL
Definition: mybfd.h:3133
@ BFD_RELOC_ARM_T32_CP_OFF_IMM_S2
Definition: mybfd.h:2811
@ BFD_RELOC_16C_NUM32
Definition: mybfd.h:3757
@ BFD_RELOC_8
Definition: mybfd.h:2139
@ BFD_RELOC_8_PCREL
Definition: mybfd.h:2151
@ BFD_RELOC_ARM_PCREL_BLX
Definition: mybfd.h:2729
@ BFD_RELOC_IA64_GPREL64I
Definition: mybfd.h:3633
@ BFD_RELOC_M32R_10_PCREL
Definition: mybfd.h:3130
@ BFD_RELOC_M68HC12_5B
Definition: mybfd.h:3750
@ BFD_RELOC_IA64_DIR64MSB
Definition: mybfd.h:3630
@ BFD_RELOC_NONE
Definition: mybfd.h:2223
@ BFD_RELOC_FRV_FUNCDESC_GOTOFFLO
Definition: mybfd.h:2490
@ BFD_RELOC_BFIN_12_PCREL_JUMP_S
Definition: mybfd.h:2952
@ BFD_RELOC_SPARC_H44
Definition: mybfd.h:2266
@ BFD_ARELOC_BFIN_NEG
Definition: mybfd.h:3028
@ BFD_RELOC_SH_GLOB_DAT64
Definition: mybfd.h:2879
@ BFD_RELOC_XTENSA_OP1
Definition: mybfd.h:4015
@ BFD_RELOC_SPARC_WDISP19
Definition: mybfd.h:2257
@ BFD_RELOC_PPC_TPREL16_LO
Definition: mybfd.h:2676
@ BFD_RELOC_FRV_FUNCDESC_VALUE
Definition: mybfd.h:2487
@ BFD_RELOC_MIPS_TLS_GOTTPREL
Definition: mybfd.h:2460
@ BFD_RELOC_CRIS_GLOB_DAT
Definition: mybfd.h:3831
@ BFD_RELOC_IA64_IPLTMSB
Definition: mybfd.h:3682
@ BFD_RELOC_PPC64_DTPREL16_HIGHERA
Definition: mybfd.h:2710
@ BFD_RELOC_HI16_S_GOTOFF
Definition: mybfd.h:2164
@ BFD_RELOC_PPC_GOT_TLSLD16_HA
Definition: mybfd.h:2692
@ BFD_RELOC_X86_64_DTPMOD64
Definition: mybfd.h:2572
@ BFD_RELOC_IP2K_EX8DATA
Definition: mybfd.h:3585
@ BFD_ARELOC_BFIN_SUB
Definition: mybfd.h:2992
@ BFD_RELOC_PPC_BA16_BRNTAKEN
Definition: mybfd.h:2626
@ BFD_RELOC_IA64_REL32MSB
Definition: mybfd.h:3674
@ BFD_RELOC_16C_NUM08
Definition: mybfd.h:3753
@ BFD_RELOC_16C_IMM24_C
Definition: mybfd.h:3790
@ BFD_RELOC_D30V_15_PCREL
Definition: mybfd.h:3082
@ BFD_RELOC_TIC54X_PARTLS7
Definition: mybfd.h:3256
@ BFD_RELOC_PJ_CODE_REL32
Definition: mybfd.h:2615
@ BFD_RELOC_AVR_LO8_LDI_NEG
Definition: mybfd.h:3394
@ BFD_RELOC_PPC_B26
Definition: mybfd.h:2618
@ BFD_RELOC_MMIX_GETA_2
Definition: mybfd.h:3318
@ BFD_RELOC_X86_64_JUMP_SLOT
Definition: mybfd.h:2568
@ BFD_RELOC_FRV_GOTTLSOFF12
Definition: mybfd.h:2502
@ BFD_RELOC_ARM_LITERAL
Definition: mybfd.h:2814
@ BFD_RELOC_390_PLT16DBL
Definition: mybfd.h:3495
@ BFD_RELOC_CRIS_32_PLT_GOTREL
Definition: mybfd.h:3851
@ BFD_RELOC_ALPHA_LITUSE
Definition: mybfd.h:2344
@ BFD_RELOC_PPC64_TPREL16_HIGHEST
Definition: mybfd.h:2705
@ BFD_RELOC_FRV_GETTLSOFF
Definition: mybfd.h:2494
@ BFD_RELOC_BFIN_10_PCREL
Definition: mybfd.h:2943
@ BFD_RELOC_SH_IMM4BY2
Definition: mybfd.h:2836
@ BFD_RELOC_16C_IMM04
Definition: mybfd.h:3783
@ BFD_RELOC_IP2K_HI8DATA
Definition: mybfd.h:3584
@ BFD_RELOC_MCORE_PCREL_IMM4BY2
Definition: mybfd.h:3310
@ BFD_RELOC_IA64_FPTR32LSB
Definition: mybfd.h:3646
@ BFD_RELOC_MIPS_TLS_TPREL_LO16
Definition: mybfd.h:2464
@ BFD_RELOC_68K_GLOB_DAT
Definition: mybfd.h:2180
@ BFD_RELOC_390_TLS_LDO32
Definition: mybfd.h:3558
@ BFD_RELOC_ALPHA_TPREL_HI16
Definition: mybfd.h:2380
@ BFD_RELOC_MIPS_TLS_DTPMOD64
Definition: mybfd.h:2454
@ BFD_RELOC_IP2K_LO8DATA
Definition: mybfd.h:3583
@ BFD_RELOC_860_COPY
Definition: mybfd.h:3857
@ BFD_RELOC_MMIX_PUSHJ_3
Definition: mybfd.h:3332
@ BFD_RELOC_PPC64_DTPREL16_HIGHEST
Definition: mybfd.h:2711
@ BFD_RELOC_IA64_REL64MSB
Definition: mybfd.h:3676
@ BFD_RELOC_IA64_DTPREL14
Definition: mybfd.h:3696
@ BFD_RELOC_PPC64_PLTGOT16_HA
Definition: mybfd.h:2659
@ BFD_RELOC_16C_DISP04
Definition: mybfd.h:3759
@ BFD_RELOC_IA64_IMM22
Definition: mybfd.h:3626
@ BFD_RELOC_ARM_ROSEGREL32
Definition: mybfd.h:2765
@ BFD_RELOC_IA64_PCREL64LSB
Definition: mybfd.h:3659
@ BFD_RELOC_FRV_LO16
Definition: mybfd.h:2473
@ BFD_RELOC_FRV_GPREL32
Definition: mybfd.h:2477
@ BFD_RELOC_VAX_RELATIVE
Definition: mybfd.h:3916
@ BFD_RELOC_SH_GOTPLT_HI16
Definition: mybfd.h:2865
@ BFD_RELOC_860_SPLIT2
Definition: mybfd.h:3869
@ BFD_RELOC_X86_64_TLSDESC_CALL
Definition: mybfd.h:2588
@ BFD_RELOC_X86_64_DTPOFF64
Definition: mybfd.h:2573
@ BFD_RELOC_XTENSA_DIFF8
Definition: mybfd.h:3970
@ BFD_RELOC_PPC_DTPREL
Definition: mybfd.h:2684
@ BFD_RELOC_X86_64_GOT32
Definition: mybfd.h:2564
@ BFD_RELOC_386_TLS_DESC_CALL
Definition: mybfd.h:2560
@ BFD_RELOC_IA64_SEGREL64MSB
Definition: mybfd.h:3668
@ BFD_RELOC_390_TLS_TPOFF
Definition: mybfd.h:3562
@ BFD_RELOC_SPARC_COPY
Definition: mybfd.h:2233
@ BFD_RELOC_MN10300_GOT32
Definition: mybfd.h:2516
@ BFD_RELOC_860_SPGOT1
Definition: mybfd.h:3874
@ BFD_RELOC_SPARC_TLS_IE_LD
Definition: mybfd.h:2288
@ BFD_RELOC_MMIX_CBRANCH_J
Definition: mybfd.h:3323
@ BFD_RELOC_MT_PC16
Definition: mybfd.h:3919
@ BFD_RELOC_HI16_S_BASEREL
Definition: mybfd.h:2189
@ BFD_RELOC_ARM_LDR_IMM
Definition: mybfd.h:2813
@ BFD_RELOC_PPC_COPY
Definition: mybfd.h:2627
@ BFD_RELOC_X86_64_GOTPC32_TLSDESC
Definition: mybfd.h:2587
@ BFD_RELOC_MT_HI16
Definition: mybfd.h:3922
@ BFD_RELOC_390_20
Definition: mybfd.h:3565
@ BFD_RELOC_ARM_GLOB_DAT
Definition: mybfd.h:2780
@ BFD_RELOC_ALPHA_DTPREL_HI16
Definition: mybfd.h:2375
@ BFD_RELOC_390_GOTPLT32
Definition: mybfd.h:3525
@ BFD_RELOC_SH_GOTOFF_HI16
Definition: mybfd.h:2873
@ BFD_RELOC_AVR_HI8_LDI_PM_NEG
Definition: mybfd.h:3441
@ BFD_RELOC_386_RELATIVE
Definition: mybfd.h:2544
@ BFD_RELOC_FRV_GOTOFF12
Definition: mybfd.h:2491
@ BFD_RELOC_MSP430_16_PCREL
Definition: mybfd.h:3938
@ BFD_RELOC_ARM_JUMP_SLOT
Definition: mybfd.h:2779
@ BFD_RELOC_390_TLS_GOTIE12
Definition: mybfd.h:3548
@ BFD_RELOC_IA64_LTV32MSB
Definition: mybfd.h:3678
@ BFD_RELOC_16C_NUM16
Definition: mybfd.h:3755
@ BFD_RELOC_32
Definition: mybfd.h:2134
@ BFD_RELOC_VAX_GLOB_DAT
Definition: mybfd.h:3914
@ BFD_RELOC_VTABLE_INHERIT
Definition: mybfd.h:3621
@ BFD_RELOC_IA64_LTOFF22X
Definition: mybfd.h:3685
@ BFD_RELOC_ARM_OFFSET_IMM8
Definition: mybfd.h:2816
@ BFD_RELOC_MN10300_32_PCREL
Definition: mybfd.h:3242
@ BFD_RELOC_FRV_GOTTLSOFFLO
Definition: mybfd.h:2504
@ BFD_RELOC_ARM_GOT32
Definition: mybfd.h:2781
@ BFD_RELOC_XTENSA_DIFF16
Definition: mybfd.h:3971
@ BFD_RELOC_XTENSA_PLT
Definition: mybfd.h:3962
@ BFD_RELOC_MIPS_DELETE
Definition: mybfd.h:2445
@ BFD_RELOC_ARM_SBREL32
Definition: mybfd.h:2768
@ BFD_RELOC_MSP430_16_BYTE
Definition: mybfd.h:3941
@ BFD_RELOC_MIPS_TLS_DTPREL_LO16
Definition: mybfd.h:2459
@ BFD_ARELOC_BFIN_ADD
Definition: mybfd.h:2989
@ BFD_RELOC_390_TLS_DTPMOD
Definition: mybfd.h:3560
@ BFD_RELOC_ALPHA_GPDISP
Definition: mybfd.h:2317
@ BFD_RELOC_IA64_IMM64
Definition: mybfd.h:3627
@ BFD_RELOC_XTENSA_SLOT8_OP
Definition: mybfd.h:3986
@ BFD_RELOC_XTENSA_SLOT8_ALT
Definition: mybfd.h:4004
@ BFD_RELOC_NS32K_DISP_16
Definition: mybfd.h:2599
@ BFD_RELOC_CRIS_UNSIGNED_8
Definition: mybfd.h:3823
@ BFD_RELOC_IA64_DIR32LSB
Definition: mybfd.h:3629
@ BFD_RELOC_CRIS_JUMP_SLOT
Definition: mybfd.h:3832
@ BFD_RELOC_FRV_GOT12
Definition: mybfd.h:2480
@ BFD_RELOC_M32R_RELATIVE
Definition: mybfd.h:3159
@ BFD_RELOC_SH_PLT_LOW16
Definition: mybfd.h:2866
@ BFD_RELOC_SH_PCRELIMM8BY2
Definition: mybfd.h:2841
@ BFD_RELOC_SH_TLS_LE_32
Definition: mybfd.h:2911
@ BFD_RELOC_390_TLS_GD32
Definition: mybfd.h:3546
@ BFD_RELOC_ARM_ADR_IMM
Definition: mybfd.h:2812
@ BFD_RELOC_AVR_HI8_LDI
Definition: mybfd.h:3382
@ BFD_RELOC_Z80_DISP8
Definition: mybfd.h:4030
@ BFD_RELOC_386_TLS_DTPOFF32
Definition: mybfd.h:2557
@ BFD_RELOC_SH_GOTPLT10BY8
Definition: mybfd.h:2885
@ BFD_RELOC_ALPHA_TPREL16
Definition: mybfd.h:2382
@ BFD_RELOC_XTENSA_SLOT9_ALT
Definition: mybfd.h:4005
@ BFD_RELOC_FRV_FUNCDESC_GOT12
Definition: mybfd.h:2484
@ BFD_RELOC_ARM_PCREL_JUMP
Definition: mybfd.h:2740
@ BFD_RELOC_FRV_GETTLSOFF_RELAX
Definition: mybfd.h:2507
@ BFD_RELOC_860_GLOB_DAT
Definition: mybfd.h:3858
@ BFD_RELOC_PPC_EMB_MRKREF
Definition: mybfd.h:2641
@ BFD_RELOC_390_PC32DBL
Definition: mybfd.h:3498
@ BFD_RELOC_MMIX_PUSHJ
Definition: mybfd.h:3329
@ BFD_RELOC_IA64_PCREL64I
Definition: mybfd.h:3655
@ BFD_RELOC_SPARC_TLS_LDM_HI22
Definition: mybfd.h:2279
@ BFD_RELOC_IP2K_BANK
Definition: mybfd.h:3574
@ BFD_RELOC_M32R_GOT16_LO
Definition: mybfd.h:3167
@ BFD_RELOC_XC16X_PAG
Definition: mybfd.h:3908
@ BFD_RELOC_MIPS_COPY
Definition: mybfd.h:2467
@ BFD_RELOC_IA64_TPREL64LSB
Definition: mybfd.h:3691
@ BFD_RELOC_IA64_LTOFF64I
Definition: mybfd.h:3639
@ BFD_RELOC_CRIS_32_PLT_PCREL
Definition: mybfd.h:3854
@ BFD_RELOC_SH_SHMEDIA_CODE
Definition: mybfd.h:2887
@ BFD_RELOC_MCORE_PCREL_IMM8BY4
Definition: mybfd.h:3308
@ BFD_RELOC_IA64_PCREL21B
Definition: mybfd.h:3649
@ BFD_RELOC_BFIN_FUNCDESC_GOT17M4
Definition: mybfd.h:2965
@ BFD_RELOC_FRV_FUNCDESC
Definition: mybfd.h:2483
@ BFD_RELOC_16C_NUM32_C
Definition: mybfd.h:3758
@ BFD_RELOC_IA64_FPTR32MSB
Definition: mybfd.h:3645
@ BFD_RELOC_SPARC13
Definition: mybfd.h:2226
@ BFD_RELOC_IA64_PCREL22
Definition: mybfd.h:3653
@ BFD_RELOC_IQ2000_OFFSET_16
Definition: mybfd.h:3946
@ BFD_RELOC_PPC64_TPREL16_HIGHESTA
Definition: mybfd.h:2706
@ BFD_RELOC_MIPS_INSERT_B
Definition: mybfd.h:2444
@ BFD_RELOC_IA64_IMM14
Definition: mybfd.h:3625
@ BFD_RELOC_SPARC_TLS_LE_LOX10
Definition: mybfd.h:2292
@ BFD_RELOC_MMIX_GETA_1
Definition: mybfd.h:3317
@ BFD_RELOC_390_PLT32DBL
Definition: mybfd.h:3501
@ BFD_RELOC_PPC_EMB_NADDR16_LO
Definition: mybfd.h:2634
@ BFD_RELOC_CRIS_UNSIGNED_5
Definition: mybfd.h:3819
@ BFD_RELOC_BFIN_12_PCREL_JUMP
Definition: mybfd.h:2949
@ BFD_ARELOC_BFIN_LEN
Definition: mybfd.h:3025
@ BFD_RELOC_D30V_9_PCREL
Definition: mybfd.h:3068
@ BFD_RELOC_16C_IMM20_C
Definition: mybfd.h:3788
@ BFD_RELOC_IA64_TPREL22
Definition: mybfd.h:3688
@ BFD_RELOC_IA64_DTPREL64I
Definition: mybfd.h:3698
@ BFD_RELOC_SH_IMM_LOW16_PCREL
Definition: mybfd.h:2899
@ BFD_RELOC_V850_TDA_7_8_OFFSET
Definition: mybfd.h:3198
@ BFD_RELOC_IA64_LTV64MSB
Definition: mybfd.h:3680
@ BFD_RELOC_ARM_PLT32
Definition: mybfd.h:2782
@ BFD_RELOC_PPC_EMB_RELSDA
Definition: mybfd.h:2647
@ BFD_RELOC_860_RELATIVE
Definition: mybfd.h:3860
@ BFD_RELOC_IP2K_PAGE3
Definition: mybfd.h:3580
@ BFD_RELOC_386_TLS_IE
Definition: mybfd.h:2548
@ BFD_RELOC_M32R_HI16_ULO
Definition: mybfd.h:3140
@ BFD_RELOC_D10V_18
Definition: mybfd.h:3056
@ BFD_RELOC_V850_LONGJUMP
Definition: mybfd.h:3231
@ BFD_RELOC_XC16X_SOF
Definition: mybfd.h:3911
@ BFD_RELOC_FRV_GOTTLSOFFHI
Definition: mybfd.h:2503
@ BFD_RELOC_860_LOGOTOFF0
Definition: mybfd.h:3875
@ BFD_RELOC_SH_GLOB_DAT
Definition: mybfd.h:2854
@ BFD_RELOC_FRV_FUNCDESC_GOTOFFHI
Definition: mybfd.h:2489
@ BFD_RELOC_NS32K_DISP_32
Definition: mybfd.h:2600
@ BFD_RELOC_MIPS16_GPREL
Definition: mybfd.h:2392
@ BFD_RELOC_PPC_RELATIVE
Definition: mybfd.h:2630
@ BFD_RELOC_HI16_GOTOFF
Definition: mybfd.h:2163
@ BFD_RELOC_ALPHA_DTPREL16
Definition: mybfd.h:2377
@ BFD_RELOC_SH_IMM_MEDLOW16_PCREL
Definition: mybfd.h:2901
@ BFD_RELOC_IA64_DTPREL22
Definition: mybfd.h:3697
@ BFD_RELOC_V850_TDA_7_7_OFFSET
Definition: mybfd.h:3201
@ BFD_RELOC_386_TLS_LDO_32
Definition: mybfd.h:2553
@ BFD_RELOC_PPC_BA26
Definition: mybfd.h:2619
@ BFD_RELOC_V850_22_PCREL
Definition: mybfd.h:3176
@ BFD_RELOC_IP2K_PC_SKIP
Definition: mybfd.h:3592
@ BFD_RELOC_SPARC_TLS_DTPMOD32
Definition: mybfd.h:2293
@ BFD_RELOC_D30V_32
Definition: mybfd.h:3105
@ BFD_ARELOC_BFIN_RSHIFT
Definition: mybfd.h:3007
@ BFD_RELOC_8_GOTOFF
Definition: mybfd.h:2165
@ BFD_RELOC_SPARC_REV32
Definition: mybfd.h:2272
@ BFD_RELOC_860_LOPC
Definition: mybfd.h:3881
@ BFD_RELOC_PPC_GOT_TPREL16_LO
Definition: mybfd.h:2694
@ BFD_RELOC_PPC_TPREL16_HI
Definition: mybfd.h:2677
@ BFD_RELOC_IA64_PCREL21F
Definition: mybfd.h:3652
@ BFD_RELOC_ARM_TLS_DTPOFF32
Definition: mybfd.h:2791
@ BFD_RELOC_SH_LOOP_END
Definition: mybfd.h:2852
@ BFD_RELOC_IA64_REL64LSB
Definition: mybfd.h:3677
@ BFD_RELOC_AVR_CALL
Definition: mybfd.h:3450
@ BFD_RELOC_IA64_LDXMOV
Definition: mybfd.h:3686
@ BFD_RELOC_BFIN_GOT17M4
Definition: mybfd.h:2961
@ BFD_RELOC_390_TLS_GD64
Definition: mybfd.h:3547
@ BFD_RELOC_SPARC_TLS_DTPOFF32
Definition: mybfd.h:2295
@ BFD_RELOC_390_TLS_LE64
Definition: mybfd.h:3557
@ BFD_RELOC_CRX_SWITCH16
Definition: mybfd.h:3813
@ BFD_RELOC_IP2K_FR_OFFSET
Definition: mybfd.h:3598
@ BFD_RELOC_PPC_GOT_TLSGD16
Definition: mybfd.h:2685
@ BFD_RELOC_X86_64_GOTOFF64
Definition: mybfd.h:2580
@ BFD_RELOC_VPE4KMATH_INSN
Definition: mybfd.h:3602
@ BFD_RELOC_16C_DISP24
Definition: mybfd.h:3765
@ BFD_RELOC_8_GOT_PCREL
Definition: mybfd.h:2159
@ BFD_RELOC_NS32K_IMM_16
Definition: mybfd.h:2593
@ BFD_RELOC_VAX_JMP_SLOT
Definition: mybfd.h:3915
@ BFD_RELOC_IA64_LTOFF22
Definition: mybfd.h:3638
@ BFD_RELOC_XTENSA_SLOT6_ALT
Definition: mybfd.h:4002
@ BFD_RELOC_V850_TDA_16_16_OFFSET
Definition: mybfd.h:3204
@ BFD_RELOC_X86_64_DTPOFF32
Definition: mybfd.h:2577
@ BFD_RELOC_TIC54X_23
Definition: mybfd.h:3264
@ BFD_RELOC_M32R_GOTOFF
Definition: mybfd.h:3160
@ BFD_RELOC_SH_IMMU16
Definition: mybfd.h:2897
@ BFD_RELOC_X86_64_32S
Definition: mybfd.h:2571
@ BFD_RELOC_386_COPY
Definition: mybfd.h:2541
@ BFD_RELOC_8_FFnn
Definition: mybfd.h:2194
@ BFD_RELOC_MMIX_ADDR27
Definition: mybfd.h:3346
@ BFD_RELOC_M32R_26_PLTREL
Definition: mybfd.h:3155
@ BFD_RELOC_MIPS_JMP
Definition: mybfd.h:2386
@ BFD_RELOC_ALPHA_TPREL_LO16
Definition: mybfd.h:2381
@ BFD_RELOC_PPC_TOC16
Definition: mybfd.h:2620
@ BFD_RELOC_ALPHA_GPDISP_LO16
Definition: mybfd.h:2312
@ BFD_RELOC_SPARC_PLT32
Definition: mybfd.h:2262
@ BFD_RELOC_Z8K_IMM4L
Definition: mybfd.h:4039
@ BFD_RELOC_ALPHA_ELF_LITERAL
Definition: mybfd.h:2343
@ BFD_RELOC_ALPHA_LITERAL
Definition: mybfd.h:2342
@ BFD_RELOC_BFIN_FUNCDESC_VALUE
Definition: mybfd.h:2968
@ BFD_RELOC_M32C_RL_2ADDR
Definition: mybfd.h:3123
@ BFD_RELOC_TIC54X_MS7_OF_23
Definition: mybfd.h:3274
@ BFD_RELOC_V850_ZDA_16_16_SPLIT_OFFSET
Definition: mybfd.h:3219
@ BFD_RELOC_64
Definition: mybfd.h:2133
@ BFD_RELOC_NS32K_DISP_8
Definition: mybfd.h:2598
@ BFD_RELOC_386_GOTPC
Definition: mybfd.h:2546
@ BFD_RELOC_MIPS_SUB
Definition: mybfd.h:2437
@ BFD_RELOC_MMIX_PUSHJ_2
Definition: mybfd.h:3331
@ BFD_RELOC_PPC_EMB_SDAI16
Definition: mybfd.h:2637
@ BFD_RELOC_SPARC_HIX22
Definition: mybfd.h:2264
@ BFD_RELOC_M32R_GOTPC_LO
Definition: mybfd.h:3170
@ BFD_RELOC_NS32K_IMM_32
Definition: mybfd.h:2594
@ BFD_RELOC_LO16_BASEREL
Definition: mybfd.h:2187
@ BFD_RELOC_X86_64_TPOFF32
Definition: mybfd.h:2579
@ BFD_RELOC_SPARC_TLS_IE_ADD
Definition: mybfd.h:2290
@ BFD_RELOC_PPC_B16_BRNTAKEN
Definition: mybfd.h:2623
@ BFD_RELOC_IA64_DTPREL64LSB
Definition: mybfd.h:3702
@ BFD_RELOC_PPC_EMB_NADDR32
Definition: mybfd.h:2632
@ BFD_RELOC_PPC_DTPREL16_HI
Definition: mybfd.h:2682
@ BFD_RELOC_CRX_IMM16
Definition: mybfd.h:3810
@ BFD_RELOC_HI16_PCREL
Definition: mybfd.h:2407
@ BFD_RELOC_PJ_CODE_DIR32
Definition: mybfd.h:2613
@ BFD_RELOC_16_GOTOFF
Definition: mybfd.h:2161
@ BFD_RELOC_GPREL32
Definition: mybfd.h:2216
@ BFD_RELOC_PPC_GOT_DTPREL16_HA
Definition: mybfd.h:2700
@ BFD_RELOC_IA64_COPY
Definition: mybfd.h:3684
@ BFD_RELOC_390_TLS_GOTIE32
Definition: mybfd.h:3549
@ BFD_RELOC_386_TLS_LE
Definition: mybfd.h:2550
@ BFD_RELOC_IA64_LTOFF_FPTR22
Definition: mybfd.h:3660
@ BFD_ARELOC_BFIN_PAGE
Definition: mybfd.h:3034
@ BFD_RELOC_D10V_10_PCREL_L
Definition: mybfd.h:3052
@ BFD_RELOC_MN10300_GLOB_DAT
Definition: mybfd.h:2530
@ BFD_RELOC_XTENSA_GLOB_DAT
Definition: mybfd.h:3956
@ BFD_RELOC_FR30_9_IN_8
Definition: mybfd.h:3293
@ BFD_RELOC_16C_DISP24_C
Definition: mybfd.h:3766
@ BFD_RELOC_HI16
Definition: mybfd.h:2395
@ BFD_RELOC_SH_IMMS16
Definition: mybfd.h:2896
@ BFD_RELOC_24_PCREL
Definition: mybfd.h:2148
@ BFD_RELOC_IA64_LTOFF_FPTR32LSB
Definition: mybfd.h:3663
@ BFD_RELOC_ARM_THUMB_ADD
Definition: mybfd.h:2820
@ BFD_RELOC_IA64_DTPREL32LSB
Definition: mybfd.h:3700
@ BFD_RELOC_SH_GOTOFF_MEDHI16
Definition: mybfd.h:2872
@ BFD_RELOC_ALPHA_GOTTPREL16
Definition: mybfd.h:2378
@ BFD_RELOC_16C_REG04a_C
Definition: mybfd.h:3772
@ BFD_RELOC_PJ_CODE_LO16
Definition: mybfd.h:2611
@ BFD_RELOC_I960_CALLJ
Definition: mybfd.h:2219
@ BFD_RELOC_SH_RELATIVE64
Definition: mybfd.h:2881
@ BFD_RELOC_CRX_IMM32
Definition: mybfd.h:3811
@ BFD_RELOC_ALPHA_CODEADDR
Definition: mybfd.h:2357
@ BFD_RELOC_AVR_LDI
Definition: mybfd.h:3454
@ BFD_RELOC_14
Definition: mybfd.h:2138
@ BFD_RELOC_MIPS_REL16
Definition: mybfd.h:2449
@ BFD_RELOC_IA64_SECREL64LSB
Definition: mybfd.h:3673
@ BFD_RELOC_IA64_SEGREL32LSB
Definition: mybfd.h:3667
@ BFD_RELOC_MMIX_LOCAL
Definition: mybfd.h:3362
@ BFD_RELOC_386_GLOB_DAT
Definition: mybfd.h:2542
@ BFD_RELOC_M32R_GOTOFF_LO
Definition: mybfd.h:3163
@ BFD_RELOC_AVR_HI8_LDI_GS
Definition: mybfd.h:3428
@ BFD_RELOC_ARM_CP_OFF_IMM
Definition: mybfd.h:2808
@ BFD_ARELOC_BFIN_LAND
Definition: mybfd.h:3019
@ BFD_RELOC_IA64_SEGREL64LSB
Definition: mybfd.h:3669
@ BFD_RELOC_390_GOT16
Definition: mybfd.h:3489
@ BFD_RELOC_16C_REG04_C
Definition: mybfd.h:3770
@ BFD_RELOC_SH_IMMS6BY32
Definition: mybfd.h:2890
@ BFD_RELOC_ALPHA_BRSGP
Definition: mybfd.h:2367
@ BFD_RELOC_860_HAGOTOFF
Definition: mybfd.h:3884
@ BFD_RELOC_ALPHA_TLSGD
Definition: mybfd.h:2370
@ BFD_RELOC_FR30_6_IN_4
Definition: mybfd.h:3285
@ BFD_RELOC_SPARC_LM22
Definition: mybfd.h:2252
@ BFD_RELOC_SH_SWITCH32
Definition: mybfd.h:2844
@ BFD_RELOC_AVR_HI8_LDI_PM
Definition: mybfd.h:3422
@ BFD_RELOC_XTENSA_SLOT13_OP
Definition: mybfd.h:3991
@ BFD_RELOC_SH_LABEL
Definition: mybfd.h:2850
@ BFD_RELOC_MMIX_CBRANCH
Definition: mybfd.h:3322
@ BFD_RELOC_SPARC_TLS_LDM_ADD
Definition: mybfd.h:2281
@ BFD_RELOC_16C_REG14_C
Definition: mybfd.h:3774
@ BFD_RELOC_16_PLT_PCREL
Definition: mybfd.h:2169
@ BFD_RELOC_PPC64_TOC16_DS
Definition: mybfd.h:2667
@ BFD_RELOC_PPC_GOT_DTPREL16_LO
Definition: mybfd.h:2698
@ BFD_RELOC_PPC_EMB_NADDR16_HA
Definition: mybfd.h:2636
@ BFD_RELOC_V850_SDA_15_16_OFFSET
Definition: mybfd.h:3183
@ BFD_RELOC_PPC_TPREL16_HA
Definition: mybfd.h:2678
@ BFD_ARELOC_BFIN_ADDR
Definition: mybfd.h:3040
@ BFD_RELOC_FRV_GOTTLSDESCLO
Definition: mybfd.h:2498
@ BFD_RELOC_390_PC16DBL
Definition: mybfd.h:3492
@ BFD_RELOC_BFIN_FUNCDESC_GOTHI
Definition: mybfd.h:2966
@ BFD_RELOC_SH_IMMS10
Definition: mybfd.h:2892
@ BFD_RELOC_860_SPLIT0
Definition: mybfd.h:3865
@ BFD_RELOC_H8_DIR32A16
Definition: mybfd.h:3899
@ BFD_RELOC_PPC_GOT_TPREL16_HA
Definition: mybfd.h:2696
@ BFD_RELOC_SH_IMM8BY4
Definition: mybfd.h:2840
@ BFD_RELOC_FRV_GPREL12
Definition: mybfd.h:2475
@ BFD_RELOC_M32C_RL_1ADDR
Definition: mybfd.h:3122
@ BFD_RELOC_16C_REG14
Definition: mybfd.h:3773
@ BFD_RELOC_ARM_T32_ADD_PC12
Definition: mybfd.h:2803
@ BFD_RELOC_SPARC_TLS_IE_LO10
Definition: mybfd.h:2287
@ BFD_RELOC_390_PLT32
Definition: mybfd.h:3471
@ BFD_RELOC_IA64_LTV64LSB
Definition: mybfd.h:3681
bfd_boolean bfd_set_start_address(bfd *abfd, bfd_vma vma)
void bfd_set_arch_info(bfd *abfd, const bfd_arch_info_type *arg)
#define bfd_is_local_label_name(abfd, name)
Definition: mybfd.h:4176
bfd_boolean bfd_set_default_target(const char *name)
bfd_boolean bfd_ecoff_debug_accumulate_other(void *handle, bfd *output_bfd, struct ecoff_debug_info *output_debug, const struct ecoff_debug_swap *output_swap, bfd *input_bfd, struct bfd_link_info *)
struct bfd_link_needed_list * bfd_sunos_get_needed_list(bfd *, struct bfd_link_info *)
void bfd_putb64(bfd_uint64_t, void *)
bfd_boolean bfd_ecoff_debug_one_external(bfd *abfd, struct ecoff_debug_info *debug, const struct ecoff_debug_swap *swap, const char *name, struct ecoff_extr *esym)
asection * bfd_make_section(bfd *, const char *name)
asection * bfd_make_section_anyway_with_flags(bfd *abfd, const char *name, flagword flags)
const char * bfd_printable_arch_mach(enum bfd_architecture arch, unsigned long machine)
void bfd_set_gp_size(bfd *abfd, unsigned int i)
bfd_uint64_t bfd_getl64(const void *)
bfd_boolean bfd_make_writable(bfd *abfd)
#define bfd_copy_private_section_data(ibfd, isection, obfd, osection)
Definition: mybfd.h:1555
int bfd_core_file_failing_signal(bfd *abfd)
enum bfd_error bfd_error_type
const struct bfd_symbol *const bfd_ind_symbol
void bfd_ecoff_debug_free(void *handle, bfd *output_bfd, struct ecoff_debug_info *output_debug, const struct ecoff_debug_swap *output_swap, struct bfd_link_info *)
int bfd_get_sign_extend_vma(bfd *)
BFD_HOST_64_BIT bfd_int64_t
Definition: mybfd.h:69
bfd_boolean bfd_elf_get_bfd_needed_list(bfd *, struct bfd_link_needed_list **)
const bfd_arch_info_type * bfd_scan_arch(const char *string)
struct bfd_section asection
bfd_boolean bfd_record_phdr(bfd *, unsigned long, bfd_boolean, flagword, bfd_boolean, bfd_vma, bfd_boolean, bfd_boolean, unsigned int, struct bfd_section **)
bfd_boolean bfd_elf_size_dynamic_sections(bfd *, const char *, const char *, const char *, const char *const *, struct bfd_link_info *, struct bfd_section **, struct bfd_elf_version_tree *)
const bfd_target * bfd_search_for_target(int(*search_func)(const bfd_target *, void *), void *)
static bfd_uint64_t bfd_get_bits(const void *p, int bits, bfd_boolean big_p)
Definition: mybfd.h:563
bfd_boolean bfd_arm_update_notes(bfd *, const char *)
asection * bfd_make_section_old_way(bfd *abfd, const char *name)
bfd_boolean bfd_elf_size_dynsym_hash_dynstr(bfd *, struct bfd_link_info *)
void _bfd_fix_excluded_sec_syms(bfd *, struct bfd_link_info *)
bfd_boolean bfd_arm_allocate_interworking_sections(struct bfd_link_info *)
bfd_boolean bfd_fill_in_gnu_debuglink_section(bfd *abfd, struct bfd_section *sect, const char *filename)
bfd_boolean bfd_generic_discard_group(bfd *abfd, asection *group)
int bfd_get_elf_phdrs(bfd *abfd, void *phdrs)
unsigned int bfd_arch_bits_per_byte(bfd *abfd)
bfd_boolean bfd_arm_merge_machines(bfd *, bfd *)
struct _bfd_window_internal bfd_window_internal
Definition: mybfd.h:725
bfd_signed_vma bfd_getl_signed_32(const void *)
#define bfd_is_target_special_symbol(abfd, sym)
Definition: mybfd.h:4181
bfd_reloc_status_type bfd_install_relocation(bfd *abfd, arelent *reloc_entry, void *data, bfd_vma data_start, asection *input_section, char **error_message)
long bfd_get_elf_phdr_upper_bound(bfd *abfd)
BFD_HOST_U_64_BIT symvalue
Definition: mybfd.h:114
struct coff_comdat_info * bfd_coff_get_comdat_section(bfd *, struct bfd_section *)
bfd_boolean bfd_sparclinux_size_dynamic_sections(bfd *, struct bfd_link_info *)
long bfd_get_reloc_upper_bound(bfd *abfd, asection *sect)
void bfd_putb32(bfd_vma, void *)
void bfd_free_window(bfd_window *)
bfd_boolean bfd_arm_get_bfd_for_interworking(bfd *, struct bfd_link_info *)
void bfd_set_reloc(bfd *abfd, asection *sec, arelent **rel, unsigned int count)
bfd_vma bfd_scan_vma(const char *string, const char **end, int base)
const struct bfd_symbol *const bfd_com_symbol
bfd_boolean bfd_set_symtab(bfd *abfd, asymbol **location, unsigned int count)
bfd_boolean bfd_check_format(bfd *abfd, bfd_format format)
void bfd_preserve_restore(bfd *, struct bfd_preserve *)
bfd_int64_t bfd_getl_signed_64(const void *)
bfd_boolean core_file_matches_executable_p(bfd *core_bfd, bfd *exec_bfd)
void bfd_init_window(bfd_window *)
bfd_boolean bfd_ecoff_write_accumulated_debug(void *handle, bfd *abfd, struct ecoff_debug_info *debug, const struct ecoff_debug_swap *swap, struct bfd_link_info *info, file_ptr where)
void bfd_perror(const char *message)
bfd_reloc_status_type bfd_check_overflow(enum complain_overflow how, unsigned int bitsize, unsigned int rightshift, unsigned int addrsize, bfd_vma relocation)
asection * bfd_make_section_anyway(bfd *abfd, const char *name)
struct _bfd_window bfd_window
bfd_boolean bfd_elf32_arm_allocate_interworking_sections(struct bfd_link_info *)
complain_overflow
Definition: mybfd.h:1978
@ complain_overflow_dont
Definition: mybfd.h:1980
@ complain_overflow_bitfield
Definition: mybfd.h:1985
@ complain_overflow_unsigned
Definition: mybfd.h:1993
@ complain_overflow_signed
Definition: mybfd.h:1989
bfd_boolean bfd_set_file_flags(bfd *abfd, flagword flags)
bfd_byte * bfd_get_relocated_section_contents(bfd *, struct bfd_link_info *, struct bfd_link_order *, bfd_byte *, bfd_boolean, asymbol **)
enum bfd_architecture bfd_get_arch(bfd *abfd)
bfd_boolean bfd_ecoff_debug_externals(bfd *abfd, struct ecoff_debug_info *debug, const struct ecoff_debug_swap *swap, bfd_boolean relocatable, bfd_boolean(*get_extr)(struct bfd_symbol *, struct ecoff_extr *), void(*set_index)(struct bfd_symbol *, bfd_size_type))
static bfd_vma bfd_getl32(const void *p)
Definition: mybfd.h:4990
const char * bfd_format_string(bfd_format format)
const char ** bfd_target_list(void)
bfd_boolean bfd_arm_pe_get_bfd_for_interworking(bfd *, struct bfd_link_info *)
void bfd_put_bits(bfd_uint64_t, void *, int, bfd_boolean)
bfd_boolean bfd_get_section_contents(bfd *abfd, asection *section, void *location, file_ptr offset, bfd_size_type count)
bfd_boolean bfd_bfin_elf32_create_embedded_relocs(bfd *, struct bfd_link_info *, struct bfd_section *, struct bfd_section *, char **)
void bfd_elf64_ia64_after_parse(int)
unsigned long bfd_calc_gnu_debuglink_crc32(unsigned long crc, const unsigned char *buf, bfd_size_type len)
bfd_size_type bfd_ecoff_debug_size(bfd *abfd, struct ecoff_debug_info *debug, const struct ecoff_debug_swap *swap)
bfd_boolean bfd_close_all_done(bfd *)
bfd_boolean bfd_xcoff_record_link_assignment(bfd *, struct bfd_link_info *, const char *)
bfd_boolean bfd_hash_table_init(struct bfd_hash_table *, struct bfd_hash_entry *(*)(struct bfd_hash_entry *, struct bfd_hash_table *, const char *), unsigned int)
bfd_boolean bfd_arm_pe_process_before_allocation(bfd *, struct bfd_link_info *, int)
const char * bfd_get_reloc_code_name(bfd_reloc_code_real_type code)
#define BFD_HOST_64_BIT
Definition: mybfd.h:67
const char * bfd_get_stab_name(int)
bfd_boolean bfd_arm_pe_allocate_interworking_sections(struct bfd_link_info *)
bfd_boolean bfd_set_section_contents(bfd *abfd, asection *section, const void *data, file_ptr offset, bfd_size_type count)
int bfd_get_arch_size(bfd *)
enum bfd_print_symbol bfd_print_symbol_type
bfd_error_plugin_type bfd_get_error_handler(void)
bfd * bfd_fdopenr(const char *filename, const char *target, int fd)
void bfd_hash_set_default_size(bfd_size_type)
void bfd_fprintf_vma(bfd *, void *, bfd_vma)
bfd_boolean bfd_coff_get_auxent(bfd *, struct bfd_symbol *, int, union internal_auxent *)
#define swap(a, b)
Definition: qsort.h:111
static struct sockaddr static addrlen static backlog const void static flags void flags
Definition: sfsocketcall.h:123
static int
Definition: sfsocketcall.h:114
#define b(i)
Definition: sha256.c:42
#define a(i)
Definition: sha256.c:41
void * data
Definition: mybfd.h:729
struct _bfd_window_internal * i
Definition: mybfd.h:737
bfd_size_type size
Definition: mybfd.h:730
unsigned char stab_type
Definition: mybfd.h:346
char type
Definition: mybfd.h:344
const char * name
Definition: mybfd.h:345
short stab_desc
Definition: mybfd.h:348
symvalue value
Definition: mybfd.h:343
const char * stab_name
Definition: mybfd.h:349
char stab_other
Definition: mybfd.h:347
Definition: zipcmp.c:60
const char * printable_name
Definition: mybfd.h:1892
int bits_per_byte
Definition: mybfd.h:1888
bfd_boolean the_default
Definition: mybfd.h:1897
const char * arch_name
Definition: mybfd.h:1891
int bits_per_word
Definition: mybfd.h:1886
bfd_boolean(* scan)(const struct bfd_arch_info *, const char *)
Definition: mybfd.h:1900
int bits_per_address
Definition: mybfd.h:1887
enum bfd_architecture arch
Definition: mybfd.h:1889
unsigned long mach
Definition: mybfd.h:1890
const struct bfd_arch_info * next
Definition: mybfd.h:1902
unsigned int section_align_power
Definition: mybfd.h:1893
Definition: mybfd.h:361
unsigned long hash
Definition: mybfd.h:368
const char * string
Definition: mybfd.h:365
struct bfd_hash_entry * next
Definition: mybfd.h:363
void * memory
Definition: mybfd.h:390
struct bfd_hash_entry ** table
Definition: mybfd.h:375
unsigned int entsize
Definition: mybfd.h:379
unsigned int size
Definition: mybfd.h:377
Definition: bfdlink.h:80
void * marker
Definition: mybfd.h:4541
unsigned int section_count
Definition: mybfd.h:4547
struct bfd_section * section_last
Definition: mybfd.h:4546
struct bfd_section * sections
Definition: mybfd.h:4545
void * tdata
Definition: mybfd.h:4542
struct bfd_hash_table section_htab
Definition: mybfd.h:4548
const struct bfd_arch_info * arch_info
Definition: mybfd.h:4544
flagword flags
Definition: mybfd.h:4543
struct reloc_cache_entry ** orelocation
Definition: mybfd.h:1295
file_ptr moving_line_filepos
Definition: mybfd.h:1334
unsigned int gc_mark
Definition: mybfd.h:1209
union bfd_section::@97 map_head
unsigned int gc_mark_from_eh
Definition: mybfd.h:1210
unsigned int lineno_count
Definition: mybfd.h:1323
struct relent_chain * constructor_chain
Definition: mybfd.h:1343
unsigned int user_set_vma
Definition: mybfd.h:1199
struct bfd_section * s
Definition: mybfd.h:1358
bfd_vma vma
Definition: mybfd.h:1251
struct bfd_section * next
Definition: mybfd.h:1016
unsigned int alignment_power
Definition: mybfd.h:1287
unsigned int has_gp_reloc
Definition: mybfd.h:1235
struct bfd_section * kept_section
Definition: mybfd.h:1330
struct bfd_section * prev
Definition: mybfd.h:1019
unsigned int sec_info_type
Definition: mybfd.h:1218
void * userdata
Definition: mybfd.h:1313
unsigned char * contents
Definition: mybfd.h:1317
file_ptr rel_filepos
Definition: mybfd.h:1307
bfd_vma output_offset
Definition: mybfd.h:1280
unsigned int has_tls_reloc
Definition: mybfd.h:1232
unsigned int segment_mark
Definition: mybfd.h:1215
unsigned int linker_mark
Definition: mybfd.h:1202
bfd * owner
Definition: mybfd.h:1346
struct reloc_cache_entry * relocation
Definition: mybfd.h:1291
struct bfd_symbol * symbol
Definition: mybfd.h:1349
int index
Definition: mybfd.h:1013
unsigned int use_rela_p
Definition: mybfd.h:1226
bfd_vma lma
Definition: mybfd.h:1256
file_ptr filepos
Definition: mybfd.h:1304
union bfd_section::@97 map_tail
bfd_size_type size
Definition: mybfd.h:1261
struct bfd_symbol ** symbol_ptr_ptr
Definition: mybfd.h:1350
unsigned int reloc_done
Definition: mybfd.h:1241
void * used_by_bfd
Definition: mybfd.h:1339
struct bfd_link_order * link_order
Definition: mybfd.h:1357
flagword flags
Definition: mybfd.h:1024
alent * lineno
Definition: mybfd.h:1320
int id
Definition: mybfd.h:1010
const char * name
Definition: mybfd.h:1007
unsigned int need_finalize_relax
Definition: mybfd.h:1238
struct bfd_section * output_section
Definition: mybfd.h:1283
unsigned int linker_has_input
Definition: mybfd.h:1206
bfd_size_type rawsize
Definition: mybfd.h:1271
unsigned int entsize
Definition: mybfd.h:1326
unsigned reloc_count
Definition: mybfd.h:1298
file_ptr line_filepos
Definition: mybfd.h:1310
int target_index
Definition: mybfd.h:1337
struct bfd * the_bfd
Definition: mybfd.h:4059
symvalue value
Definition: mybfd.h:4068
flagword flags
Definition: mybfd.h:4155
const char * name
Definition: mybfd.h:4063
union bfd_symbol::@98 udata
bfd_vma i
Definition: mybfd.h:4165
struct bfd_section * section
Definition: mybfd.h:4160
void * p
Definition: mybfd.h:4164
bfd_vma(* bfd_getx16)(const void *)
Definition: mybfd.h:4665
bfd_boolean(* _bfd_merge_private_bfd_data)(bfd *, bfd *)
Definition: mybfd.h:4726
const void * backend_data
Definition: mybfd.h:4928
bfd_boolean(* _core_file_matches_executable_p)(bfd *, bfd *)
Definition: mybfd.h:4755
bfd_boolean(* _bfd_init_private_section_data)(bfd *, sec_ptr, bfd *, sec_ptr, struct bfd_link_info *)
Definition: mybfd.h:4731
long(* _read_minisymbols)(bfd *, bfd_boolean, void **, unsigned int *)
Definition: mybfd.h:4820
void(* _bfd_print_symbol)(bfd *, void *, struct bfd_symbol *, bfd_print_symbol_type)
Definition: mybfd.h:4802
bfd_boolean(* _bfd_copy_private_section_data)(bfd *, sec_ptr, bfd *, sec_ptr)
Definition: mybfd.h:4734
bfd_boolean(* _bfd_find_nearest_line)(bfd *, struct bfd_section *, struct bfd_symbol **, bfd_vma, const char **, const char **, unsigned int *)
Definition: mybfd.h:4809
bfd_boolean(* _bfd_link_add_symbols)(bfd *, struct bfd_link_info *)
Definition: mybfd.h:4875
char * name
Definition: mybfd.h:4626
void(* bfd_putx16)(bfd_vma, void *)
Definition: mybfd.h:4667
bfd_boolean(* _close_and_cleanup)(bfd *)
Definition: mybfd.h:4701
bfd_boolean(* _bfd_construct_extended_name_table)(bfd *, char **, bfd_size_type *, const char **)
Definition: mybfd.h:4772
char symbol_leading_char
Definition: mybfd.h:4648
long(* _bfd_get_symtab_upper_bound)(bfd *)
Definition: mybfd.h:4799
long(* _bfd_canonicalize_dynamic_symtab)(bfd *, struct bfd_symbol **)
Definition: mybfd.h:4914
bfd_uint64_t(* bfd_h_getx64)(const void *)
Definition: mybfd.h:4670
bfd_boolean(* _bfd_get_section_contents)(bfd *, sec_ptr, void *, file_ptr, bfd_size_type)
Definition: mybfd.h:4707
void(* bfd_putx64)(bfd_uint64_t, void *)
Definition: mybfd.h:4661
const struct bfd_target *(* _bfd_check_format[bfd_type_end])(bfd *)
Definition: mybfd.h:4684
long(* _bfd_get_dynamic_reloc_upper_bound)(bfd *)
Definition: mybfd.h:4919
bfd_boolean(* _bfd_is_local_label_name)(bfd *, const char *)
Definition: mybfd.h:4806
void(* bfd_h_putx32)(bfd_vma, void *)
Definition: mybfd.h:4675
void(* bfd_h_putx64)(bfd_uint64_t, void *)
Definition: mybfd.h:4672
unsigned short ar_max_namelen
Definition: mybfd.h:4654
int(* _bfd_sizeof_headers)(bfd *, bfd_boolean)
Definition: mybfd.h:4861
enum bfd_endian header_byteorder
Definition: mybfd.h:4636
const struct bfd_target * alternative_target
Definition: mybfd.h:4924
void(* _bfd_link_just_syms)(asection *, struct bfd_link_info *)
Definition: mybfd.h:4878
bfd_boolean(* _bfd_get_section_contents_in_window)(bfd *, sec_ptr, bfd_window *, file_ptr, bfd_size_type)
Definition: mybfd.h:4708
bfd_boolean(* _bfd_link_split_section)(bfd *, struct bfd_section *)
Definition: mybfd.h:4885
bfd_boolean(* _bfd_gc_sections)(bfd *, struct bfd_link_info *)
Definition: mybfd.h:4888
enum bfd_flavour flavour
Definition: mybfd.h:4630
bfd_int64_t(* bfd_h_getx_signed_64)(const void *)
Definition: mybfd.h:4671
void(* bfd_putx32)(bfd_vma, void *)
Definition: mybfd.h:4664
void(* _bfd_link_hash_table_free)(struct bfd_link_hash_table *)
Definition: mybfd.h:4872
int(* _core_file_failing_signal)(bfd *)
Definition: mybfd.h:4754
flagword object_flags
Definition: mybfd.h:4640
bfd_signed_vma(* bfd_h_getx_signed_16)(const void *)
Definition: mybfd.h:4677
bfd_signed_vma(* bfd_getx_signed_16)(const void *)
Definition: mybfd.h:4666
char ar_pad_char
Definition: mybfd.h:4651
bfd_signed_vma(* bfd_h_getx_signed_32)(const void *)
Definition: mybfd.h:4674
bfd_boolean(* _bfd_set_format[bfd_type_end])(bfd *)
Definition: mybfd.h:4687
int(* _bfd_stat_arch_elt)(bfd *, struct stat *)
Definition: mybfd.h:4779
bfd_boolean(* _bfd_final_link)(bfd *, struct bfd_link_info *)
Definition: mybfd.h:4882
bfd_boolean(* _new_section_hook)(bfd *, sec_ptr)
Definition: mybfd.h:4705
bfd_int64_t(* bfd_getx_signed_64)(const void *)
Definition: mybfd.h:4660
bfd_boolean(* _bfd_find_inliner_info)(bfd *, const char **, const char **, unsigned int *)
Definition: mybfd.h:4813
bfd_boolean(* write_armap)(bfd *, unsigned int, struct orl *, unsigned int, int)
Definition: mybfd.h:4774
bfd_boolean(* _bfd_relax_section)(bfd *, struct bfd_section *, struct bfd_link_info *, bfd_boolean *)
Definition: mybfd.h:4865
bfd_boolean(* _bfd_slurp_armap)(bfd *)
Definition: mybfd.h:4770
bfd_boolean(* _bfd_find_line)(bfd *, struct bfd_symbol **, struct bfd_symbol *, const char **, unsigned int *)
Definition: mybfd.h:4811
long(* _bfd_get_synthetic_symtab)(bfd *, long, struct bfd_symbol **, long, struct bfd_symbol **, struct bfd_symbol **)
Definition: mybfd.h:4916
long(* _bfd_canonicalize_symtab)(bfd *, struct bfd_symbol **)
Definition: mybfd.h:4800
bfd_boolean(* _bfd_is_target_special_symbol)(bfd *, asymbol *)
Definition: mybfd.h:4807
bfd_boolean(* _bfd_print_private_bfd_data)(bfd *, void *)
Definition: mybfd.h:4745
void(* _bfd_get_symbol_info)(bfd *, struct bfd_symbol *, symbol_info *)
Definition: mybfd.h:4804
enum bfd_endian byteorder
Definition: mybfd.h:4633
void(* _bfd_truncate_arname)(bfd *, const char *, char *)
Definition: mybfd.h:4773
bfd_boolean(* _bfd_set_arch_mach)(bfd *, enum bfd_architecture, unsigned long)
Definition: mybfd.h:4841
void(* _section_already_linked)(bfd *, struct bfd_section *)
Definition: mybfd.h:4901
bfd_vma(* bfd_h_getx32)(const void *)
Definition: mybfd.h:4673
bfd_boolean(* _bfd_copy_private_symbol_data)(bfd *, asymbol *, bfd *, asymbol *)
Definition: mybfd.h:4737
flagword section_flags
Definition: mybfd.h:4644
bfd_boolean(* _bfd_merge_sections)(bfd *, struct bfd_link_info *)
Definition: mybfd.h:4891
long(* _bfd_canonicalize_reloc)(bfd *, sec_ptr, arelent **, struct bfd_symbol **)
Definition: mybfd.h:4832
void(* bfd_h_putx16)(bfd_vma, void *)
Definition: mybfd.h:4678
bfd_boolean(* _bfd_set_section_contents)(bfd *, sec_ptr, const void *, file_ptr, bfd_size_type)
Definition: mybfd.h:4842
bfd_vma(* bfd_h_getx16)(const void *)
Definition: mybfd.h:4676
bfd_vma(* bfd_getx32)(const void *)
Definition: mybfd.h:4662
bfd_boolean(* _bfd_copy_private_bfd_data)(bfd *, bfd *)
Definition: mybfd.h:4723
bfd_uint64_t(* bfd_getx64)(const void *)
Definition: mybfd.h:4659
bfd_boolean(* _bfd_free_cached_info)(bfd *)
Definition: mybfd.h:4703
long(* _bfd_get_dynamic_symtab_upper_bound)(bfd *)
Definition: mybfd.h:4912
bfd_signed_vma(* bfd_getx_signed_32)(const void *)
Definition: mybfd.h:4663
long(* _bfd_canonicalize_dynamic_reloc)(bfd *, arelent **, struct bfd_symbol **)
Definition: mybfd.h:4921
bfd_boolean(* _bfd_copy_private_header_data)(bfd *, bfd *)
Definition: mybfd.h:4740
long(* _get_reloc_upper_bound)(bfd *, sec_ptr)
Definition: mybfd.h:4831
bfd_boolean(* _bfd_discard_group)(bfd *, struct bfd_section *)
Definition: mybfd.h:4897
bfd_boolean(* _bfd_slurp_extended_name_table)(bfd *)
Definition: mybfd.h:4771
bfd_boolean(* _bfd_is_group_section)(bfd *, const struct bfd_section *)
Definition: mybfd.h:4894
bfd_boolean(* _bfd_set_private_flags)(bfd *, flagword)
Definition: mybfd.h:4742
bfd_boolean(* _bfd_update_armap_timestamp)(bfd *)
Definition: mybfd.h:4780
bfd_boolean(* _bfd_write_contents[bfd_type_end])(bfd *)
Definition: mybfd.h:4690
Definition: mybfd.h:4212
const struct bfd_target * xvec
Definition: mybfd.h:4220
unsigned int section_count
Definition: mybfd.h:4290
struct bfd_pef_xlib_data_struct * pef_xlib_data
Definition: mybfd.h:4359
struct nlm_obj_tdata * nlm_obj_data
Definition: mybfd.h:4341
struct coff_tdata * coff_obj_data
Definition: mybfd.h:4331
struct pe_tdata * pe_obj_data
Definition: mybfd.h:4332
struct sco5_core_struct * sco5_core_data
Definition: mybfd.h:4345
struct sun_core_struct * sun_core_data
Definition: mybfd.h:4344
struct bfd_section * sections
Definition: mybfd.h:4284
struct ieee_data_struct * ieee_data
Definition: mybfd.h:4335
bfd_format format
Definition: mybfd.h:4258
struct netbsd_core_struct * netbsd_core_data
Definition: mybfd.h:4355
struct ieee_ar_data_struct * ieee_ar_data
Definition: mybfd.h:4336
ufile_ptr origin
Definition: mybfd.h:4274
unsigned int id
Definition: mybfd.h:4214
struct bfd_sym_data_struct * sym_data
Definition: mybfd.h:4360
struct som_data_struct * som_data
Definition: mybfd.h:4347
ufile_ptr where
Definition: mybfd.h:4242
struct hppabsd_core_struct * hppabsd_core_data
Definition: mybfd.h:4349
struct bfd_hash_table section_htab
Definition: mybfd.h:4281
unsigned int dynsymcount
Definition: mybfd.h:4303
struct bfd_pef_data_struct * pef_data
Definition: mybfd.h:4358
bfd_vma start_address
Definition: mybfd.h:4294
const struct bfd_arch_info * arch_info
Definition: mybfd.h:4306
int archive_pass
Definition: mybfd.h:4323
struct artdata * aout_ar_data
Definition: mybfd.h:4328
bfd_boolean output_has_begun
Definition: mybfd.h:4278
struct bfd_section * section_last
Definition: mybfd.h:4287
int ifd
Definition: mybfd.h:4255
struct lynx_core_struct * lynx_core_data
Definition: mybfd.h:4351
void * any
Definition: mybfd.h:4361
union bfd::@99 tdata
struct bfd * my_archive
Definition: mybfd.h:4313
bfd_boolean no_export
Definition: mybfd.h:4309
struct bfd * lru_prev
Definition: mybfd.h:4238
void * usrdata
Definition: mybfd.h:4365
struct bfd * lru_next
Definition: mybfd.h:4238
enum bfd::bfd_direction direction
struct hpux_core_struct * hpux_core_data
Definition: mybfd.h:4348
void * arelt_data
Definition: mybfd.h:4312
void * memory
Definition: mybfd.h:4370
struct bout_data_struct * bout_data
Definition: mybfd.h:4342
struct elf_obj_tdata * elf_obj_data
Definition: mybfd.h:4340
struct _oasys_ar_data * oasys_ar_data
Definition: mybfd.h:4330
struct bfd_symbol ** outsymbols
Definition: mybfd.h:4300
struct xcoff_tdata * xcoff_obj_data
Definition: mybfd.h:4333
struct ecoff_tdata * ecoff_obj_data
Definition: mybfd.h:4334
struct ihex_data_struct * ihex_data
Definition: mybfd.h:4338
struct bfd * archive_head
Definition: mybfd.h:4315
const char * filename
Definition: mybfd.h:4217
struct osf_core_struct * osf_core_data
Definition: mybfd.h:4352
void * iostream
Definition: mybfd.h:4224
struct mach_o_fat_data_struct * mach_o_fat_data
Definition: mybfd.h:4357
struct cisco_core_struct * cisco_core_data
Definition: mybfd.h:4353
bfd_boolean opened_once
Definition: mybfd.h:4245
struct _oasys_data * oasys_obj_data
Definition: mybfd.h:4329
bfd_boolean has_armap
Definition: mybfd.h:4316
struct mach_o_data_struct * mach_o_data
Definition: mybfd.h:4356
unsigned int symcount
Definition: mybfd.h:4297
long mtime
Definition: mybfd.h:4252
const struct bfd_iovec * iovec
Definition: mybfd.h:4225
struct trad_core_struct * trad_core_data
Definition: mybfd.h:4346
bfd_direction
Definition: mybfd.h:4261
@ write_direction
Definition: mybfd.h:4264
@ both_direction
Definition: mybfd.h:4265
@ no_direction
Definition: mybfd.h:4262
@ read_direction
Definition: mybfd.h:4263
struct bfd * link_next
Definition: mybfd.h:4319
bfd_boolean mtime_set
Definition: mybfd.h:4249
bfd_boolean target_defaulted
Definition: mybfd.h:4234
bfd_boolean cacheable
Definition: mybfd.h:4229
struct mmo_data_struct * mmo_data
Definition: mybfd.h:4343
struct srec_data_struct * srec_data
Definition: mybfd.h:4337
struct bfd * next
Definition: mybfd.h:4314
struct tekhex_data_struct * tekhex_data
Definition: mybfd.h:4339
flagword flags
Definition: mybfd.h:4269
struct aout_data_struct * aout_data
Definition: mybfd.h:4327
struct versados_data_struct * versados_data
Definition: mybfd.h:4354
struct sgi_core_struct * sgi_core_data
Definition: mybfd.h:4350
Definition: mybfd.h:277
char * name
Definition: mybfd.h:278
file_ptr file_offset
Definition: mybfd.h:279
Definition: inftree9.h:24
const char * name
Definition: mybfd.h:830
Definition: gzappend.c:170
Definition: mybfd.h:295
unsigned int line_number
Definition: mybfd.h:296
bfd_vma offset
Definition: mybfd.h:299
struct bfd_symbol * sym
Definition: mybfd.h:298
union lineno_cache_entry::@96 u
Definition: z80asm.h:102
Definition: mybfd.h:285
int namidx
Definition: mybfd.h:291
union orl::@95 u
bfd * abfd
Definition: mybfd.h:289
char ** name
Definition: mybfd.h:286
file_ptr pos
Definition: mybfd.h:288
arelent relent
Definition: mybfd.h:2106
struct relent_chain * next
Definition: mybfd.h:2107
Definition: mybfd.h:1963
struct bfd_symbol ** sym_ptr_ptr
Definition: mybfd.h:1965
reloc_howto_type * howto
Definition: mybfd.h:1974
bfd_size_type address
Definition: mybfd.h:1968
bfd_vma addend
Definition: mybfd.h:1971
bfd_vma src_mask
Definition: mybfd.h:2067
unsigned int rightshift
Definition: mybfd.h:2007
bfd_boolean pcrel_offset
Definition: mybfd.h:2079
bfd_boolean pc_relative
Definition: mybfd.h:2022
bfd_reloc_status_type(* special_function)(bfd *, arelent *, struct bfd_symbol *, void *, asection *, bfd *, char **)
Definition: mybfd.h:2036
unsigned int bitsize
Definition: mybfd.h:2016
unsigned int bitpos
Definition: mybfd.h:2026
unsigned int type
Definition: mybfd.h:2003
bfd_boolean partial_inplace
Definition: mybfd.h:2057
bfd_vma dst_mask
Definition: mybfd.h:2071
enum complain_overflow complain_on_overflow
Definition: mybfd.h:2030
struct bfd_hash_table includes
Definition: mybfd.h:446
struct bfd_strtab_hash * strings
Definition: mybfd.h:444
struct bfd_section * stabstr
Definition: mybfd.h:448
Definition: sftypes.h:80
char * message
Definition: main.c:12
static int debug
Definition: visual.c:21
static const z80_opcode fd[]
Definition: z80_tab.h:997
static int addr
Definition: z80asm.c:58
diff_output_t output
Definition: zipcmp.c:237