Ignore:
Timestamp:
Aug 16, 2003, 6:59:22 PM (22 years ago)
Author:
bird
Message:

binutils v2.14 - offical sources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/binutils/bfd/libbfd.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
     1/* DO NOT EDIT!  -*- buffer-read-only: t -*-  This file is automatically
     2   generated from "libbfd-in.h", "init.c", "libbfd.c", "bfdio.c",
     3   "bfdwin.c", "cache.c", "reloc.c", "archures.c" and "elf.c".
     4   Run "make headers" in your build bfd/ to regenerate.  */
     5
    16/* libbfd.h -- Declarations used by bfd library *implementation*.
    27   (This include file is not for users of the library.)
    38   Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
    4    2000, 2001
     9   2000, 2001, 2002
    510   Free Software Foundation, Inc.
    611   Written by Cygnus Support.
    7 
    8 ** NOTE: libbfd.h is a GENERATED file.  Don't change it; instead,
    9 ** change libbfd-in.h or the other BFD source files processed to
    10 ** generate this file.
    1112
    1213This file is part of BFD, the Binary File Descriptor library.
     
    3031   to wrap around if the address is within boundary-1 of the end of the
    3132   address space.  */
    32 #define BFD_ALIGN(this, boundary)                                       \
    33   ((((bfd_vma) (this) + (boundary) - 1) >= (bfd_vma) (this))            \
    34    ? (((bfd_vma) (this) + ((boundary) - 1)) & (~((boundary)-1)))        \
     33#define BFD_ALIGN(this, boundary)                                         \
     34  ((((bfd_vma) (this) + (boundary) - 1) >= (bfd_vma) (this))              \
     35   ? (((bfd_vma) (this) + ((boundary) - 1)) & ~ (bfd_vma) ((boundary)-1)) \
    3536   : ~ (bfd_vma) 0)
    3637
     
    8889#define arelt_size(bfd) (((struct areltdata *)((bfd)->arelt_data))->parsed_size)
    8990
    90 extern PTR bfd_malloc PARAMS ((size_t));
    91 extern PTR bfd_realloc PARAMS ((PTR, size_t));
    92 extern PTR bfd_zmalloc PARAMS ((size_t));
     91extern PTR bfd_malloc
     92  PARAMS ((bfd_size_type));
     93extern PTR bfd_realloc
     94  PARAMS ((PTR, bfd_size_type));
     95extern PTR bfd_zmalloc
     96  PARAMS ((bfd_size_type));
    9397
    9498extern bfd_error_handler_type _bfd_error_handler;
     
    96100/* These routines allocate and free things on the BFD's objalloc.  */
    97101
    98 extern PTR bfd_alloc PARAMS ((bfd *, size_t));
    99 extern PTR bfd_zalloc PARAMS ((bfd *, size_t));
    100 extern void bfd_release PARAMS ((bfd *, PTR));
    101 
    102 bfd *   _bfd_create_empty_archive_element_shell PARAMS ((bfd *obfd));
    103 bfd *   _bfd_look_for_bfd_in_cache PARAMS ((bfd *arch_bfd, file_ptr index));
    104 boolean _bfd_add_bfd_to_archive_cache PARAMS ((bfd *, file_ptr, bfd *));
    105 boolean _bfd_generic_mkarchive PARAMS ((bfd *abfd));
    106 const bfd_target *bfd_generic_archive_p PARAMS ((bfd *abfd));
    107 boolean bfd_slurp_armap PARAMS ((bfd *abfd));
    108 boolean bfd_slurp_bsd_armap_f2 PARAMS ((bfd *abfd));
     102extern PTR bfd_alloc
     103  PARAMS ((bfd *, bfd_size_type));
     104extern PTR bfd_zalloc
     105  PARAMS ((bfd *, bfd_size_type));
     106extern void bfd_release
     107  PARAMS ((bfd *, PTR));
     108
     109bfd * _bfd_create_empty_archive_element_shell
     110  PARAMS ((bfd *obfd));
     111bfd * _bfd_look_for_bfd_in_cache
     112  PARAMS ((bfd *, file_ptr));
     113bfd_boolean _bfd_add_bfd_to_archive_cache
     114  PARAMS ((bfd *, file_ptr, bfd *));
     115bfd_boolean _bfd_generic_mkarchive
     116  PARAMS ((bfd *abfd));
     117const bfd_target *bfd_generic_archive_p
     118  PARAMS ((bfd *abfd));
     119bfd_boolean bfd_slurp_armap
     120  PARAMS ((bfd *abfd));
     121bfd_boolean bfd_slurp_bsd_armap_f2
     122  PARAMS ((bfd *abfd));
    109123#define bfd_slurp_bsd_armap bfd_slurp_armap
    110124#define bfd_slurp_coff_armap bfd_slurp_armap
    111 boolean _bfd_slurp_extended_name_table PARAMS ((bfd *abfd));
    112 extern boolean _bfd_construct_extended_name_table
    113   PARAMS ((bfd *, boolean, char **, bfd_size_type *));
    114 boolean _bfd_write_archive_contents PARAMS ((bfd *abfd));
    115 boolean _bfd_compute_and_write_armap PARAMS ((bfd *, unsigned int elength));
    116 bfd *_bfd_get_elt_at_filepos PARAMS ((bfd *archive, file_ptr filepos));
    117 extern bfd *_bfd_generic_get_elt_at_index PARAMS ((bfd *, symindex));
    118 bfd * _bfd_new_bfd PARAMS ((void));
    119 
    120 boolean bfd_false PARAMS ((bfd *ignore));
    121 boolean bfd_true PARAMS ((bfd *ignore));
    122 PTR     bfd_nullvoidptr PARAMS ((bfd *ignore));
    123 int     bfd_0 PARAMS ((bfd *ignore));
    124 unsigned int    bfd_0u PARAMS ((bfd *ignore));
    125 long    bfd_0l PARAMS ((bfd *ignore));
    126 long    _bfd_n1 PARAMS ((bfd *ignore));
    127 void    bfd_void PARAMS ((bfd *ignore));
    128 
    129 bfd *_bfd_new_bfd_contained_in PARAMS ((bfd *));
    130 const bfd_target *_bfd_dummy_target PARAMS ((bfd *abfd));
    131 
    132 void    bfd_dont_truncate_arname PARAMS ((bfd *abfd, const char *filename,
    133                                         char *hdr));
    134 void    bfd_bsd_truncate_arname PARAMS ((bfd *abfd, const char *filename,
    135                                         char *hdr));
    136 void    bfd_gnu_truncate_arname PARAMS ((bfd *abfd, const char *filename,
    137                                         char *hdr));
    138 
    139 boolean bsd_write_armap PARAMS ((bfd *arch, unsigned int elength,
    140                                   struct orl *map, unsigned int orl_count, int stridx));
    141 
    142 boolean coff_write_armap PARAMS ((bfd *arch, unsigned int elength,
    143                                    struct orl *map, unsigned int orl_count, int stridx));
    144 
    145 extern PTR _bfd_generic_read_ar_hdr PARAMS ((bfd *));
    146 
    147 extern PTR _bfd_generic_read_ar_hdr_mag PARAMS ((bfd *, const char *));
    148 
    149 bfd *   bfd_generic_openr_next_archived_file PARAMS ((bfd *archive,
    150                                                      bfd *last_file));
    151 
    152 int     bfd_generic_stat_arch_elt PARAMS ((bfd *, struct stat *));
     125bfd_boolean _bfd_slurp_extended_name_table
     126  PARAMS ((bfd *abfd));
     127extern bfd_boolean _bfd_construct_extended_name_table
     128  PARAMS ((bfd *, bfd_boolean, char **, bfd_size_type *));
     129bfd_boolean _bfd_write_archive_contents
     130  PARAMS ((bfd *abfd));
     131bfd_boolean _bfd_compute_and_write_armap
     132  PARAMS ((bfd *, unsigned int elength));
     133bfd *_bfd_get_elt_at_filepos
     134  PARAMS ((bfd *archive, file_ptr filepos));
     135extern bfd *_bfd_generic_get_elt_at_index
     136  PARAMS ((bfd *, symindex));
     137bfd * _bfd_new_bfd
     138  PARAMS ((void));
     139void _bfd_delete_bfd
     140  PARAMS ((bfd *));
     141
     142bfd_boolean bfd_false
     143  PARAMS ((bfd *ignore));
     144bfd_boolean bfd_true
     145  PARAMS ((bfd *ignore));
     146PTR bfd_nullvoidptr
     147  PARAMS ((bfd *ignore));
     148int bfd_0
     149  PARAMS ((bfd *ignore));
     150unsigned int bfd_0u
     151  PARAMS ((bfd *ignore));
     152long bfd_0l
     153  PARAMS ((bfd *ignore));
     154long _bfd_n1
     155  PARAMS ((bfd *ignore));
     156void bfd_void
     157  PARAMS ((bfd *ignore));
     158
     159bfd *_bfd_new_bfd_contained_in
     160  PARAMS ((bfd *));
     161const bfd_target *_bfd_dummy_target
     162  PARAMS ((bfd *abfd));
     163
     164void bfd_dont_truncate_arname
     165  PARAMS ((bfd *abfd, const char *filename, char *hdr));
     166void bfd_bsd_truncate_arname
     167  PARAMS ((bfd *abfd, const char *filename, char *hdr));
     168void bfd_gnu_truncate_arname
     169  PARAMS ((bfd *abfd, const char *filename, char *hdr));
     170
     171bfd_boolean bsd_write_armap
     172  PARAMS ((bfd *arch, unsigned int elength, struct orl *map,
     173           unsigned int orl_count, int stridx));
     174
     175bfd_boolean coff_write_armap
     176  PARAMS ((bfd *arch, unsigned int elength, struct orl *map,
     177           unsigned int orl_count, int stridx));
     178
     179extern PTR _bfd_generic_read_ar_hdr
     180  PARAMS ((bfd *));
     181
     182extern PTR _bfd_generic_read_ar_hdr_mag
     183  PARAMS ((bfd *, const char *));
     184
     185bfd * bfd_generic_openr_next_archived_file
     186  PARAMS ((bfd *archive, bfd *last_file));
     187
     188int bfd_generic_stat_arch_elt
     189  PARAMS ((bfd *, struct stat *));
    153190
    154191#define _bfd_read_ar_hdr(abfd) \
     
    162199#define _bfd_generic_bfd_free_cached_info bfd_true
    163200#define _bfd_generic_new_section_hook \
    164   ((boolean (*) PARAMS ((bfd *, asection *))) bfd_true)
    165 extern boolean _bfd_generic_get_section_contents
    166   PARAMS ((bfd *, asection *, PTR location, file_ptr offset,
    167            bfd_size_type count));
    168 extern boolean _bfd_generic_get_section_contents_in_window
     201  ((bfd_boolean (*) PARAMS ((bfd *, asection *))) bfd_true)
     202extern bfd_boolean _bfd_generic_get_section_contents
     203  PARAMS ((bfd *, asection *, PTR, file_ptr, bfd_size_type));
     204extern bfd_boolean _bfd_generic_get_section_contents_in_window
    169205  PARAMS ((bfd *, asection *, bfd_window *, file_ptr, bfd_size_type));
    170206
     
    173209
    174210#define _bfd_generic_bfd_copy_private_bfd_data \
    175   ((boolean (*) PARAMS ((bfd *, bfd *))) bfd_true)
     211  ((bfd_boolean (*) PARAMS ((bfd *, bfd *))) bfd_true)
    176212#define _bfd_generic_bfd_merge_private_bfd_data \
    177   ((boolean (*) PARAMS ((bfd *, bfd *))) bfd_true)
     213  ((bfd_boolean (*) PARAMS ((bfd *, bfd *))) bfd_true)
    178214#define _bfd_generic_bfd_set_private_flags \
    179   ((boolean (*) PARAMS ((bfd *, flagword))) bfd_true)
     215  ((bfd_boolean (*) PARAMS ((bfd *, flagword))) bfd_true)
    180216#define _bfd_generic_bfd_copy_private_section_data \
    181   ((boolean (*) PARAMS ((bfd *, asection *, bfd *, asection *))) bfd_true)
     217  ((bfd_boolean (*) PARAMS ((bfd *, asection *, bfd *, asection *))) bfd_true)
    182218#define _bfd_generic_bfd_copy_private_symbol_data \
    183   ((boolean (*) PARAMS ((bfd *, asymbol *, bfd *, asymbol *))) bfd_true)
     219  ((bfd_boolean (*) PARAMS ((bfd *, asymbol *, bfd *, asymbol *))) bfd_true)
    184220#define _bfd_generic_bfd_print_private_bfd_data \
    185   ((boolean (*) PARAMS ((bfd *, PTR))) bfd_true)
     221  ((bfd_boolean (*) PARAMS ((bfd *, PTR))) bfd_true)
    186222
    187223/* Routines to use for BFD_JUMP_TABLE_CORE when there is no core file
    188224   support.  Use BFD_JUMP_TABLE_CORE (_bfd_nocore).  */
    189225
    190 extern char *_bfd_nocore_core_file_failing_command PARAMS ((bfd *));
    191 extern int _bfd_nocore_core_file_failing_signal PARAMS ((bfd *));
    192 extern boolean _bfd_nocore_core_file_matches_executable_p
     226extern char *_bfd_nocore_core_file_failing_command
     227  PARAMS ((bfd *));
     228extern int _bfd_nocore_core_file_failing_signal
     229  PARAMS ((bfd *));
     230extern bfd_boolean _bfd_nocore_core_file_matches_executable_p
    193231  PARAMS ((bfd *, bfd *));
    194232
     
    199237#define _bfd_noarchive_slurp_extended_name_table bfd_false
    200238#define _bfd_noarchive_construct_extended_name_table \
    201   ((boolean (*) PARAMS ((bfd *, char **, bfd_size_type *, const char **))) \
     239  ((bfd_boolean (*) \
     240    PARAMS ((bfd *, char **, bfd_size_type *, const char **))) \
    202241   bfd_false)
    203242#define _bfd_noarchive_truncate_arname \
    204243  ((void (*) PARAMS ((bfd *, const char *, char *))) bfd_void)
    205244#define _bfd_noarchive_write_armap \
    206   ((boolean (*) \
     245  ((bfd_boolean (*) \
    207246    PARAMS ((bfd *, unsigned int, struct orl *, unsigned int, int))) \
    208247   bfd_false)
     
    221260#define _bfd_archive_bsd_slurp_extended_name_table \
    222261  _bfd_slurp_extended_name_table
    223 extern boolean _bfd_archive_bsd_construct_extended_name_table
     262extern bfd_boolean _bfd_archive_bsd_construct_extended_name_table
    224263  PARAMS ((bfd *, char **, bfd_size_type *, const char **));
    225264#define _bfd_archive_bsd_truncate_arname bfd_bsd_truncate_arname
     
    231270#define _bfd_archive_bsd_generic_stat_arch_elt \
    232271  bfd_generic_stat_arch_elt
    233 extern boolean _bfd_archive_bsd_update_armap_timestamp PARAMS ((bfd *));
     272extern bfd_boolean _bfd_archive_bsd_update_armap_timestamp
     273  PARAMS ((bfd *));
    234274
    235275/* Routines to use for BFD_JUMP_TABLE_ARCHIVE to get COFF style
     
    239279#define _bfd_archive_coff_slurp_extended_name_table \
    240280  _bfd_slurp_extended_name_table
    241 extern boolean _bfd_archive_coff_construct_extended_name_table
     281extern bfd_boolean _bfd_archive_coff_construct_extended_name_table
    242282  PARAMS ((bfd *, char **, bfd_size_type *, const char **));
    243283#define _bfd_archive_coff_truncate_arname bfd_dont_truncate_arname
     
    257297#define _bfd_nosymbols_get_symtab \
    258298  ((long (*) PARAMS ((bfd *, asymbol **))) _bfd_n1)
    259 #define _bfd_nosymbols_make_empty_symbol \
    260   ((asymbol *(*) PARAMS ((bfd *))) bfd_nullvoidptr)
     299#define _bfd_nosymbols_make_empty_symbol _bfd_generic_make_empty_symbol
    261300#define _bfd_nosymbols_print_symbol \
    262301  ((void (*) PARAMS ((bfd *, PTR, asymbol *, bfd_print_symbol_type))) bfd_void)
     
    264303  ((void (*) PARAMS ((bfd *, asymbol *, symbol_info *))) bfd_void)
    265304#define _bfd_nosymbols_bfd_is_local_label_name \
    266   ((boolean (*) PARAMS ((bfd *, const char *))) bfd_false)
     305  ((bfd_boolean (*) PARAMS ((bfd *, const char *))) bfd_false)
    267306#define _bfd_nosymbols_get_lineno \
    268307  ((alent *(*) PARAMS ((bfd *, asymbol *))) bfd_nullvoidptr)
    269308#define _bfd_nosymbols_find_nearest_line \
    270   ((boolean (*) \
     309  ((bfd_boolean (*) \
    271310    PARAMS ((bfd *, asection *, asymbol **, bfd_vma, const char **, \
    272311             const char **, unsigned int *))) \
     
    275314  ((asymbol *(*) PARAMS ((bfd *, PTR, unsigned long))) bfd_nullvoidptr)
    276315#define _bfd_nosymbols_read_minisymbols \
    277   ((long (*) PARAMS ((bfd *, boolean, PTR *, unsigned int *))) _bfd_n1)
     316  ((long (*) PARAMS ((bfd *, bfd_boolean, PTR *, unsigned int *))) _bfd_n1)
    278317#define _bfd_nosymbols_minisymbol_to_symbol \
    279   ((asymbol *(*) PARAMS ((bfd *, boolean, const PTR, asymbol *))) \
     318  ((asymbol *(*) PARAMS ((bfd *, bfd_boolean, const PTR, asymbol *))) \
    280319   bfd_nullvoidptr)
    281320
     
    295334
    296335#define _bfd_nowrite_set_arch_mach \
    297   ((boolean (*) PARAMS ((bfd *, enum bfd_architecture, unsigned long))) \
     336  ((bfd_boolean (*) PARAMS ((bfd *, enum bfd_architecture, unsigned long))) \
    298337   bfd_false)
    299338#define _bfd_nowrite_set_section_contents \
    300   ((boolean (*) PARAMS ((bfd *, asection *, PTR, file_ptr, bfd_size_type))) \
     339  ((bfd_boolean (*) \
     340   PARAMS ((bfd *, asection *, PTR, file_ptr, bfd_size_type))) \
    301341   bfd_false)
    302342
     
    305345
    306346#define _bfd_generic_set_arch_mach bfd_default_set_arch_mach
    307 extern boolean _bfd_generic_set_section_contents
     347extern bfd_boolean _bfd_generic_set_section_contents
    308348  PARAMS ((bfd *, asection *, PTR, file_ptr, bfd_size_type));
    309349
     
    311351   support linking.  Use BFD_JUMP_TABLE_LINK (_bfd_nolink).  */
    312352
    313 #define _bfd_nolink_sizeof_headers ((int (*) PARAMS ((bfd *, boolean))) bfd_0)
     353#define _bfd_nolink_sizeof_headers ((int (*) PARAMS ((bfd *, bfd_boolean))) bfd_0)
    314354#define _bfd_nolink_bfd_get_relocated_section_contents \
    315355  ((bfd_byte *(*) \
    316356    PARAMS ((bfd *, struct bfd_link_info *, struct bfd_link_order *, \
    317              bfd_byte *, boolean, asymbol **))) \
     357             bfd_byte *, bfd_boolean, asymbol **))) \
    318358   bfd_nullvoidptr)
    319359#define _bfd_nolink_bfd_relax_section \
    320   ((boolean (*) \
    321     PARAMS ((bfd *, asection *, struct bfd_link_info *, boolean *))) \
     360  ((bfd_boolean (*) \
     361    PARAMS ((bfd *, asection *, struct bfd_link_info *, bfd_boolean *))) \
    322362   bfd_false)
    323363#define _bfd_nolink_bfd_gc_sections \
    324   ((boolean (*) \
     364  ((bfd_boolean (*) \
    325365    PARAMS ((bfd *, struct bfd_link_info *))) \
     366   bfd_false)
     367#define _bfd_nolink_bfd_merge_sections \
     368  ((bfd_boolean (*) \
     369    PARAMS ((bfd *, struct bfd_link_info *))) \
     370   bfd_false)
     371#define _bfd_nolink_bfd_discard_group \
     372  ((bfd_boolean (*) \
     373    PARAMS ((bfd *, struct sec *))) \
    326374   bfd_false)
    327375#define _bfd_nolink_bfd_link_hash_table_create \
    328376  ((struct bfd_link_hash_table *(*) PARAMS ((bfd *))) bfd_nullvoidptr)
     377#define _bfd_nolink_bfd_link_hash_table_free \
     378  ((void (*) PARAMS ((struct bfd_link_hash_table *))) bfd_void)
    329379#define _bfd_nolink_bfd_link_add_symbols \
    330   ((boolean (*) PARAMS ((bfd *, struct bfd_link_info *))) bfd_false)
     380  ((bfd_boolean (*) PARAMS ((bfd *, struct bfd_link_info *))) bfd_false)
     381#define _bfd_nolink_bfd_link_just_syms \
     382  ((void (*) PARAMS ((asection *, struct bfd_link_info *))) bfd_void)
    331383#define _bfd_nolink_bfd_final_link \
    332   ((boolean (*) PARAMS ((bfd *, struct bfd_link_info *))) bfd_false)
     384  ((bfd_boolean (*) PARAMS ((bfd *, struct bfd_link_info *))) bfd_false)
    333385#define _bfd_nolink_bfd_link_split_section \
    334   ((boolean (*) PARAMS ((bfd *, struct sec *))) bfd_false)
     386  ((bfd_boolean (*) PARAMS ((bfd *, struct sec *))) bfd_false)
    335387
    336388/* Routines to use for BFD_JUMP_TABLE_DYNAMIC for targets which do not
     
    348400/* Generic routine to determine of the given symbol is a local
    349401   label.  */
    350 extern boolean bfd_generic_is_local_label_name PARAMS ((bfd *, const char *));
     402extern bfd_boolean bfd_generic_is_local_label_name
     403  PARAMS ((bfd *, const char *));
    351404
    352405/* Generic minisymbol routines.  */
    353406extern long _bfd_generic_read_minisymbols
    354   PARAMS ((bfd *, boolean, PTR *, unsigned int *));
     407  PARAMS ((bfd *, bfd_boolean, PTR *, unsigned int *));
    355408extern asymbol *_bfd_generic_minisymbol_to_symbol
    356   PARAMS ((bfd *, boolean, const PTR, asymbol *));
     409  PARAMS ((bfd *, bfd_boolean, const PTR, asymbol *));
    357410
    358411/* Find the nearest line using .stab/.stabstr sections.  */
    359 extern boolean _bfd_stab_section_find_nearest_line
    360   PARAMS ((bfd *, asymbol **, asection *, bfd_vma, boolean *, const char **,
    361            const char **, unsigned int *, PTR *));
     412extern bfd_boolean _bfd_stab_section_find_nearest_line
     413  PARAMS ((bfd *, asymbol **, asection *, bfd_vma, bfd_boolean *,
     414           const char **, const char **, unsigned int *, PTR *));
    362415
    363416/* Find the neaderst line using DWARF 1 debugging information.  */
    364 extern boolean _bfd_dwarf1_find_nearest_line
     417extern bfd_boolean _bfd_dwarf1_find_nearest_line
    365418  PARAMS ((bfd *, asection *, asymbol **, bfd_vma, const char **,
    366419           const char **, unsigned int *));
    367420
    368421/* Find the nearest line using DWARF 2 debugging information.  */
    369 extern boolean _bfd_dwarf2_find_nearest_line
     422extern bfd_boolean _bfd_dwarf2_find_nearest_line
    370423  PARAMS ((bfd *, asection *, asymbol **, bfd_vma, const char **,
    371424           const char **, unsigned int *, unsigned int,
    372425           PTR *));
     426
     427/* Create a new section entry.  */
     428extern struct bfd_hash_entry *bfd_section_hash_newfunc
     429  PARAMS ((struct bfd_hash_entry *, struct bfd_hash_table *, const char *));
    373430
    374431/* A routine to create entries for a bfd_link_hash_table.  */
     
    379436
    380437/* Initialize a bfd_link_hash_table.  */
    381 extern boolean _bfd_link_hash_table_init
     438extern bfd_boolean _bfd_link_hash_table_init
    382439  PARAMS ((struct bfd_link_hash_table *, bfd *,
    383440           struct bfd_hash_entry *(*) (struct bfd_hash_entry *,
     
    389446  PARAMS ((bfd *));
    390447
     448/* Generic link hash table destruction routine.  */
     449extern void _bfd_generic_link_hash_table_free
     450  PARAMS ((struct bfd_link_hash_table *));
     451
    391452/* Generic add symbol routine.  */
    392 extern boolean _bfd_generic_link_add_symbols
     453extern bfd_boolean _bfd_generic_link_add_symbols
    393454  PARAMS ((bfd *, struct bfd_link_info *));
    394455
     
    396457   which the linker must collect constructors and destructors by name,
    397458   as the collect2 program does.  */
    398 extern boolean _bfd_generic_link_add_symbols_collect
     459extern bfd_boolean _bfd_generic_link_add_symbols_collect
    399460  PARAMS ((bfd *, struct bfd_link_info *));
    400461
    401462/* Generic archive add symbol routine.  */
    402 extern boolean _bfd_generic_link_add_archive_symbols
     463extern bfd_boolean _bfd_generic_link_add_archive_symbols
    403464  PARAMS ((bfd *, struct bfd_link_info *,
    404            boolean (*checkfn) (bfd *, struct bfd_link_info *, boolean *)));
    405 
    406 
     465           bfd_boolean (*) (bfd *, struct bfd_link_info *, bfd_boolean *)));
    407466
    408467/* Forward declaration to avoid prototype errors.  */
     
    410469
    411470/* Generic routine to add a single symbol.  */
    412 extern boolean _bfd_generic_link_add_one_symbol
     471extern bfd_boolean _bfd_generic_link_add_one_symbol
    413472  PARAMS ((struct bfd_link_info *, bfd *, const char *name, flagword,
    414            asection *, bfd_vma, const char *, boolean copy,
    415            boolean constructor, struct bfd_link_hash_entry **));
     473           asection *, bfd_vma, const char *, bfd_boolean copy,
     474           bfd_boolean constructor, struct bfd_link_hash_entry **));
     475
     476/* Generic routine to mark section as supplying symbols only.  */
     477extern void _bfd_generic_link_just_syms
     478  PARAMS ((asection *, struct bfd_link_info *));
    416479
    417480/* Generic link routine.  */
    418 extern boolean _bfd_generic_final_link
     481extern bfd_boolean _bfd_generic_final_link
    419482  PARAMS ((bfd *, struct bfd_link_info *));
    420483
    421 extern boolean _bfd_generic_link_split_section
     484extern bfd_boolean _bfd_generic_link_split_section
    422485  PARAMS ((bfd *, struct sec *));
    423486
    424487/* Generic reloc_link_order processing routine.  */
    425 extern boolean _bfd_generic_reloc_link_order
     488extern bfd_boolean _bfd_generic_reloc_link_order
    426489  PARAMS ((bfd *, struct bfd_link_info *, asection *,
    427490           struct bfd_link_order *));
    428491
    429492/* Default link order processing routine.  */
    430 extern boolean _bfd_default_link_order
     493extern bfd_boolean _bfd_default_link_order
    431494  PARAMS ((bfd *, struct bfd_link_info *, asection *,
    432495           struct bfd_link_order *));
     
    439502extern bfd_reloc_status_type _bfd_final_link_relocate
    440503  PARAMS ((reloc_howto_type *, bfd *, asection *, bfd_byte *,
    441            bfd_vma address, bfd_vma value, bfd_vma addend));
     504           bfd_vma, bfd_vma, bfd_vma));
    442505
    443506/* Relocate a particular location by a howto and a value.  */
     
    447510/* Link stabs in sections in the first pass.  */
    448511
    449 extern boolean _bfd_link_section_stabs
     512extern bfd_boolean _bfd_link_section_stabs
    450513  PARAMS ((bfd *, PTR *, asection *, asection *, PTR *));
    451514
     515/* Eliminate stabs for discarded functions and symbols.  */
     516extern bfd_boolean _bfd_discard_section_stabs
     517  PARAMS ((bfd *, asection *, PTR,
     518           bfd_boolean (*) (bfd_vma, PTR), PTR));
     519
    452520/* Write out the .stab section when linking stabs in sections.  */
    453521
    454 extern boolean _bfd_write_section_stabs
     522extern bfd_boolean _bfd_write_section_stabs
    455523  PARAMS ((bfd *, PTR *, asection *, PTR *, bfd_byte *));
    456524
    457525/* Write out the .stabstr string table when linking stabs in sections.  */
    458526
    459 extern boolean _bfd_write_stab_strings PARAMS ((bfd *, PTR *));
     527extern bfd_boolean _bfd_write_stab_strings
     528  PARAMS ((bfd *, PTR *));
    460529
    461530/* Find an offset within a .stab section when linking stabs in
     
    465534  PARAMS ((bfd *, PTR *, asection *, PTR *, bfd_vma));
    466535
     536/* Attempt to merge a SEC_MERGE section.  */
     537
     538extern bfd_boolean _bfd_merge_section
     539  PARAMS ((bfd *, PTR *, asection *, PTR *));
     540
     541/* Attempt to merge SEC_MERGE sections.  */
     542
     543extern bfd_boolean _bfd_merge_sections
     544  PARAMS ((bfd *, PTR, void (*)(bfd *, asection *)));
     545
     546/* Write out a merged section.  */
     547
     548extern bfd_boolean _bfd_write_merged_section
     549  PARAMS ((bfd *, asection *, PTR));
     550
     551/* Find an offset within a modified SEC_MERGE section.  */
     552
     553extern bfd_vma _bfd_merged_section_offset
     554  PARAMS ((bfd *, asection **, PTR, bfd_vma, bfd_vma));
     555
    467556/* Create a string table.  */
    468 extern struct bfd_strtab_hash *_bfd_stringtab_init PARAMS ((void));
     557extern struct bfd_strtab_hash *_bfd_stringtab_init
     558  PARAMS ((void));
    469559
    470560/* Create an XCOFF .debug section style string table.  */
    471 extern struct bfd_strtab_hash *_bfd_xcoff_stringtab_init PARAMS ((void));
     561extern struct bfd_strtab_hash *_bfd_xcoff_stringtab_init
     562  PARAMS ((void));
    472563
    473564/* Free a string table.  */
    474 extern void _bfd_stringtab_free PARAMS ((struct bfd_strtab_hash *));
     565extern void _bfd_stringtab_free
     566  PARAMS ((struct bfd_strtab_hash *));
    475567
    476568/* Get the size of a string table.  */
    477 extern bfd_size_type _bfd_stringtab_size PARAMS ((struct bfd_strtab_hash *));
     569extern bfd_size_type _bfd_stringtab_size
     570  PARAMS ((struct bfd_strtab_hash *));
    478571
    479572/* Add a string to a string table.  */
    480573extern bfd_size_type _bfd_stringtab_add
    481   PARAMS ((struct bfd_strtab_hash *, const char *, boolean hash,
    482            boolean copy));
     574  PARAMS ((struct bfd_strtab_hash *, const char *, bfd_boolean hash,
     575           bfd_boolean copy));
    483576
    484577/* Write out a string table.  */
    485 extern boolean _bfd_stringtab_emit PARAMS ((bfd *, struct bfd_strtab_hash *));
     578extern bfd_boolean _bfd_stringtab_emit
     579  PARAMS ((bfd *, struct bfd_strtab_hash *));
    486580
    487581/* Check that endianness of input and output file match.  */
    488 extern boolean _bfd_generic_verify_endian_match PARAMS ((bfd *, bfd *));
     582extern bfd_boolean _bfd_generic_verify_endian_match
     583  PARAMS ((bfd *, bfd *));
    489584
    490585
     
    501596#define bfd_write_p(abfd) ((abfd)->direction == write_direction || (abfd)->direction == both_direction)
    502597
    503 void    bfd_assert PARAMS ((const char*,int));
     598void bfd_assert
     599  PARAMS ((const char*,int));
    504600
    505601#define BFD_ASSERT(x) \
     
    509605{ bfd_assert(__FILE__,__LINE__); }
    510606
    511 extern void _bfd_abort PARAMS ((const char *, int, const char *))
    512     ATTRIBUTE_NORETURN;
     607extern void _bfd_abort
     608  PARAMS ((const char *, int, const char *)) ATTRIBUTE_NORETURN;
    513609
    514610/* if gcc >= 2.6, we can give a function name, too */
     
    520616#define abort() _bfd_abort (__FILE__, __LINE__, __PRETTY_FUNCTION__)
    521617
    522 FILE *  bfd_cache_lookup_worker PARAMS ((bfd *));
     618FILE *  bfd_cache_lookup_worker
     619  PARAMS ((bfd *));
    523620
    524621extern bfd *bfd_last_cache;
     
    529626extern const bfd_target *bfd_default_vector[];
    530627
     628/* List of associated target vectors.  */
     629extern const bfd_target * const *bfd_associated_vector;
     630
    531631/* Functions shared by the ECOFF and MIPS ELF backends, which have no
    532632   other common header files.  */
     
    536636#endif
    537637
    538 extern boolean _bfd_ecoff_locate_line
     638extern bfd_boolean _bfd_ecoff_locate_line
    539639  PARAMS ((bfd *, asection *, bfd_vma, struct ecoff_debug_info * const,
    540640           const struct ecoff_debug_swap * const, struct ecoff_find_line *,
    541641           const char **, const char **, unsigned int *));
    542 extern boolean _bfd_ecoff_get_accumulated_pdr PARAMS ((PTR, bfd_byte *));
    543 extern boolean _bfd_ecoff_get_accumulated_sym PARAMS ((PTR, bfd_byte *));
    544 extern boolean _bfd_ecoff_get_accumulated_ss PARAMS ((PTR, bfd_byte *));
    545 
    546 extern bfd_vma _bfd_get_gp_value PARAMS ((bfd *));
    547 extern void _bfd_set_gp_value PARAMS ((bfd *, bfd_vma));
     642extern bfd_boolean _bfd_ecoff_get_accumulated_pdr
     643  PARAMS ((PTR, bfd_byte *));
     644extern bfd_boolean _bfd_ecoff_get_accumulated_sym
     645  PARAMS ((PTR, bfd_byte *));
     646extern bfd_boolean _bfd_ecoff_get_accumulated_ss
     647  PARAMS ((PTR, bfd_byte *));
     648
     649extern bfd_vma _bfd_get_gp_value
     650  PARAMS ((bfd *));
     651extern void _bfd_set_gp_value
     652  PARAMS ((bfd *, bfd_vma));
    548653
    549654/* Function shared by the COFF and ELF SH backends, which have no
    550655   other common header files.  */
    551656
    552 extern boolean _bfd_sh_align_load_span
     657extern bfd_boolean _bfd_sh_align_load_span
    553658  PARAMS ((bfd *, asection *, bfd_byte *,
    554            boolean (*) (bfd *, asection *, PTR, bfd_byte *, bfd_vma),
    555            PTR, bfd_vma **, bfd_vma *, bfd_vma, bfd_vma, boolean *));
    556 
    557 /* And more follows */
    558 
    559 void
    560 bfd_write_bigendian_4byte_int PARAMS ((bfd *abfd,  int i));
     659           bfd_boolean (*) (bfd *, asection *, PTR, bfd_byte *, bfd_vma),
     660           PTR, bfd_vma **, bfd_vma *, bfd_vma, bfd_vma, bfd_boolean *));
     661
     662/* Extracted from init.c. */
     663/* Extracted from libbfd.c.  */
     664bfd_boolean
     665bfd_write_bigendian_4byte_int PARAMS ((bfd *, unsigned int));
    561666
    562667unsigned int
    563668bfd_log2 PARAMS ((bfd_vma x));
    564669
     670/* Extracted from bfdio.c.  */
     671/* Extracted from bfdwin.c.  */
     672struct _bfd_window_internal {
     673  struct _bfd_window_internal *next;
     674  PTR data;
     675  bfd_size_type size;
     676  int refcount : 31;           /* should be enough...  */
     677  unsigned mapped : 1;         /* 1 = mmap, 0 = malloc */
     678};
     679/* Extracted from cache.c.  */
    565680#define BFD_CACHE_MAX_OPEN 10
    566681extern bfd *bfd_last_cache;
     
    570685      (FILE*) (bfd_last_cache->iostream): \
    571686       bfd_cache_lookup_worker(x))
    572 boolean
     687bfd_boolean
    573688bfd_cache_init PARAMS ((bfd *abfd));
    574689
    575 boolean
     690bfd_boolean
    576691bfd_cache_close PARAMS ((bfd *abfd));
    577692
     
    582697bfd_cache_lookup_worker PARAMS ((bfd *abfd));
    583698
     699/* Extracted from reloc.c.  */
    584700#ifdef _BFD_MAKE_TABLE_bfd_reloc_code_real
    585701
     
    608724  "BFD_RELOC_HI16_S_GOTOFF",
    609725  "BFD_RELOC_8_GOTOFF",
     726  "BFD_RELOC_64_PLT_PCREL",
    610727  "BFD_RELOC_32_PLT_PCREL",
    611728  "BFD_RELOC_24_PLT_PCREL",
    612729  "BFD_RELOC_16_PLT_PCREL",
    613730  "BFD_RELOC_8_PLT_PCREL",
     731  "BFD_RELOC_64_PLTOFF",
    614732  "BFD_RELOC_32_PLTOFF",
    615733  "BFD_RELOC_16_PLTOFF",
     
    670788  "BFD_RELOC_SPARC_6",
    671789  "BFD_RELOC_SPARC_5",
     790  "BFD_RELOC_SPARC_PLT32",
    672791  "BFD_RELOC_SPARC_PLT64",
    673792  "BFD_RELOC_SPARC_HIX22",
     
    678797  "BFD_RELOC_SPARC_REGISTER",
    679798  "BFD_RELOC_SPARC_REV32",
     799  "BFD_RELOC_SPARC_TLS_GD_HI22",
     800  "BFD_RELOC_SPARC_TLS_GD_LO10",
     801  "BFD_RELOC_SPARC_TLS_GD_ADD",
     802  "BFD_RELOC_SPARC_TLS_GD_CALL",
     803  "BFD_RELOC_SPARC_TLS_LDM_HI22",
     804  "BFD_RELOC_SPARC_TLS_LDM_LO10",
     805  "BFD_RELOC_SPARC_TLS_LDM_ADD",
     806  "BFD_RELOC_SPARC_TLS_LDM_CALL",
     807  "BFD_RELOC_SPARC_TLS_LDO_HIX22",
     808  "BFD_RELOC_SPARC_TLS_LDO_LOX10",
     809  "BFD_RELOC_SPARC_TLS_LDO_ADD",
     810  "BFD_RELOC_SPARC_TLS_IE_HI22",
     811  "BFD_RELOC_SPARC_TLS_IE_LO10",
     812  "BFD_RELOC_SPARC_TLS_IE_LD",
     813  "BFD_RELOC_SPARC_TLS_IE_LDX",
     814  "BFD_RELOC_SPARC_TLS_IE_ADD",
     815  "BFD_RELOC_SPARC_TLS_LE_HIX22",
     816  "BFD_RELOC_SPARC_TLS_LE_LOX10",
     817  "BFD_RELOC_SPARC_TLS_DTPMOD32",
     818  "BFD_RELOC_SPARC_TLS_DTPMOD64",
     819  "BFD_RELOC_SPARC_TLS_DTPOFF32",
     820  "BFD_RELOC_SPARC_TLS_DTPOFF64",
     821  "BFD_RELOC_SPARC_TLS_TPOFF32",
     822  "BFD_RELOC_SPARC_TLS_TPOFF64",
    680823  "BFD_RELOC_ALPHA_GPDISP_HI16",
    681824  "BFD_RELOC_ALPHA_GPDISP_LO16",
     
    684827  "BFD_RELOC_ALPHA_ELF_LITERAL",
    685828  "BFD_RELOC_ALPHA_LITUSE",
    686   "BFD_RELOC_ALPHA_USER_LITERAL",
    687   "BFD_RELOC_ALPHA_USER_LITUSE_BASE",
    688   "BFD_RELOC_ALPHA_USER_LITUSE_BYTOFF",
    689   "BFD_RELOC_ALPHA_USER_LITUSE_JSR",
    690   "BFD_RELOC_ALPHA_USER_GPDISP",
    691   "BFD_RELOC_ALPHA_USER_GPRELHIGH",
    692   "BFD_RELOC_ALPHA_USER_GPRELLOW",
    693829  "BFD_RELOC_ALPHA_HINT",
    694830  "BFD_RELOC_ALPHA_LINKAGE",
    695831  "BFD_RELOC_ALPHA_CODEADDR",
     832  "BFD_RELOC_ALPHA_GPREL_HI16",
     833  "BFD_RELOC_ALPHA_GPREL_LO16",
     834  "BFD_RELOC_ALPHA_BRSGP",
     835  "BFD_RELOC_ALPHA_TLSGD",
     836  "BFD_RELOC_ALPHA_TLSLDM",
     837  "BFD_RELOC_ALPHA_DTPMOD64",
     838  "BFD_RELOC_ALPHA_GOTDTPREL16",
     839  "BFD_RELOC_ALPHA_DTPREL64",
     840  "BFD_RELOC_ALPHA_DTPREL_HI16",
     841  "BFD_RELOC_ALPHA_DTPREL_LO16",
     842  "BFD_RELOC_ALPHA_DTPREL16",
     843  "BFD_RELOC_ALPHA_GOTTPREL16",
     844  "BFD_RELOC_ALPHA_TPREL64",
     845  "BFD_RELOC_ALPHA_TPREL_HI16",
     846  "BFD_RELOC_ALPHA_TPREL_LO16",
     847  "BFD_RELOC_ALPHA_TPREL16",
    696848  "BFD_RELOC_MIPS_JMP",
    697849  "BFD_RELOC_MIPS16_JMP",
     
    724876  "BFD_RELOC_MIPS_RELGOT",
    725877  "BFD_RELOC_MIPS_JALR",
     878  "BFD_RELOC_FRV_LABEL16",
     879  "BFD_RELOC_FRV_LABEL24",
     880  "BFD_RELOC_FRV_LO16",
     881  "BFD_RELOC_FRV_HI16",
     882  "BFD_RELOC_FRV_GPREL12",
     883  "BFD_RELOC_FRV_GPRELU12",
     884  "BFD_RELOC_FRV_GPREL32",
     885  "BFD_RELOC_FRV_GPRELHI",
     886  "BFD_RELOC_FRV_GPRELLO",
    726887
    727888  "BFD_RELOC_386_GOT32",
     
    733894  "BFD_RELOC_386_GOTOFF",
    734895  "BFD_RELOC_386_GOTPC",
     896  "BFD_RELOC_386_TLS_TPOFF",
     897  "BFD_RELOC_386_TLS_IE",
     898  "BFD_RELOC_386_TLS_GOTIE",
     899  "BFD_RELOC_386_TLS_LE",
     900  "BFD_RELOC_386_TLS_GD",
     901  "BFD_RELOC_386_TLS_LDM",
     902  "BFD_RELOC_386_TLS_LDO_32",
     903  "BFD_RELOC_386_TLS_IE_32",
     904  "BFD_RELOC_386_TLS_LE_32",
     905  "BFD_RELOC_386_TLS_DTPMOD32",
     906  "BFD_RELOC_386_TLS_DTPOFF32",
     907  "BFD_RELOC_386_TLS_TPOFF32",
    735908  "BFD_RELOC_X86_64_GOT32",
    736909  "BFD_RELOC_X86_64_PLT32",
     
    741914  "BFD_RELOC_X86_64_GOTPCREL",
    742915  "BFD_RELOC_X86_64_32S",
     916  "BFD_RELOC_X86_64_DTPMOD64",
     917  "BFD_RELOC_X86_64_DTPOFF64",
     918  "BFD_RELOC_X86_64_TPOFF64",
     919  "BFD_RELOC_X86_64_TLSGD",
     920  "BFD_RELOC_X86_64_TLSLD",
     921  "BFD_RELOC_X86_64_DTPOFF32",
     922  "BFD_RELOC_X86_64_GOTTPOFF",
     923  "BFD_RELOC_X86_64_TPOFF32",
    743924  "BFD_RELOC_NS32K_IMM_8",
    744925  "BFD_RELOC_NS32K_IMM_16",
     
    753934  "BFD_RELOC_NS32K_DISP_16_PCREL",
    754935  "BFD_RELOC_NS32K_DISP_32_PCREL",
     936  "BFD_RELOC_PDP11_DISP_8_PCREL",
     937  "BFD_RELOC_PDP11_DISP_6_PCREL",
    755938  "BFD_RELOC_PJ_CODE_HI16",
    756939  "BFD_RELOC_PJ_CODE_LO16",
     
    789972  "BFD_RELOC_PPC_EMB_BIT_FLD",
    790973  "BFD_RELOC_PPC_EMB_RELSDA",
     974  "BFD_RELOC_PPC64_HIGHER",
     975  "BFD_RELOC_PPC64_HIGHER_S",
     976  "BFD_RELOC_PPC64_HIGHEST",
     977  "BFD_RELOC_PPC64_HIGHEST_S",
     978  "BFD_RELOC_PPC64_TOC16_LO",
     979  "BFD_RELOC_PPC64_TOC16_HI",
     980  "BFD_RELOC_PPC64_TOC16_HA",
     981  "BFD_RELOC_PPC64_TOC",
     982  "BFD_RELOC_PPC64_PLTGOT16",
     983  "BFD_RELOC_PPC64_PLTGOT16_LO",
     984  "BFD_RELOC_PPC64_PLTGOT16_HI",
     985  "BFD_RELOC_PPC64_PLTGOT16_HA",
     986  "BFD_RELOC_PPC64_ADDR16_DS",
     987  "BFD_RELOC_PPC64_ADDR16_LO_DS",
     988  "BFD_RELOC_PPC64_GOT16_DS",
     989  "BFD_RELOC_PPC64_GOT16_LO_DS",
     990  "BFD_RELOC_PPC64_PLT16_LO_DS",
     991  "BFD_RELOC_PPC64_SECTOFF_DS",
     992  "BFD_RELOC_PPC64_SECTOFF_LO_DS",
     993  "BFD_RELOC_PPC64_TOC16_DS",
     994  "BFD_RELOC_PPC64_TOC16_LO_DS",
     995  "BFD_RELOC_PPC64_PLTGOT16_DS",
     996  "BFD_RELOC_PPC64_PLTGOT16_LO_DS",
     997  "BFD_RELOC_PPC_TLS",
     998  "BFD_RELOC_PPC_DTPMOD",
     999  "BFD_RELOC_PPC_TPREL16",
     1000  "BFD_RELOC_PPC_TPREL16_LO",
     1001  "BFD_RELOC_PPC_TPREL16_HI",
     1002  "BFD_RELOC_PPC_TPREL16_HA",
     1003  "BFD_RELOC_PPC_TPREL",
     1004  "BFD_RELOC_PPC_DTPREL16",
     1005  "BFD_RELOC_PPC_DTPREL16_LO",
     1006  "BFD_RELOC_PPC_DTPREL16_HI",
     1007  "BFD_RELOC_PPC_DTPREL16_HA",
     1008  "BFD_RELOC_PPC_DTPREL",
     1009  "BFD_RELOC_PPC_GOT_TLSGD16",
     1010  "BFD_RELOC_PPC_GOT_TLSGD16_LO",
     1011  "BFD_RELOC_PPC_GOT_TLSGD16_HI",
     1012  "BFD_RELOC_PPC_GOT_TLSGD16_HA",
     1013  "BFD_RELOC_PPC_GOT_TLSLD16",
     1014  "BFD_RELOC_PPC_GOT_TLSLD16_LO",
     1015  "BFD_RELOC_PPC_GOT_TLSLD16_HI",
     1016  "BFD_RELOC_PPC_GOT_TLSLD16_HA",
     1017  "BFD_RELOC_PPC_GOT_TPREL16",
     1018  "BFD_RELOC_PPC_GOT_TPREL16_LO",
     1019  "BFD_RELOC_PPC_GOT_TPREL16_HI",
     1020  "BFD_RELOC_PPC_GOT_TPREL16_HA",
     1021  "BFD_RELOC_PPC_GOT_DTPREL16",
     1022  "BFD_RELOC_PPC_GOT_DTPREL16_LO",
     1023  "BFD_RELOC_PPC_GOT_DTPREL16_HI",
     1024  "BFD_RELOC_PPC_GOT_DTPREL16_HA",
     1025  "BFD_RELOC_PPC64_TPREL16_DS",
     1026  "BFD_RELOC_PPC64_TPREL16_LO_DS",
     1027  "BFD_RELOC_PPC64_TPREL16_HIGHER",
     1028  "BFD_RELOC_PPC64_TPREL16_HIGHERA",
     1029  "BFD_RELOC_PPC64_TPREL16_HIGHEST",
     1030  "BFD_RELOC_PPC64_TPREL16_HIGHESTA",
     1031  "BFD_RELOC_PPC64_DTPREL16_DS",
     1032  "BFD_RELOC_PPC64_DTPREL16_LO_DS",
     1033  "BFD_RELOC_PPC64_DTPREL16_HIGHER",
     1034  "BFD_RELOC_PPC64_DTPREL16_HIGHERA",
     1035  "BFD_RELOC_PPC64_DTPREL16_HIGHEST",
     1036  "BFD_RELOC_PPC64_DTPREL16_HIGHESTA",
    7911037  "BFD_RELOC_I370_D12",
    7921038  "BFD_RELOC_CTOR",
     
    8011047  "BFD_RELOC_ARM_MULTI",
    8021048  "BFD_RELOC_ARM_CP_OFF_IMM",
     1049  "BFD_RELOC_ARM_CP_OFF_IMM_S2",
    8031050  "BFD_RELOC_ARM_ADR_IMM",
    8041051  "BFD_RELOC_ARM_LDR_IMM",
     
    8451092  "BFD_RELOC_SH_RELATIVE",
    8461093  "BFD_RELOC_SH_GOTPC",
     1094  "BFD_RELOC_SH_GOT_LOW16",
     1095  "BFD_RELOC_SH_GOT_MEDLOW16",
     1096  "BFD_RELOC_SH_GOT_MEDHI16",
     1097  "BFD_RELOC_SH_GOT_HI16",
     1098  "BFD_RELOC_SH_GOTPLT_LOW16",
     1099  "BFD_RELOC_SH_GOTPLT_MEDLOW16",
     1100  "BFD_RELOC_SH_GOTPLT_MEDHI16",
     1101  "BFD_RELOC_SH_GOTPLT_HI16",
     1102  "BFD_RELOC_SH_PLT_LOW16",
     1103  "BFD_RELOC_SH_PLT_MEDLOW16",
     1104  "BFD_RELOC_SH_PLT_MEDHI16",
     1105  "BFD_RELOC_SH_PLT_HI16",
     1106  "BFD_RELOC_SH_GOTOFF_LOW16",
     1107  "BFD_RELOC_SH_GOTOFF_MEDLOW16",
     1108  "BFD_RELOC_SH_GOTOFF_MEDHI16",
     1109  "BFD_RELOC_SH_GOTOFF_HI16",
     1110  "BFD_RELOC_SH_GOTPC_LOW16",
     1111  "BFD_RELOC_SH_GOTPC_MEDLOW16",
     1112  "BFD_RELOC_SH_GOTPC_MEDHI16",
     1113  "BFD_RELOC_SH_GOTPC_HI16",
     1114  "BFD_RELOC_SH_COPY64",
     1115  "BFD_RELOC_SH_GLOB_DAT64",
     1116  "BFD_RELOC_SH_JMP_SLOT64",
     1117  "BFD_RELOC_SH_RELATIVE64",
     1118  "BFD_RELOC_SH_GOT10BY4",
     1119  "BFD_RELOC_SH_GOT10BY8",
     1120  "BFD_RELOC_SH_GOTPLT10BY4",
     1121  "BFD_RELOC_SH_GOTPLT10BY8",
     1122  "BFD_RELOC_SH_GOTPLT32",
     1123  "BFD_RELOC_SH_SHMEDIA_CODE",
     1124  "BFD_RELOC_SH_IMMU5",
     1125  "BFD_RELOC_SH_IMMS6",
     1126  "BFD_RELOC_SH_IMMS6BY32",
     1127  "BFD_RELOC_SH_IMMU6",
     1128  "BFD_RELOC_SH_IMMS10",
     1129  "BFD_RELOC_SH_IMMS10BY2",
     1130  "BFD_RELOC_SH_IMMS10BY4",
     1131  "BFD_RELOC_SH_IMMS10BY8",
     1132  "BFD_RELOC_SH_IMMS16",
     1133  "BFD_RELOC_SH_IMMU16",
     1134  "BFD_RELOC_SH_IMM_LOW16",
     1135  "BFD_RELOC_SH_IMM_LOW16_PCREL",
     1136  "BFD_RELOC_SH_IMM_MEDLOW16",
     1137  "BFD_RELOC_SH_IMM_MEDLOW16_PCREL",
     1138  "BFD_RELOC_SH_IMM_MEDHI16",
     1139  "BFD_RELOC_SH_IMM_MEDHI16_PCREL",
     1140  "BFD_RELOC_SH_IMM_HI16",
     1141  "BFD_RELOC_SH_IMM_HI16_PCREL",
     1142  "BFD_RELOC_SH_PT_16",
     1143  "BFD_RELOC_SH_TLS_GD_32",
     1144  "BFD_RELOC_SH_TLS_LD_32",
     1145  "BFD_RELOC_SH_TLS_LDO_32",
     1146  "BFD_RELOC_SH_TLS_IE_32",
     1147  "BFD_RELOC_SH_TLS_LE_32",
     1148  "BFD_RELOC_SH_TLS_DTPMOD32",
     1149  "BFD_RELOC_SH_TLS_DTPOFF32",
     1150  "BFD_RELOC_SH_TLS_TPOFF32",
    8471151  "BFD_RELOC_THUMB_PCREL_BRANCH9",
    8481152  "BFD_RELOC_THUMB_PCREL_BRANCH12",
     
    8651169  "BFD_RELOC_D30V_32",
    8661170  "BFD_RELOC_D30V_32_PCREL",
     1171  "BFD_RELOC_DLX_HI16_S",
     1172  "BFD_RELOC_DLX_LO16",
     1173  "BFD_RELOC_DLX_JMP26",
    8671174  "BFD_RELOC_M32R_24",
    8681175  "BFD_RELOC_M32R_10_PCREL",
     
    8891196  "BFD_RELOC_V850_CALLT_6_7_OFFSET",
    8901197  "BFD_RELOC_V850_CALLT_16_16_OFFSET",
    891 
     1198  "BFD_RELOC_V850_LONGCALL",
     1199  "BFD_RELOC_V850_LONGJUMP",
     1200  "BFD_RELOC_V850_ALIGN",
    8921201  "BFD_RELOC_MN10300_32_PCREL",
    8931202  "BFD_RELOC_MN10300_16_PCREL",
     
    9121221  "BFD_RELOC_MCORE_PCREL_JSR_IMM11BY2",
    9131222  "BFD_RELOC_MCORE_RVA",
     1223  "BFD_RELOC_MMIX_GETA",
     1224  "BFD_RELOC_MMIX_GETA_1",
     1225  "BFD_RELOC_MMIX_GETA_2",
     1226  "BFD_RELOC_MMIX_GETA_3",
     1227  "BFD_RELOC_MMIX_CBRANCH",
     1228  "BFD_RELOC_MMIX_CBRANCH_J",
     1229  "BFD_RELOC_MMIX_CBRANCH_1",
     1230  "BFD_RELOC_MMIX_CBRANCH_2",
     1231  "BFD_RELOC_MMIX_CBRANCH_3",
     1232  "BFD_RELOC_MMIX_PUSHJ",
     1233  "BFD_RELOC_MMIX_PUSHJ_1",
     1234  "BFD_RELOC_MMIX_PUSHJ_2",
     1235  "BFD_RELOC_MMIX_PUSHJ_3",
     1236  "BFD_RELOC_MMIX_JMP",
     1237  "BFD_RELOC_MMIX_JMP_1",
     1238  "BFD_RELOC_MMIX_JMP_2",
     1239  "BFD_RELOC_MMIX_JMP_3",
     1240  "BFD_RELOC_MMIX_ADDR19",
     1241  "BFD_RELOC_MMIX_ADDR27",
     1242  "BFD_RELOC_MMIX_REG_OR_BYTE",
     1243  "BFD_RELOC_MMIX_REG",
     1244  "BFD_RELOC_MMIX_BASE_PLUS_OFFSET",
     1245  "BFD_RELOC_MMIX_LOCAL",
    9141246  "BFD_RELOC_AVR_7_PCREL",
    9151247  "BFD_RELOC_AVR_13_PCREL",
     
    9281260  "BFD_RELOC_AVR_HH8_LDI_PM_NEG",
    9291261  "BFD_RELOC_AVR_CALL",
     1262  "BFD_RELOC_390_12",
     1263  "BFD_RELOC_390_GOT12",
     1264  "BFD_RELOC_390_PLT32",
     1265  "BFD_RELOC_390_COPY",
     1266  "BFD_RELOC_390_GLOB_DAT",
     1267  "BFD_RELOC_390_JMP_SLOT",
     1268  "BFD_RELOC_390_RELATIVE",
     1269  "BFD_RELOC_390_GOTPC",
     1270  "BFD_RELOC_390_GOT16",
     1271  "BFD_RELOC_390_PC16DBL",
     1272  "BFD_RELOC_390_PLT16DBL",
     1273  "BFD_RELOC_390_PC32DBL",
     1274  "BFD_RELOC_390_PLT32DBL",
     1275  "BFD_RELOC_390_GOTPCDBL",
     1276  "BFD_RELOC_390_GOT64",
     1277  "BFD_RELOC_390_PLT64",
     1278  "BFD_RELOC_390_GOTENT",
     1279  "BFD_RELOC_390_GOTOFF64",
     1280  "BFD_RELOC_390_GOTPLT12",
     1281  "BFD_RELOC_390_GOTPLT16",
     1282  "BFD_RELOC_390_GOTPLT32",
     1283  "BFD_RELOC_390_GOTPLT64",
     1284  "BFD_RELOC_390_GOTPLTENT",
     1285  "BFD_RELOC_390_PLTOFF16",
     1286  "BFD_RELOC_390_PLTOFF32",
     1287  "BFD_RELOC_390_PLTOFF64",
     1288  "BFD_RELOC_390_TLS_LOAD",
     1289  "BFD_RELOC_390_TLS_GDCALL",
     1290  "BFD_RELOC_390_TLS_LDCALL",
     1291  "BFD_RELOC_390_TLS_GD32",
     1292  "BFD_RELOC_390_TLS_GD64",
     1293  "BFD_RELOC_390_TLS_GOTIE12",
     1294  "BFD_RELOC_390_TLS_GOTIE32",
     1295  "BFD_RELOC_390_TLS_GOTIE64",
     1296  "BFD_RELOC_390_TLS_LDM32",
     1297  "BFD_RELOC_390_TLS_LDM64",
     1298  "BFD_RELOC_390_TLS_IE32",
     1299  "BFD_RELOC_390_TLS_IE64",
     1300  "BFD_RELOC_390_TLS_IEENT",
     1301  "BFD_RELOC_390_TLS_LE32",
     1302  "BFD_RELOC_390_TLS_LE64",
     1303  "BFD_RELOC_390_TLS_LDO32",
     1304  "BFD_RELOC_390_TLS_LDO64",
     1305  "BFD_RELOC_390_TLS_DTPMOD",
     1306  "BFD_RELOC_390_TLS_DTPOFF",
     1307  "BFD_RELOC_390_TLS_TPOFF",
     1308  "BFD_RELOC_IP2K_FR9",
     1309  "BFD_RELOC_IP2K_BANK",
     1310  "BFD_RELOC_IP2K_ADDR16CJP",
     1311  "BFD_RELOC_IP2K_PAGE3",
     1312  "BFD_RELOC_IP2K_LO8DATA",
     1313  "BFD_RELOC_IP2K_HI8DATA",
     1314  "BFD_RELOC_IP2K_EX8DATA",
     1315  "BFD_RELOC_IP2K_LO8INSN",
     1316  "BFD_RELOC_IP2K_HI8INSN",
     1317  "BFD_RELOC_IP2K_PC_SKIP",
     1318  "BFD_RELOC_IP2K_TEXT",
     1319  "BFD_RELOC_IP2K_FR_OFFSET",
     1320  "BFD_RELOC_VPE4KMATH_DATA",
     1321  "BFD_RELOC_VPE4KMATH_INSN",
    9301322  "BFD_RELOC_VTABLE_INHERIT",
    9311323  "BFD_RELOC_VTABLE_ENTRY",
     
    9671359  "BFD_RELOC_IA64_LTOFF_FPTR22",
    9681360  "BFD_RELOC_IA64_LTOFF_FPTR64I",
     1361  "BFD_RELOC_IA64_LTOFF_FPTR32MSB",
     1362  "BFD_RELOC_IA64_LTOFF_FPTR32LSB",
    9691363  "BFD_RELOC_IA64_LTOFF_FPTR64MSB",
    9701364  "BFD_RELOC_IA64_LTOFF_FPTR64LSB",
     
    9881382  "BFD_RELOC_IA64_IPLTLSB",
    9891383  "BFD_RELOC_IA64_COPY",
     1384  "BFD_RELOC_IA64_LTOFF22X",
     1385  "BFD_RELOC_IA64_LDXMOV",
     1386  "BFD_RELOC_IA64_TPREL14",
    9901387  "BFD_RELOC_IA64_TPREL22",
     1388  "BFD_RELOC_IA64_TPREL64I",
    9911389  "BFD_RELOC_IA64_TPREL64MSB",
    9921390  "BFD_RELOC_IA64_TPREL64LSB",
    993   "BFD_RELOC_IA64_LTOFF_TP22",
    994   "BFD_RELOC_IA64_LTOFF22X",
    995   "BFD_RELOC_IA64_LDXMOV",
     1391  "BFD_RELOC_IA64_LTOFF_TPREL22",
     1392  "BFD_RELOC_IA64_DTPMOD64MSB",
     1393  "BFD_RELOC_IA64_DTPMOD64LSB",
     1394  "BFD_RELOC_IA64_LTOFF_DTPMOD22",
     1395  "BFD_RELOC_IA64_DTPREL14",
     1396  "BFD_RELOC_IA64_DTPREL22",
     1397  "BFD_RELOC_IA64_DTPREL64I",
     1398  "BFD_RELOC_IA64_DTPREL32MSB",
     1399  "BFD_RELOC_IA64_DTPREL32LSB",
     1400  "BFD_RELOC_IA64_DTPREL64MSB",
     1401  "BFD_RELOC_IA64_DTPREL64LSB",
     1402  "BFD_RELOC_IA64_LTOFF_DTPREL22",
    9961403  "BFD_RELOC_M68HC11_HI8",
    9971404  "BFD_RELOC_M68HC11_LO8",
    9981405  "BFD_RELOC_M68HC11_3B",
     1406  "BFD_RELOC_M68HC11_RL_JUMP",
     1407  "BFD_RELOC_M68HC11_RL_GROUP",
     1408  "BFD_RELOC_M68HC11_LO16",
     1409  "BFD_RELOC_M68HC11_PAGE",
     1410  "BFD_RELOC_M68HC11_24",
    9991411  "BFD_RELOC_CRIS_BDISP8",
    10001412  "BFD_RELOC_CRIS_UNSIGNED_5",
     
    10021414  "BFD_RELOC_CRIS_UNSIGNED_6",
    10031415  "BFD_RELOC_CRIS_UNSIGNED_4",
     1416  "BFD_RELOC_CRIS_COPY",
     1417  "BFD_RELOC_CRIS_GLOB_DAT",
     1418  "BFD_RELOC_CRIS_JUMP_SLOT",
     1419  "BFD_RELOC_CRIS_RELATIVE",
     1420  "BFD_RELOC_CRIS_32_GOT",
     1421  "BFD_RELOC_CRIS_16_GOT",
     1422  "BFD_RELOC_CRIS_32_GOTPLT",
     1423  "BFD_RELOC_CRIS_16_GOTPLT",
     1424  "BFD_RELOC_CRIS_32_GOTREL",
     1425  "BFD_RELOC_CRIS_32_PLT_GOTREL",
     1426  "BFD_RELOC_CRIS_32_PLT_PCREL",
    10041427  "BFD_RELOC_860_COPY",
    10051428  "BFD_RELOC_860_GLOB_DAT",
     
    10341457  "BFD_RELOC_860_HIGOT",
    10351458  "BFD_RELOC_860_HIGOTOFF",
     1459  "BFD_RELOC_OPENRISC_ABS_26",
     1460  "BFD_RELOC_OPENRISC_REL_26",
     1461  "BFD_RELOC_H8_DIR16A8",
     1462  "BFD_RELOC_H8_DIR16R8",
     1463  "BFD_RELOC_H8_DIR24A8",
     1464  "BFD_RELOC_H8_DIR24R8",
     1465  "BFD_RELOC_H8_DIR32A16",
     1466  "BFD_RELOC_XSTORMY16_REL_12",
     1467  "BFD_RELOC_XSTORMY16_12",
     1468  "BFD_RELOC_XSTORMY16_24",
     1469  "BFD_RELOC_XSTORMY16_FPTR16",
     1470  "BFD_RELOC_VAX_GLOB_DAT",
     1471  "BFD_RELOC_VAX_JMP_SLOT",
     1472  "BFD_RELOC_VAX_RELATIVE",
     1473  "BFD_RELOC_MSP430_10_PCREL",
     1474  "BFD_RELOC_MSP430_16_PCREL",
     1475  "BFD_RELOC_MSP430_16",
     1476  "BFD_RELOC_MSP430_16_PCREL_BYTE",
     1477  "BFD_RELOC_MSP430_16_BYTE",
     1478  "BFD_RELOC_IQ2000_OFFSET_16",
     1479  "BFD_RELOC_IQ2000_OFFSET_21",
     1480  "BFD_RELOC_IQ2000_UHI16",
     1481  "BFD_RELOC_XTENSA_RTLD",
     1482  "BFD_RELOC_XTENSA_GLOB_DAT",
     1483  "BFD_RELOC_XTENSA_JMP_SLOT",
     1484  "BFD_RELOC_XTENSA_RELATIVE",
     1485  "BFD_RELOC_XTENSA_PLT",
     1486  "BFD_RELOC_XTENSA_OP0",
     1487  "BFD_RELOC_XTENSA_OP1",
     1488  "BFD_RELOC_XTENSA_OP2",
     1489  "BFD_RELOC_XTENSA_ASM_EXPAND",
     1490  "BFD_RELOC_XTENSA_ASM_SIMPLIFY",
    10361491 "@@overflow: BFD_RELOC_UNUSED@@",
    10371492};
     
    10411496bfd_default_reloc_type_lookup PARAMS ((bfd *abfd, bfd_reloc_code_real_type  code));
    10421497
    1043 boolean
     1498bfd_boolean
    10441499bfd_generic_relax_section PARAMS ((bfd *abfd,
    10451500    asection *section,
    10461501    struct bfd_link_info *,
    1047     boolean *));
    1048 
    1049 boolean
     1502    bfd_boolean *));
     1503
     1504bfd_boolean
    10501505bfd_generic_gc_sections PARAMS ((bfd *, struct bfd_link_info *));
     1506
     1507bfd_boolean
     1508bfd_generic_merge_sections PARAMS ((bfd *, struct bfd_link_info *));
    10511509
    10521510bfd_byte *
     
    10551513    struct bfd_link_order *link_order,
    10561514    bfd_byte *data,
    1057     boolean relocateable,
     1515    bfd_boolean relocateable,
    10581516    asymbol **symbols));
    10591517
     1518/* Extracted from archures.c.  */
    10601519extern const bfd_arch_info_type bfd_default_arch_struct;
    1061 boolean
     1520bfd_boolean
    10621521bfd_default_set_arch_mach PARAMS ((bfd *abfd,
    10631522    enum bfd_architecture arch,
     
    10681527    const bfd_arch_info_type *b));
    10691528
    1070 boolean
     1529bfd_boolean
    10711530bfd_default_scan PARAMS ((const struct bfd_arch_info *info, const char *string));
    10721531
     1532/* Extracted from elf.c.  */
    10731533struct elf_internal_shdr *
    10741534bfd_elf_find_section PARAMS ((bfd *abfd, char *name));
Note: See TracChangeset for help on using the changeset viewer.