This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] add support for alpha/vms archives


On Wed, Mar 31, 2010 at 02:49:15PM +0200, Tristan Gingold wrote:
> + /* Routines to use for BFD_JUMP_TABLE_ARCHIVE to get VMS style
> +    archives.  Use BFD_JUMP_TABLE_ARCHIVE (_bfd_vms_lib).  Some of them
> +    are irrelevant and never called, so defined as NULL.  */
> + 
> + extern bfd_boolean _bfd_vms_lib_write_archive_contents (bfd *arch);
> + #define _bfd_vms_lib_slurp_armap NULL
> + #define _bfd_vms_lib_slurp_extended_name_table NULL
> + #define _bfd_vms_lib_construct_extended_name_table NULL
> + #define _bfd_vms_lib_truncate_arname NULL
> + #define _bfd_vms_lib_write_armap NULL
> + #define _bfd_vms_lib_read_ar_hdr NULL
> + #define _bfd_vms_lib_write_ar_hdr NULL
> + extern bfd *_bfd_vms_lib_openr_next_archived_file (bfd *, bfd *);
> + extern bfd *_bfd_vms_lib_get_elt_at_index (bfd *, symindex);
> + extern int _bfd_vms_lib_generic_stat_arch_elt (bfd *, struct stat *);
> + #define _bfd_vms_lib_update_armap_timestamp bfd_true
> + 
> + /* Extra routines for VMS style archives.  */
> + 
> + extern symindex _bfd_vms_lib_find_symbol (bfd *, const char *);
> + extern bfd *_bfd_vms_lib_get_imagelib_file (bfd *);
> + extern const bfd_target *_bfd_vms_lib_alpha_archive_p (bfd *abfd);
> + extern bfd_boolean _bfd_vms_lib_mkarchive (bfd *abfd);
> + 

Do these all need to go in libbfd-in.h?  Otherwise looks OK.

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]