Lines Matching refs:modules
88 struct carsym *modules; member
524 tdata->modules = vms_lib_read_index (abfd, 0, &nbr_ent); in _bfd_vms_lib_archive_p()
525 if (tdata->modules == NULL || nbr_ent != tdata->nbr_modules) in _bfd_vms_lib_archive_p()
695 tdata->modules = NULL; in _bfd_vms_lib_mkarchive()
1311 file_off = tdata->modules[modidx].file_offset; in _bfd_vms_lib_get_module()
1363 name = tdata->modules[modidx].name; in _bfd_vms_lib_get_module()
1404 if (tdata->modules[modidx].file_offset == file_off) in _bfd_vms_lib_get_elt_at_index()
1933 struct lib_index *modules, in _bfd_vms_lib_build_map() argument
1954 bfd *current = modules[i].abfd; in _bfd_vms_lib_build_map()
2008 modules[i].ref++; in _bfd_vms_lib_build_map()
2033 struct lib_index *modules; in _bfd_vms_lib_write_archive_contents() local
2068 BFD_ASSERT (tdata->modules == NULL); in _bfd_vms_lib_write_archive_contents()
2069 modules = bfd_alloc (arch, nbr_modules * sizeof (struct lib_index)); in _bfd_vms_lib_write_archive_contents()
2070 if (modules == NULL) in _bfd_vms_lib_write_archive_contents()
2079 modules[i].abfd = current; in _bfd_vms_lib_write_archive_contents()
2080 modules[i].name = vms_get_module_name (current->filename, FALSE); in _bfd_vms_lib_write_archive_contents()
2081 modules[i].ref = 1; in _bfd_vms_lib_write_archive_contents()
2084 nl = strlen (modules[i].name); in _bfd_vms_lib_write_archive_contents()
2085 modules[i].namlen = (nl > max_keylen ? max_keylen : nl); in _bfd_vms_lib_write_archive_contents()
2090 if (!vms_write_index (NULL, modules, nbr_modules, &vbn, NULL, is_elfidx)) in _bfd_vms_lib_write_archive_contents()
2095 if (!_bfd_vms_lib_build_map (nbr_modules, modules, &nbr_symbols, &symbols)) in _bfd_vms_lib_write_archive_contents()
2116 current = modules[i].abfd; in _bfd_vms_lib_write_archive_contents()
2133 bfd_putl32 (modules[i].ref, mhd->refcnt); in _bfd_vms_lib_write_archive_contents()
2225 if (vms_write_index (arch, modules, nbr_modules, &vbn, &mod_idx_vbn, in _bfd_vms_lib_write_archive_contents()