diff options
Diffstat (limited to 'bfd/oasys.c')
-rw-r--r-- | bfd/oasys.c | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/bfd/oasys.c b/bfd/oasys.c index 04faf45..66cf8ef 100644 --- a/bfd/oasys.c +++ b/bfd/oasys.c @@ -1157,21 +1157,18 @@ oasys_sizeof_headers (bfd *abfd ATTRIBUTE_UNUSED, #define oasys_close_and_cleanup _bfd_generic_close_and_cleanup #define oasys_bfd_free_cached_info _bfd_generic_bfd_free_cached_info -#define oasys_slurp_armap bfd_true -#define oasys_slurp_extended_name_table bfd_true -#define oasys_construct_extended_name_table \ - ((bfd_boolean (*) (bfd *, char **, bfd_size_type *, const char **)) (bfd_boolean (*)) bfd_true) +#define oasys_slurp_armap _bfd_bool_bfd_true +#define oasys_slurp_extended_name_table _bfd_bool_bfd_true +#define oasys_construct_extended_name_table \ + _bfd_noarchive_construct_extended_name_table #define oasys_truncate_arname bfd_dont_truncate_arname -#define oasys_write_armap \ - ((bfd_boolean (*) (bfd *, unsigned int, struct orl *, unsigned int, int)) (bfd_boolean (*)) bfd_true) -#define oasys_read_ar_hdr bfd_nullvoidptr -#define oasys_write_ar_hdr \ - ((bfd_boolean (*) (bfd *, bfd *)) (bfd_boolean (*)) bfd_false) +#define oasys_write_armap _bfd_noarchive_write_armap +#define oasys_read_ar_hdr _bfd_ptr_bfd_null_error +#define oasys_write_ar_hdr _bfd_noarchive_write_ar_hdr #define oasys_get_elt_at_index _bfd_generic_get_elt_at_index -#define oasys_update_armap_timestamp bfd_true +#define oasys_update_armap_timestamp _bfd_bool_bfd_true #define oasys_bfd_is_local_label_name bfd_generic_is_local_label_name -#define oasys_bfd_is_target_special_symbol \ - ((bfd_boolean (*) (bfd *, asymbol *)) (bfd_boolean (*)) bfd_false) +#define oasys_bfd_is_target_special_symbol _bfd_bool_bfd_asymbol_false #define oasys_get_lineno _bfd_nosymbols_get_lineno #define oasys_get_symbol_version_string _bfd_nosymbols_get_symbol_version_string #define oasys_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol @@ -1229,16 +1226,16 @@ const bfd_target oasys_vec = _bfd_dummy_target, }, { /* bfd_set_format. */ - bfd_false, + _bfd_bool_bfd_false_error, oasys_mkobject, _bfd_generic_mkarchive, - bfd_false + _bfd_bool_bfd_false_error }, { /* bfd_write_contents. */ - bfd_false, + _bfd_bool_bfd_false_error, oasys_write_object_contents, _bfd_write_archive_contents, - bfd_false, + _bfd_bool_bfd_false_error, }, BFD_JUMP_TABLE_GENERIC (oasys), |