Revert call to bfd_cache_close().
authorAndrew Cagney <cagney@redhat.com>
Sat, 21 Apr 2001 22:50:55 +0000 (22:50 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sat, 21 Apr 2001 22:50:55 +0000 (22:50 +0000)
sim/common/ChangeLog
sim/common/sim-load.c
sim/common/sim-utils.c

index fec11331e9159f9484b1f892b4d66f75ef0ac2de..6c93163dea7467db5d831315f81f321e53adb9ae 100644 (file)
@@ -1,3 +1,9 @@
+2001-04-21  Andrew Cagney  <ac131313@redhat.com>
+
+       * sim-load.c (sim_load_file): Delete call bfd_cache_close.  BFD
+       internal interface.
+       * sim-utils.c (sim_analyze_program): Ditto.
+
 2001-04-19  Frank Ch. Eigler  <fche@redhat.com>
 
        * sim-utils.c (sim_analyze_program): Call bfd_cache_close after
index bfe3f15c4bde25624457029ebd4626b514b26a2a..22fb33b777b6201d1c5588b69165d31d67d3023b 100644 (file)
@@ -166,8 +166,6 @@ sim_load_file (sd, myname, callback, prog, prog_bfd, verbose_p, lma_p, do_write)
       report_transfer_performance (callback, data_count, start_time, end_time);
     }
 
-  bfd_cache_close (result_bfd);
-
   return result_bfd;
 }
 
index 6184f1b10ebffbfd910b65f2568a164359140ff4..3adbae5bbd4b023eea6c12e4e1f568218ed7fa42 100644 (file)
@@ -287,8 +287,6 @@ sim_analyze_program (sd, prog_name, prog_bfd)
        break;
       }
 
-  bfd_cache_close (prog_bfd);
-
   return SIM_RC_OK;
 }
 \f