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 | 7d5ee7d7b7e213f638f6dcf40f55c98cf8d610b3 (patch) | |
tree | a16eca678ef77c24e9dd614e52bf0aae1a0825d5 /bfd/libbfd-in.h | |
parent | cd44747cbb992a4c42b4ec049cba1d10d5fd65a1 (diff) | |
download | gdb-7d5ee7d7b7e213f638f6dcf40f55c98cf8d610b3.zip gdb-7d5ee7d7b7e213f638f6dcf40f55c98cf8d610b3.tar.gz gdb-7d5ee7d7b7e213f638f6dcf40f55c98cf8d610b3.tar.bz2 |
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-in.h')
-rw-r--r-- | bfd/libbfd-in.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/libbfd-in.h b/bfd/libbfd-in.h index 5e636a3..ec13399 100644 --- a/bfd/libbfd-in.h +++ b/bfd/libbfd-in.h @@ -376,7 +376,7 @@ 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 const bfd_target *_bfd_vms_lib_ia64_archive_p (bfd *abfd); -extern bfd_boolean _bfd_vms_lib_mkarchive (bfd *abfd); +extern bfd_boolean _bfd_vms_lib_alpha_mkarchive (bfd *abfd); /* Routines to use for BFD_JUMP_TABLE_SYMBOLS where there is no symbol support. Use BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols). */ |