Re: Enable --build-id for moxie-elf-ld
[deliverable/binutils-gdb.git] / libctf / ctf-open-bfd.c
index 6fbbde88529b333fe2abe01602d9795893a126b7..d17b72d2f0d4a3b688fc2ecf5eb8942c2e22083f 100644 (file)
@@ -66,7 +66,7 @@ ctf_new_archive_internal (int is_archive, struct ctf_archive *arc,
   return arci;
 }
 
-/* Free the BFD bits of a CTF file on ctf_file_close().  */
+/* Free the BFD bits of a CTF file on ctf_arc_close().  */
 
 static void
 ctf_bfdclose (struct ctf_archive_internal *arci)
@@ -312,6 +312,7 @@ ctf_fdopen (int fd, const char *filename, const char *target, int *errp)
                   bfd_errmsg (bfd_get_error()));
       return (ctf_set_open_errno (errp, ECTF_FMT));
     }
+  bfd_set_cacheable (abfd, 1);
 
   if (!bfd_check_format (abfd, bfd_object))
     {
This page took 0.037821 seconds and 4 git commands to generate.