diff options
author | Tristan Gingold <gingold@adacore.com> | 2010-06-08 14:04:25 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2010-06-08 14:04:25 +0000 |
commit | cba3addf0c5906471d44527394c6e5f8594733c1 (patch) | |
tree | 5ee8c12372f087c0ce32ddd8b0253078447bd543 /bfd | |
parent | 2bf1d2a44685e2fb7385c362b62b81694bf33f6e (diff) | |
download | gdb-cba3addf0c5906471d44527394c6e5f8594733c1.zip gdb-cba3addf0c5906471d44527394c6e5f8594733c1.tar.gz gdb-cba3addf0c5906471d44527394c6e5f8594733c1.tar.bz2 |
2010-06-08 Tristan Gingold <gingold@adacore.com>
* vms-lib.c (_bfd_vms_lib_write_archive_contents): Increment
for the first block.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/vms-lib.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 485f4da..b979b93 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,10 @@ 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. * libbfd-in.h (_bfd_vms_lib_ia64_mkarchive): Declare. * libbfd.h: Regenerate. diff --git a/bfd/vms-lib.c b/bfd/vms-lib.c index c959df9..13a4fa8 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) { |