Changeset 609 for branches/GNU/src/binutils/bfd/libecoff.h
- Timestamp:
- Aug 16, 2003, 6:59:22 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/binutils/bfd/libecoff.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r608 r609 1 1 /* 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. 3 4 Written by Ian Lance Taylor, Cygnus Support. 4 5 … … 44 45 executable file. E.g., 0x1000. */ 45 46 bfd_vma round; 46 /* T rueif the .rdata section is part of the text segment, as on the47 Alpha. F alseif .rdata is part of the data segment, as on the47 /* 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 48 49 MIPS. */ 49 b oolean rdata_in_text;50 bfd_boolean rdata_in_text; 50 51 /* Bitsize of constructor entries. */ 51 52 unsigned int constructor_bitsize; … … 60 61 void (*swap_reloc_out) PARAMS ((bfd *, const struct internal_reloc *, PTR)); 61 62 /* Backend reloc tweaking. */ 62 void (*adjust_reloc_in) PARAMS ((bfd *, const struct internal_reloc *,63 64 void (*adjust_reloc_out) PARAMS ((bfd *, const arelent *,65 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 *)); 66 67 /* Relocate section contents while linking. */ 67 b oolean (*relocate_section) PARAMS ((bfd *output_bfd, struct bfd_link_info *,68 bfd *input_bfd, asection *input_section,69 70 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)); 71 72 /* Do final adjustments to filehdr and aouthdr. */ 72 b oolean (*adjust_headers) PARAMS ((bfd *, struct internal_filehdr *,73 73 bfd_boolean (*adjust_headers) 74 PARAMS ((bfd *, struct internal_filehdr *, struct internal_aouthdr *)); 74 75 /* Read an element from an archive at a given file position. This 75 76 is needed because OSF/1 3.2 uses a weird archive format. */ … … 128 129 asection **symndx_to_section; 129 130 130 /* T rueif this BFD was written by the backend linker. */131 b oolean linker;132 133 /* T rueif a warning that multiple global pointer values are131 /* 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 134 135 needed in the output binary was issued already. */ 135 b oolean issued_multiple_gp_warning;136 bfd_boolean issued_multiple_gp_warning; 136 137 137 138 /* Used by find_nearest_line entry point. The structure could be … … 143 144 particular ECOFF file. This is not valid until 144 145 ecoff_compute_section_file_positions is called. */ 145 b oolean rdata_in_text;146 bfd_boolean rdata_in_text; 146 147 147 148 } ecoff_data_type; … … 157 158 FDR *fdr; 158 159 159 /* trueif this is a local symbol rather than an external one. */160 b oolean local;160 /* TRUE if this is a local symbol rather than an external one. */ 161 bfd_boolean local; 161 162 162 163 /* A pointer to the unswapped hidden information for this symbol. … … 166 167 } ecoff_symbol_type; 167 168 168 /* We take the address of the first element of a asymbol to ensure that the169 /* We take the address of the first element of an asymbol to ensure that the 169 170 macro is only ever applied to an asymbol. */ 170 171 #define ecoffsymbol(asymbol) ((ecoff_symbol_type *) (&((asymbol)->the_bfd))) … … 249 250 250 251 /* Make an ECOFF object. */ 251 extern b oolean _bfd_ecoff_mkobject PARAMS ((bfd *));252 extern bfd_boolean _bfd_ecoff_mkobject PARAMS ((bfd *)); 252 253 253 254 /* Read in the ECOFF symbolic debugging information. */ 254 extern b oolean _bfd_ecoff_slurp_symbolic_info255 extern bfd_boolean _bfd_ecoff_slurp_symbolic_info 255 256 PARAMS ((bfd *, asection *, struct ecoff_debug_info *)); 256 257 257 258 /* Generic ECOFF BFD backend vectors. */ 258 259 259 extern b oolean _bfd_ecoff_write_object_contents PARAMS ((bfd *abfd));260 extern bfd_boolean _bfd_ecoff_write_object_contents PARAMS ((bfd *abfd)); 260 261 extern const bfd_target *_bfd_ecoff_archive_p PARAMS ((bfd *abfd)); 261 262 262 263 #define _bfd_ecoff_close_and_cleanup _bfd_generic_close_and_cleanup 263 264 #define _bfd_ecoff_bfd_free_cached_info _bfd_generic_bfd_free_cached_info 264 extern b oolean _bfd_ecoff_new_section_hook265 extern bfd_boolean _bfd_ecoff_new_section_hook 265 266 PARAMS ((bfd *, asection *)); 266 extern b oolean _bfd_ecoff_get_section_contents267 extern bfd_boolean _bfd_ecoff_get_section_contents 267 268 PARAMS ((bfd *, asection *, PTR location, file_ptr, bfd_size_type)); 268 269 269 270 #define _bfd_ecoff_bfd_link_split_section _bfd_generic_link_split_section 270 271 271 extern boolean _bfd_ecoff_bfd_copy_private_bfd_data PARAMS ((bfd *, bfd *)); 272 extern bfd_boolean _bfd_ecoff_bfd_copy_private_bfd_data 273 PARAMS ((bfd *, bfd *)); 272 274 #define _bfd_ecoff_bfd_copy_private_section_data \ 273 275 _bfd_generic_bfd_copy_private_section_data … … 283 285 284 286 #define _bfd_ecoff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags 285 extern b oolean _bfd_ecoff_slurp_armap PARAMS ((bfd *abfd));287 extern bfd_boolean _bfd_ecoff_slurp_armap PARAMS ((bfd *abfd)); 286 288 #define _bfd_ecoff_slurp_extended_name_table _bfd_slurp_extended_name_table 287 289 #define _bfd_ecoff_construct_extended_name_table \ 288 290 _bfd_archive_bsd_construct_extended_name_table 289 291 #define _bfd_ecoff_truncate_arname bfd_dont_truncate_arname 290 extern b oolean _bfd_ecoff_write_armap292 extern bfd_boolean _bfd_ecoff_write_armap 291 293 PARAMS ((bfd *, unsigned int, struct orl *, unsigned int, int)); 292 294 #define _bfd_ecoff_read_ar_hdr _bfd_generic_read_ar_hdr … … 304 306 extern void _bfd_ecoff_get_symbol_info 305 307 PARAMS ((bfd *, asymbol *, symbol_info *)); 306 extern b oolean _bfd_ecoff_bfd_is_local_label_name308 extern bfd_boolean _bfd_ecoff_bfd_is_local_label_name 307 309 PARAMS ((bfd *, const char *)); 308 310 #define _bfd_ecoff_get_lineno _bfd_nosymbols_get_lineno 309 extern b oolean _bfd_ecoff_find_nearest_line311 extern bfd_boolean _bfd_ecoff_find_nearest_line 310 312 PARAMS ((bfd *, asection *, asymbol **, bfd_vma offset, 311 313 const char **filename_ptr, const char **fnname_ptr, … … 320 322 /* ecoff_bfd_reloc_type_lookup defined by backend. */ 321 323 322 extern b oolean _bfd_ecoff_set_arch_mach323 PARAMS ((bfd *, enum bfd_architecture, unsigned long machine));324 extern b oolean _bfd_ecoff_set_section_contents324 extern bfd_boolean _bfd_ecoff_set_arch_mach 325 PARAMS ((bfd *, enum bfd_architecture, unsigned long)); 326 extern bfd_boolean _bfd_ecoff_set_section_contents 325 327 PARAMS ((bfd *, asection *, PTR location, file_ptr, bfd_size_type)); 326 328 327 extern int _bfd_ecoff_sizeof_headers PARAMS ((bfd *abfd, b oolean reloc));329 extern int _bfd_ecoff_sizeof_headers PARAMS ((bfd *abfd, bfd_boolean reloc)); 328 330 /* ecoff_bfd_get_relocated_section_contents defined by backend. */ 329 331 /* ecoff_bfd_relax_section defined by backend. */ 330 332 extern struct bfd_link_hash_table *_bfd_ecoff_bfd_link_hash_table_create 331 333 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 335 extern bfd_boolean _bfd_ecoff_bfd_link_add_symbols 333 336 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 338 extern bfd_boolean _bfd_ecoff_bfd_final_link 335 339 PARAMS ((bfd *, struct bfd_link_info *)); 336 340 … … 340 344 #define _bfd_ecoff_set_alignment_hook \ 341 345 ((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)); 346 extern bfd_boolean _bfd_ecoff_set_arch_mach_hook 347 PARAMS ((bfd *abfd, PTR filehdr)); 348 extern bfd_boolean _bfd_ecoff_styp_to_sec_flags 349 PARAMS ((bfd *, PTR, const char *, asection *, flagword *)); 350 extern bfd_boolean _bfd_ecoff_slurp_symbol_table PARAMS ((bfd *abfd)); 346 351 347 352 /* ECOFF auxiliary information swapping routines. These are the same -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.