From cba3addf0c5906471d44527394c6e5f8594733c1 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Tue, 8 Jun 2010 14:04:25 +0000 Subject: [PATCH] 2010-06-08 Tristan Gingold * vms-lib.c (_bfd_vms_lib_write_archive_contents): Increment for the first block. --- bfd/ChangeLog | 5 +++++ bfd/vms-lib.c | 1 + 2 files changed, 6 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 485f4da528e..b979b93d005 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2010-06-08 Tristan Gingold + + * vms-lib.c (_bfd_vms_lib_write_archive_contents): Increment + for the first block. + 2010-06-08 Tristan Gingold * vms-lib.c (_bfd_vms_lib_ia64_mkarchive): New function. diff --git a/bfd/vms-lib.c b/bfd/vms-lib.c index c959df95967..13a4fa892ba 100644 --- a/bfd/vms-lib.c +++ b/bfd/vms-lib.c @@ -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) { -- 2.30.2