summaryrefslogtreecommitdiffstats
path: root/sim
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-04-21 22:50:55 +0000
committerAndrew Cagney <cagney@redhat.com>2001-04-21 22:50:55 +0000
commit5b77812558f5095d6e5e4ea7eea08ef43d33c046 (patch)
tree1d7b526bf11350c80d7fd4a0342cb6ae569be0b7 /sim
parent1c97d17b13f404b13c14bc5bc3f38853458317ef (diff)
downloadppe42-binutils-5b77812558f5095d6e5e4ea7eea08ef43d33c046.tar.gz
ppe42-binutils-5b77812558f5095d6e5e4ea7eea08ef43d33c046.zip
Revert call to bfd_cache_close().
Diffstat (limited to 'sim')
-rw-r--r--sim/common/ChangeLog6
-rw-r--r--sim/common/sim-load.c2
-rw-r--r--sim/common/sim-utils.c2
3 files changed, 6 insertions, 4 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index fec11331e9..6c93163dea 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -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
diff --git a/sim/common/sim-load.c b/sim/common/sim-load.c
index bfe3f15c4b..22fb33b777 100644
--- a/sim/common/sim-load.c
+++ b/sim/common/sim-load.c
@@ -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;
}
diff --git a/sim/common/sim-utils.c b/sim/common/sim-utils.c
index 6184f1b10e..3adbae5bbd 100644
--- a/sim/common/sim-utils.c
+++ b/sim/common/sim-utils.c
@@ -287,8 +287,6 @@ sim_analyze_program (sd, prog_name, prog_bfd)
break;
}
- bfd_cache_close (prog_bfd);
-
return SIM_RC_OK;
}
OpenPOWER on IntegriCloud