diff options
author | Alan Modra <amodra@bigpond.net.au> | 2004-06-15 01:08:00 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2004-06-15 01:08:00 +0000 |
commit | fa0dda4c6420b853e77216142c000ef0845ab5f4 (patch) | |
tree | 7b950b80fd4f54e41061d17c5f77468c66f8666a /sim/common | |
parent | ef0e88f5d4c3fbced0ee032fac4b591f0cf4764b (diff) | |
download | gdb-fa0dda4c6420b853e77216142c000ef0845ab5f4.tar.gz |
* sim-load.c (sim_load_file): Use bfd_get_section_size
instead of bfd_get_section_size_before_reloc.
Diffstat (limited to 'sim/common')
-rw-r--r-- | sim/common/ChangeLog | 5 | ||||
-rw-r--r-- | sim/common/sim-load.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index d5c3a5043ed..08a1751f25e 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,8 @@ +2004-06-15 Alan Modra <amodra@bigpond.net.au> + + * sim-load.c (sim_load_file): Use bfd_get_section_size + instead of bfd_get_section_size_before_reloc. + 2004-05-18 Daniel Jacobowitz <dan@debian.org> * dv-glue.c (hw_glue_finish): Cast result of sizeof to long before diff --git a/sim/common/sim-load.c b/sim/common/sim-load.c index ef298b2a533..5fc4c986c67 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; |