* interp.c (sim_prepare_for_program): Use bfd_get_section_size
instead of bfd_get_section_size_before_reloc.
This commit is contained in:
parent
5f510f9ca0
commit
84b11e2eb5
@ -1,3 +1,8 @@
|
||||
2004-06-15 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* interp.c (sim_prepare_for_program): Use bfd_get_section_size
|
||||
instead of bfd_get_section_size_before_reloc.
|
||||
|
||||
2003-08-08 Stephane Carrez <stcarrez@nerim.fr>
|
||||
|
||||
* dv-m68hc11tim.c (cycle_to_string): Add flags parameter to better
|
||||
|
@ -1,5 +1,6 @@
|
||||
/* interp.c -- Simulator for Motorola 68HC11/68HC12
|
||||
Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
|
||||
Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
|
||||
Free Software Foundation, Inc.
|
||||
Written by Stephane Carrez (stcarrez@nerim.fr)
|
||||
|
||||
This file is part of GDB, the GNU debugger.
|
||||
@ -386,7 +387,7 @@ sim_prepare_for_program (SIM_DESC sd, bfd* abfd)
|
||||
{
|
||||
bfd_size_type size;
|
||||
|
||||
size = bfd_get_section_size_before_reloc (s);
|
||||
size = bfd_get_section_size (s);
|
||||
if (size > 0)
|
||||
{
|
||||
bfd_vma lma;
|
||||
|
Loading…
x
Reference in New Issue
Block a user