* solib.c (solib_map_sections): Use bfd_set_cacheable instead of
poking .cacheable directly.
* symfile.c (symfile_bfd_open): Ditto.
2004-02-15 Andrew Cagney <cagney@redhat.com>
+ * solib.c (solib_map_sections): Use bfd_set_cacheable instead of
+ poking .cacheable directly.
+ * symfile.c (symfile_bfd_open): Ditto.
+
* Makefile.in: Update all dependencies.
* Makefile.in: (.SUFFIXES): Add ".l" and ".y".
/* Leave bfd open, core_xfer_memory and "info files" need it. */
so->abfd = abfd;
- abfd->cacheable = 1;
+ bfd_set_cacheable (abfd, 1);
/* copy full path name into so_name, so that later symbol_file_add
can find it */
error ("\"%s\": can't open to read symbols: %s.", name,
bfd_errmsg (bfd_get_error ()));
}
- sym_bfd->cacheable = 1;
+ bfd_set_cacheable (sym_bfd, 1);
if (!bfd_check_format (sym_bfd, bfd_object))
{