libctf: bfd-open: mark the bfd as cacheable
[deliverable/binutils-gdb.git] / libctf / ctf-open-bfd.c
index 6fbbde88529b333fe2abe01602d9795893a126b7..1083c8760856d262e7f73a61e2203aa28e9486ea 100644 (file)
@@ -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.023202 seconds and 4 git commands to generate.