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/libecoff.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    11/* BFD ECOFF object file private structure.
    2    Copyright 1993, 1994, 1995, 1996, 1999 Free Software Foundation, Inc.
     2   Copyright 1993, 1994, 1995, 1996, 1999, 2001, 2002
     3   Free Software Foundation, Inc.
    34   Written by Ian Lance Taylor, Cygnus Support.
    45
     
    4445     executable file.  E.g., 0x1000.  */
    4546  bfd_vma round;
    46   /* True if the .rdata section is part of the text segment, as on the
    47      Alpha.  False if .rdata is part of the data segment, as on the
     47  /* TRUE if the .rdata section is part of the text segment, as on the
     48     Alpha.  FALSE if .rdata is part of the data segment, as on the
    4849     MIPS.  */
    49   boolean rdata_in_text;
     50  bfd_boolean rdata_in_text;
    5051  /* Bitsize of constructor entries.  */
    5152  unsigned int constructor_bitsize;
     
    6061  void (*swap_reloc_out) PARAMS ((bfd *, const struct internal_reloc *, PTR));
    6162  /* Backend reloc tweaking.  */
    62   void (*adjust_reloc_in) PARAMS ((bfd *, const struct internal_reloc *,
    63                                   arelent *));
    64   void (*adjust_reloc_out) PARAMS ((bfd *, const arelent *,
    65                                     struct internal_reloc *));
     63  void (*adjust_reloc_in)
     64    PARAMS ((bfd *, const struct internal_reloc *, arelent *));
     65  void (*adjust_reloc_out)
     66    PARAMS ((bfd *, const arelent *, struct internal_reloc *));
    6667  /* Relocate section contents while linking.  */
    67   boolean (*relocate_section) PARAMS ((bfd *output_bfd, struct bfd_link_info *,
    68                                        bfd *input_bfd, asection *input_section,
    69                                       bfd_byte *contents,
    70                                        PTR external_relocs));
     68  bfd_boolean (*relocate_section)
     69    PARAMS ((bfd *output_bfd, struct bfd_link_info *, bfd *input_bfd,
     70             asection *input_section, bfd_byte *contents,
     71             PTR external_relocs));
    7172  /* Do final adjustments to filehdr and aouthdr.  */
    72   boolean (*adjust_headers) PARAMS ((bfd *, struct internal_filehdr *,
    73                                     struct internal_aouthdr *));
     73  bfd_boolean (*adjust_headers)
     74    PARAMS ((bfd *, struct internal_filehdr *, struct internal_aouthdr *));
    7475  /* Read an element from an archive at a given file position.  This
    7576     is needed because OSF/1 3.2 uses a weird archive format.  */
     
    128129  asection **symndx_to_section;
    129130
    130   /* True if this BFD was written by the backend linker.  */
    131   boolean linker;
    132 
    133   /* True if a warning that multiple global pointer values are
     131  /* TRUE if this BFD was written by the backend linker.  */
     132  bfd_boolean linker;
     133
     134  /* TRUE if a warning that multiple global pointer values are
    134135     needed in the output binary was issued already.  */
    135   boolean issued_multiple_gp_warning;
     136  bfd_boolean issued_multiple_gp_warning;
    136137
    137138  /* Used by find_nearest_line entry point.  The structure could be
     
    143144     particular ECOFF file.  This is not valid until
    144145     ecoff_compute_section_file_positions is called.  */
    145   boolean rdata_in_text;
     146  bfd_boolean rdata_in_text;
    146147
    147148} ecoff_data_type;
     
    157158  FDR *fdr;
    158159
    159   /* true if this is a local symbol rather than an external one.  */
    160   boolean local;
     160  /* TRUE if this is a local symbol rather than an external one.  */
     161  bfd_boolean local;
    161162
    162163  /* A pointer to the unswapped hidden information for this symbol.
     
    166167} ecoff_symbol_type;
    167168
    168 /* We take the address of the first element of a asymbol to ensure that the
     169/* We take the address of the first element of an asymbol to ensure that the
    169170   macro is only ever applied to an asymbol.  */
    170171#define ecoffsymbol(asymbol) ((ecoff_symbol_type *) (&((asymbol)->the_bfd)))
     
    249250
    250251/* Make an ECOFF object.  */
    251 extern boolean _bfd_ecoff_mkobject PARAMS ((bfd *));
     252extern bfd_boolean _bfd_ecoff_mkobject PARAMS ((bfd *));
    252253
    253254/* Read in the ECOFF symbolic debugging information.  */
    254 extern boolean _bfd_ecoff_slurp_symbolic_info
     255extern bfd_boolean _bfd_ecoff_slurp_symbolic_info
    255256  PARAMS ((bfd *, asection *, struct ecoff_debug_info *));
    256257
    257258/* Generic ECOFF BFD backend vectors.  */
    258259
    259 extern boolean _bfd_ecoff_write_object_contents PARAMS ((bfd *abfd));
     260extern bfd_boolean _bfd_ecoff_write_object_contents PARAMS ((bfd *abfd));
    260261extern const bfd_target *_bfd_ecoff_archive_p PARAMS ((bfd *abfd));
    261262
    262263#define _bfd_ecoff_close_and_cleanup _bfd_generic_close_and_cleanup
    263264#define _bfd_ecoff_bfd_free_cached_info _bfd_generic_bfd_free_cached_info
    264 extern boolean _bfd_ecoff_new_section_hook
     265extern bfd_boolean _bfd_ecoff_new_section_hook
    265266  PARAMS ((bfd *, asection *));
    266 extern boolean _bfd_ecoff_get_section_contents
     267extern bfd_boolean _bfd_ecoff_get_section_contents
    267268  PARAMS ((bfd *, asection *, PTR location, file_ptr, bfd_size_type));
    268269
    269270#define _bfd_ecoff_bfd_link_split_section _bfd_generic_link_split_section
    270271
    271 extern boolean _bfd_ecoff_bfd_copy_private_bfd_data PARAMS ((bfd *, bfd *));
     272extern bfd_boolean _bfd_ecoff_bfd_copy_private_bfd_data
     273  PARAMS ((bfd *, bfd *));
    272274#define _bfd_ecoff_bfd_copy_private_section_data \
    273275  _bfd_generic_bfd_copy_private_section_data
     
    283285
    284286#define _bfd_ecoff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags
    285 extern boolean _bfd_ecoff_slurp_armap PARAMS ((bfd *abfd));
     287extern bfd_boolean _bfd_ecoff_slurp_armap PARAMS ((bfd *abfd));
    286288#define _bfd_ecoff_slurp_extended_name_table _bfd_slurp_extended_name_table
    287289#define _bfd_ecoff_construct_extended_name_table \
    288290  _bfd_archive_bsd_construct_extended_name_table
    289291#define _bfd_ecoff_truncate_arname bfd_dont_truncate_arname
    290 extern boolean _bfd_ecoff_write_armap
     292extern bfd_boolean _bfd_ecoff_write_armap
    291293  PARAMS ((bfd *, unsigned int, struct orl *, unsigned int, int));
    292294#define _bfd_ecoff_read_ar_hdr _bfd_generic_read_ar_hdr
     
    304306extern void _bfd_ecoff_get_symbol_info
    305307  PARAMS ((bfd *, asymbol *, symbol_info *));
    306 extern boolean _bfd_ecoff_bfd_is_local_label_name
     308extern bfd_boolean _bfd_ecoff_bfd_is_local_label_name
    307309  PARAMS ((bfd *, const char *));
    308310#define _bfd_ecoff_get_lineno _bfd_nosymbols_get_lineno
    309 extern boolean _bfd_ecoff_find_nearest_line
     311extern bfd_boolean _bfd_ecoff_find_nearest_line
    310312  PARAMS ((bfd *, asection *, asymbol **, bfd_vma offset,
    311313           const char **filename_ptr, const char **fnname_ptr,
     
    320322/* ecoff_bfd_reloc_type_lookup defined by backend. */
    321323
    322 extern boolean _bfd_ecoff_set_arch_mach
    323   PARAMS ((bfd *, enum bfd_architecture, unsigned long machine));
    324 extern boolean _bfd_ecoff_set_section_contents
     324extern bfd_boolean _bfd_ecoff_set_arch_mach
     325  PARAMS ((bfd *, enum bfd_architecture, unsigned long));
     326extern bfd_boolean _bfd_ecoff_set_section_contents
    325327  PARAMS ((bfd *, asection *, PTR location, file_ptr, bfd_size_type));
    326328
    327 extern int _bfd_ecoff_sizeof_headers PARAMS ((bfd *abfd, boolean reloc));
     329extern int _bfd_ecoff_sizeof_headers PARAMS ((bfd *abfd, bfd_boolean reloc));
    328330/* ecoff_bfd_get_relocated_section_contents defined by backend.  */
    329331/* ecoff_bfd_relax_section defined by backend.  */
    330332extern struct bfd_link_hash_table *_bfd_ecoff_bfd_link_hash_table_create
    331333  PARAMS ((bfd *));
    332 extern boolean _bfd_ecoff_bfd_link_add_symbols
     334#define _bfd_ecoff_bfd_link_hash_table_free _bfd_generic_link_hash_table_free
     335extern bfd_boolean _bfd_ecoff_bfd_link_add_symbols
    333336  PARAMS ((bfd *, struct bfd_link_info *));
    334 extern boolean _bfd_ecoff_bfd_final_link
     337#define _bfd_ecoff_bfd_link_just_syms _bfd_generic_link_just_syms
     338extern bfd_boolean _bfd_ecoff_bfd_final_link
    335339  PARAMS ((bfd *, struct bfd_link_info *));
    336340
     
    340344#define _bfd_ecoff_set_alignment_hook \
    341345  ((void (*) PARAMS ((bfd *, asection *, PTR))) bfd_void)
    342 extern boolean _bfd_ecoff_set_arch_mach_hook PARAMS ((bfd *abfd, PTR filehdr));
    343 extern flagword _bfd_ecoff_styp_to_sec_flags
    344   PARAMS ((bfd *abfd, PTR hdr, const char *name, asection *section));
    345 extern boolean _bfd_ecoff_slurp_symbol_table PARAMS ((bfd *abfd));
     346extern bfd_boolean _bfd_ecoff_set_arch_mach_hook
     347  PARAMS ((bfd *abfd, PTR filehdr));
     348extern bfd_boolean _bfd_ecoff_styp_to_sec_flags
     349  PARAMS ((bfd *, PTR, const char *, asection *, flagword *));
     350extern bfd_boolean _bfd_ecoff_slurp_symbol_table PARAMS ((bfd *abfd));
    346351
    347352/* ECOFF auxiliary information swapping routines.  These are the same
Note: See TracChangeset for help on using the changeset viewer.