This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [Patch] add support for alpha/vms archives
- From: Alan Modra <amodra at gmail dot com>
- To: Tristan Gingold <gingold at adacore dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Thu, 1 Apr 2010 09:35:56 +1030
- Subject: Re: [Patch] add support for alpha/vms archives
- References: <8F302B34-89B3-4582-A6A2-E66CA6D446F9@adacore.com>
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