diff options
author | Tristan Gingold <gingold@adacore.com> | 2010-05-31 15:03:14 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2010-05-31 15:03:14 +0000 |
commit | 95f447b10550acffb692273c3d9b76f877726e69 (patch) | |
tree | a5a65a0b192bb2cf9a23f7f173eacc5c108418ad /bfd/libbfd.c | |
parent | 8239d6afa47c95eed782264f0240a0c1d93fcc87 (diff) | |
download | gdb-95f447b10550acffb692273c3d9b76f877726e69.tar.gz |
2010-05-31 Tristan Gingold <gingold@adacore.com>
* vms-lib.c (credat_lo, credat_hi): New fields.
(vms_read_block): Adjust comments.
(vms_write_block): New function.
(_bfd_vms_lib_archive_p): Decode majorid once. Replace some
hard-coded values with constants. Set credat_lo and credat_hi.
(_bfd_vms_lib_mkarchive): Add argument kind.
Set ver, mhd_size and type according to kind.
(_bfd_vms_lib_alpha_mkarchive): New function.
(struct lib_index): Renamed from struct vms_index
(lib_index_cmp): Renamed from vms_index_cmp. Adjusted.
(get_idxlen): Type of idx argument adjusted. Add is_elfidx
argument and handle it.
(vms_write_index): Adjust argument idx. Handle elf indexes.
(_bfd_vms_lib_build_map): Adjust type of arguments modules and res.
(_bfd_vms_lib_write_archive_contents): Add is_elfidx variable and
use it. Handle elf indexes. Set credat.
* libbfd-in.h (_bfd_vms_lib_mkarchive): Renamed to ...
(_bfd_vms_lib_alpha_mkarchive): ... this.
* libbfd.h: Regenerated.
* vms-alpha.c (vms_alpha_vec): Adjust after previous renaming.
Diffstat (limited to 'bfd/libbfd.c')
0 files changed, 0 insertions, 0 deletions