/* xSYM symbol-file support for BFD.
- Copyright 1999, 2000, 2001, 2002
+ Copyright 1999, 2000, 2001, 2002, 2003
Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
(Note that having a single module copied into two resources is not
possible). Modules map back to their resource via an index into the
resource table and an offset into the resource. Modules also point
- to their source files, both the definition module and implemention
+ to their source files, both the definition module and implementation
module. Because modules can be textually nested within other
modules, a link to the parent (containing) module is required. This
module can textually contain other modules. A link to the contiguous
};
typedef struct bfd_sym_data_struct bfd_sym_data_struct;
-extern boolean bfd_sym_mkobject
+extern bfd_boolean bfd_sym_mkobject
PARAMS ((bfd *));
-extern void bfd_sym_print_symbol
+extern void bfd_sym_print_symbol
PARAMS ((bfd *, PTR, asymbol *, bfd_print_symbol_type));
-extern boolean bfd_sym_valid
+extern bfd_boolean bfd_sym_valid
PARAMS ((bfd *));
-extern unsigned char * bfd_sym_read_name_table
+extern unsigned char * bfd_sym_read_name_table
PARAMS ((bfd *, bfd_sym_header_block *));
-extern void bfd_sym_parse_file_reference_v32
+extern void bfd_sym_parse_file_reference_v32
PARAMS ((unsigned char *, size_t, bfd_sym_file_reference *));
-extern void bfd_sym_parse_disk_table_v32
+extern void bfd_sym_parse_disk_table_v32
PARAMS ((unsigned char *, size_t, bfd_sym_table_info *));
-extern void bfd_sym_parse_header_v32
+extern void bfd_sym_parse_header_v32
PARAMS ((unsigned char *, size_t, bfd_sym_header_block *));
-extern int bfd_sym_read_header_v32
+extern int bfd_sym_read_header_v32
PARAMS ((bfd *, bfd_sym_header_block *));
-extern int bfd_sym_read_header_v34
+extern int bfd_sym_read_header_v34
PARAMS ((bfd *, bfd_sym_header_block *));
-extern int bfd_sym_read_header
+extern int bfd_sym_read_header
PARAMS ((bfd *, bfd_sym_header_block *, bfd_sym_version));
-extern int bfd_sym_read_version
+extern int bfd_sym_read_version
PARAMS ((bfd *, bfd_sym_version *));
-extern void bfd_sym_display_table_summary
+extern void bfd_sym_display_table_summary
PARAMS ((FILE *, bfd_sym_table_info *, const char *));
-extern void bfd_sym_display_header
+extern void bfd_sym_display_header
PARAMS ((FILE *, bfd_sym_header_block *));
-extern void bfd_sym_parse_resources_table_entry_v32
+extern void bfd_sym_parse_resources_table_entry_v32
PARAMS ((unsigned char *, size_t, bfd_sym_resources_table_entry *));
-extern void bfd_sym_parse_modules_table_entry_v33
+extern void bfd_sym_parse_modules_table_entry_v33
PARAMS ((unsigned char *, size_t, bfd_sym_modules_table_entry *));
-extern void bfd_sym_parse_file_references_table_entry_v32
+extern void bfd_sym_parse_file_references_table_entry_v32
PARAMS ((unsigned char *, size_t, bfd_sym_file_references_table_entry *));
-extern void bfd_sym_parse_contained_modules_table_entry_v32
+extern void bfd_sym_parse_contained_modules_table_entry_v32
PARAMS ((unsigned char *, size_t, bfd_sym_contained_modules_table_entry *));
-extern void bfd_sym_parse_contained_variables_table_entry_v32
+extern void bfd_sym_parse_contained_variables_table_entry_v32
PARAMS ((unsigned char *, size_t, bfd_sym_contained_variables_table_entry *));
-extern void bfd_sym_parse_contained_statements_table_entry_v32
+extern void bfd_sym_parse_contained_statements_table_entry_v32
PARAMS ((unsigned char *, size_t, bfd_sym_contained_statements_table_entry *));
-extern void bfd_sym_parse_contained_labels_table_entry_v32
+extern void bfd_sym_parse_contained_labels_table_entry_v32
PARAMS ((unsigned char *, size_t, bfd_sym_contained_labels_table_entry *));
-extern void bfd_sym_parse_type_table_entry_v32
+extern void bfd_sym_parse_type_table_entry_v32
PARAMS ((unsigned char *, size_t, bfd_sym_type_table_entry *));
-extern int bfd_sym_fetch_resources_table_entry
+extern int bfd_sym_fetch_resources_table_entry
PARAMS ((bfd *, bfd_sym_resources_table_entry *, unsigned long));
-extern int bfd_sym_fetch_modules_table_entry
+extern int bfd_sym_fetch_modules_table_entry
PARAMS ((bfd *, bfd_sym_modules_table_entry *, unsigned long));
-extern int bfd_sym_fetch_file_references_table_entry
+extern int bfd_sym_fetch_file_references_table_entry
PARAMS ((bfd *, bfd_sym_file_references_table_entry *, unsigned long));
-extern int bfd_sym_fetch_contained_modules_table_entry
+extern int bfd_sym_fetch_contained_modules_table_entry
PARAMS ((bfd *, bfd_sym_contained_modules_table_entry *, unsigned long));
-extern int bfd_sym_fetch_contained_variables_table_entry
+extern int bfd_sym_fetch_contained_variables_table_entry
PARAMS ((bfd *, bfd_sym_contained_variables_table_entry *, unsigned long));
-extern int bfd_sym_fetch_contained_statements_table_entry
+extern int bfd_sym_fetch_contained_statements_table_entry
PARAMS ((bfd *, bfd_sym_contained_statements_table_entry *, unsigned long));
-extern int bfd_sym_fetch_contained_labels_table_entry
+extern int bfd_sym_fetch_contained_labels_table_entry
PARAMS ((bfd *, bfd_sym_contained_labels_table_entry *, unsigned long));
-extern int bfd_sym_fetch_contained_types_table_entry
+extern int bfd_sym_fetch_contained_types_table_entry
PARAMS ((bfd *, bfd_sym_contained_types_table_entry *, unsigned long));
-extern int bfd_sym_fetch_file_references_index_table_entry
+extern int bfd_sym_fetch_file_references_index_table_entry
PARAMS ((bfd *, bfd_sym_file_references_index_table_entry *, unsigned long));
-extern int bfd_sym_fetch_constant_pool_entry
+extern int bfd_sym_fetch_constant_pool_entry
PARAMS ((bfd *, bfd_sym_constant_pool_entry *, unsigned long));
-extern int bfd_sym_fetch_type_table_entry
+extern int bfd_sym_fetch_type_table_entry
PARAMS ((bfd *, bfd_sym_type_table_entry *, unsigned long));
-extern int bfd_sym_fetch_type_information_table_entry
+extern int bfd_sym_fetch_type_information_table_entry
PARAMS ((bfd *, bfd_sym_type_information_table_entry *, unsigned long));
-extern int bfd_sym_fetch_type_table_information
+extern int bfd_sym_fetch_type_table_information
PARAMS ((bfd *, bfd_sym_type_information_table_entry *, unsigned long));
extern const unsigned char * bfd_sym_symbol_name
PARAMS ((bfd *, unsigned long));
extern const unsigned char * bfd_sym_module_name
PARAMS ((bfd *, unsigned long));
-extern const char * bfd_sym_unparse_storage_kind
+extern const char * bfd_sym_unparse_storage_kind
PARAMS ((enum bfd_sym_storage_kind));
-extern const char * bfd_sym_unparse_storage_class
+extern const char * bfd_sym_unparse_storage_class
PARAMS ((enum bfd_sym_storage_class));
-extern const char * bfd_sym_unparse_module_kind
+extern const char * bfd_sym_unparse_module_kind
PARAMS ((enum bfd_sym_module_kind));
-extern const char * bfd_sym_unparse_symbol_scope
+extern const char * bfd_sym_unparse_symbol_scope
PARAMS ((enum bfd_sym_symbol_scope));
-extern void bfd_sym_print_file_reference
+extern void bfd_sym_print_file_reference
PARAMS ((bfd *, FILE *, bfd_sym_file_reference *));
-extern void bfd_sym_print_resources_table_entry
+extern void bfd_sym_print_resources_table_entry
PARAMS ((bfd *, FILE *, bfd_sym_resources_table_entry *));
-extern void bfd_sym_print_modules_table_entry
+extern void bfd_sym_print_modules_table_entry
PARAMS ((bfd *, FILE *, bfd_sym_modules_table_entry *));
-extern void bfd_sym_print_file_references_table_entry
+extern void bfd_sym_print_file_references_table_entry
PARAMS ((bfd *, FILE *, bfd_sym_file_references_table_entry *));
-extern void bfd_sym_print_contained_modules_table_entry
+extern void bfd_sym_print_contained_modules_table_entry
PARAMS ((bfd *, FILE *, bfd_sym_contained_modules_table_entry *));
-extern void bfd_sym_print_contained_variables_table_entry
+extern void bfd_sym_print_contained_variables_table_entry
PARAMS ((bfd *, FILE *f, bfd_sym_contained_variables_table_entry *));
-extern void bfd_sym_print_contained_statements_table_entry
+extern void bfd_sym_print_contained_statements_table_entry
PARAMS ((bfd *, FILE *, bfd_sym_contained_statements_table_entry *));
-extern void bfd_sym_print_contained_labels_table_entry
+extern void bfd_sym_print_contained_labels_table_entry
PARAMS ((bfd *, FILE *, bfd_sym_contained_labels_table_entry *));
-extern void bfd_sym_print_contained_types_table_entry
+extern void bfd_sym_print_contained_types_table_entry
PARAMS ((bfd *, FILE *, bfd_sym_contained_types_table_entry *));
-extern const char * bfd_sym_type_operator_name
+extern const char * bfd_sym_type_operator_name
PARAMS ((unsigned char));
-extern const char * bfd_sym_type_basic_name
+extern const char * bfd_sym_type_basic_name
PARAMS ((unsigned char));
-extern int bfd_sym_fetch_long
+extern int bfd_sym_fetch_long
PARAMS ((unsigned char *, unsigned long, unsigned long, unsigned long *, long *));
-extern void bfd_sym_print_type_information
+extern void bfd_sym_print_type_information
PARAMS ((bfd *, FILE *, unsigned char *, unsigned long, unsigned long, unsigned long *));
-extern void bfd_sym_print_type_information_table_entry
+extern void bfd_sym_print_type_information_table_entry
PARAMS ((bfd *, FILE *, bfd_sym_type_information_table_entry *));
-extern void bfd_sym_print_file_references_index_table_entry
+extern void bfd_sym_print_file_references_index_table_entry
PARAMS ((bfd *, FILE *, bfd_sym_file_references_index_table_entry *));
-extern void bfd_sym_print_constant_pool_entry
+extern void bfd_sym_print_constant_pool_entry
PARAMS ((bfd *, FILE *, bfd_sym_constant_pool_entry *));
-extern unsigned char * bfd_sym_display_name_table_entry
+extern unsigned char * bfd_sym_display_name_table_entry
PARAMS ((bfd *, FILE *, unsigned char *));
-extern void bfd_sym_display_name_table
+extern void bfd_sym_display_name_table
PARAMS ((bfd *, FILE *));
-extern void bfd_sym_display_resources_table
+extern void bfd_sym_display_resources_table
PARAMS ((bfd *, FILE *));
-extern void bfd_sym_display_modules_table
+extern void bfd_sym_display_modules_table
PARAMS ((bfd *, FILE *));
-extern void bfd_sym_display_file_references_table
+extern void bfd_sym_display_file_references_table
PARAMS ((bfd *, FILE *));
-extern void bfd_sym_display_contained_modules_table
+extern void bfd_sym_display_contained_modules_table
PARAMS ((bfd *, FILE *));
-extern void bfd_sym_display_contained_variables_table
+extern void bfd_sym_display_contained_variables_table
PARAMS ((bfd *, FILE *));
-extern void bfd_sym_display_contained_statements_table
+extern void bfd_sym_display_contained_statements_table
PARAMS ((bfd *, FILE *));
-extern void bfd_sym_display_contained_labels_table
+extern void bfd_sym_display_contained_labels_table
PARAMS ((bfd *, FILE *));
-extern void bfd_sym_display_contained_types_table
+extern void bfd_sym_display_contained_types_table
PARAMS ((bfd *, FILE *));
-extern void bfd_sym_display_file_references_index_table
+extern void bfd_sym_display_file_references_index_table
PARAMS ((bfd *, FILE *));
-extern void bfd_sym_display_constant_pool
+extern void bfd_sym_display_constant_pool
PARAMS ((bfd *, FILE *));
-extern void bfd_sym_display_type_information_table
+extern void bfd_sym_display_type_information_table
PARAMS ((bfd *, FILE *));
-extern int bfd_sym_scan
+extern int bfd_sym_scan
PARAMS ((bfd *, bfd_sym_version, bfd_sym_data_struct *));
-extern const bfd_target * bfd_sym_object_p
+extern const bfd_target * bfd_sym_object_p
PARAMS ((bfd *));
-extern asymbol * bfd_sym_make_empty_symbol
+extern asymbol * bfd_sym_make_empty_symbol
PARAMS ((bfd *));
-extern void bfd_sym_get_symbol_info
+extern void bfd_sym_get_symbol_info
PARAMS ((bfd *, asymbol *, symbol_info *));
-extern long bfd_sym_get_symtab_upper_bound
+extern long bfd_sym_get_symtab_upper_bound
PARAMS ((bfd *));
-extern long bfd_sym_get_symtab
+extern long bfd_sym_canonicalize_symtab
PARAMS ((bfd *, asymbol **));
-extern int bfd_sym_sizeof_headers
- PARAMS ((bfd *, boolean));
+extern int bfd_sym_sizeof_headers
+ PARAMS ((bfd *, bfd_boolean));
#endif /* __xSYM_H__ */