diff options
author | Alan Modra <amodra@gmail.com> | 2004-06-15 01:08:00 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2004-06-15 01:08:00 +0000 |
commit | 5f510f9ca0cff5d1401cce41a436c5b552c06ce1 (patch) | |
tree | 6ab9102afb8507cd9802f769f07db37251fe605f /sim/common/sim-load.c | |
parent | 2c500098f2a2ade0966e2ac10e0e714474cfcd92 (diff) | |
download | gdb-5f510f9ca0cff5d1401cce41a436c5b552c06ce1.zip gdb-5f510f9ca0cff5d1401cce41a436c5b552c06ce1.tar.gz gdb-5f510f9ca0cff5d1401cce41a436c5b552c06ce1.tar.bz2 |
* sim-load.c (sim_load_file): Use bfd_get_section_size
instead of bfd_get_section_size_before_reloc.
Diffstat (limited to 'sim/common/sim-load.c')
-rw-r--r-- | sim/common/sim-load.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/common/sim-load.c b/sim/common/sim-load.c index ef298b2..5fc4c98 100644 --- a/sim/common/sim-load.c +++ b/sim/common/sim-load.c @@ -112,7 +112,7 @@ sim_load_file (sd, myname, callback, prog, prog_bfd, verbose_p, lma_p, do_write) { bfd_size_type size; - size = bfd_get_section_size_before_reloc (s); + size = bfd_get_section_size (s); if (size > 0) { char *buffer; |