2010-06-08 Tristan Gingold <gingold@adacore.com>

* vms-lib.c (_bfd_vms_lib_write_archive_contents): Increment
	for the first block.
This commit is contained in:
Tristan Gingold 2010-06-08 14:04:25 +00:00
parent 2bf1d2a446
commit cba3addf0c
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2010-06-08 Tristan Gingold <gingold@adacore.com>
* vms-lib.c (_bfd_vms_lib_write_archive_contents): Increment
for the first block.
2010-06-08 Tristan Gingold <gingold@adacore.com>
* vms-lib.c (_bfd_vms_lib_ia64_mkarchive): New function.

View File

@ -2111,6 +2111,7 @@ _bfd_vms_lib_write_archive_contents (bfd *arch)
/* Write the first block (which contains an mhd). */
if (bfd_bwrite (blk, VMS_BLOCK_SIZE, arch) != VMS_BLOCK_SIZE)
goto input_err;
off += VMS_BLOCK_SIZE;
if (amt == VMS_BLOCK_SIZE - sz)
{