diff options
author | Tristan Gingold <gingold@adacore.com> | 2010-04-06 13:55:38 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2010-04-06 13:55:38 +0000 |
commit | 0e9b2e9ac7cf1f727a0eea64b760b2c719591858 (patch) | |
tree | 978df8e690c3640ba62c1637300d614cd273b3a4 | |
parent | 5984a431b363ff72faf23034f0bfb66152041b20 (diff) | |
download | gdb-0e9b2e9ac7cf1f727a0eea64b760b2c719591858.zip gdb-0e9b2e9ac7cf1f727a0eea64b760b2c719591858.tar.gz gdb-0e9b2e9ac7cf1f727a0eea64b760b2c719591858.tar.bz2 |
2010-04-06 Tristan Gingold <gingold@adacore.com>
* vms-lib.c (_bfd_vms_lib_write_archive_contents): Fix idd flags.
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/vms-lib.c | 7 |
2 files changed, 9 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 95f411e..6d425d1 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2010-04-06 Tristan Gingold <gingold@adacore.com> + + * vms-lib.c (_bfd_vms_lib_write_archive_contents): Fix idd flags. + 2010-04-05 Jakub Jelinek <jakub@redhat.com> * elf-eh-frame.c (_bfd_elf_parse_eh_frame): Handle CIE version 4 diff --git a/bfd/vms-lib.c b/bfd/vms-lib.c index cdef1f5..4f7da81 100644 --- a/bfd/vms-lib.c +++ b/bfd/vms-lib.c @@ -1608,6 +1608,7 @@ _bfd_vms_lib_write_archive_contents (bfd *arch) unsigned char blk[VMS_BLOCK_SIZE]; struct vms_lhd *lhd = (struct vms_lhd *)blk; struct vms_idd *idd = (struct vms_idd *)(blk + sizeof (*lhd)); + unsigned int idd_flags; memset (blk, 0, sizeof (blk)); @@ -1638,13 +1639,15 @@ _bfd_vms_lib_write_archive_contents (bfd *arch) bfd_putl32 (vbn - 1, lhd->hiprusd); /* First index (modules name). */ - bfd_putl16 (IDD__FLAGS_ASCII | IDD__FLAGS_VARLENIDX, idd->flags); + idd_flags = IDD__FLAGS_ASCII | IDD__FLAGS_VARLENIDX + | IDD__FLAGS_NOCASECMP | IDD__FLAGS_NOCASENTR; + bfd_putl16 (idd_flags, idd->flags); bfd_putl16 (MAX_KEYLEN, idd->keylen); bfd_putl16 (mod_idx_vbn, idd->vbn); idd++; /* Second index (symbols name). */ - bfd_putl16 (IDD__FLAGS_ASCII | IDD__FLAGS_VARLENIDX, idd->flags); + bfd_putl16 (idd_flags, idd->flags); bfd_putl16 (MAX_KEYLEN, idd->keylen); bfd_putl16 (sym_idx_vbn, idd->vbn); idd++; |