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.
This commit is contained in:
Andrew Cagney
2004-02-15 15:16:29 +00:00
parent 0c0b39dee1
commit 549c1eea94
3 changed files with 6 additions and 2 deletions

View File

@@ -250,7 +250,7 @@ solib_map_sections (void *arg)
/* 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 */