From 35ccf8f0b2230aad93865c6543765c86e4d1ac86 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 15 Jun 2004 01:08:34 +0000 Subject: [PATCH] * interp.c (sim_prepare_for_program): Use bfd_get_section_size instead of bfd_get_section_size_before_reloc. --- sim/m68hc11/ChangeLog | 5 +++++ sim/m68hc11/interp.c | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/sim/m68hc11/ChangeLog b/sim/m68hc11/ChangeLog index 3d019d7658..341f0af5e7 100644 --- a/sim/m68hc11/ChangeLog +++ b/sim/m68hc11/ChangeLog @@ -1,3 +1,8 @@ +2004-06-15 Alan Modra + + * interp.c (sim_prepare_for_program): Use bfd_get_section_size + instead of bfd_get_section_size_before_reloc. + 2003-08-08 Stephane Carrez * dv-m68hc11tim.c (cycle_to_string): Add flags parameter to better diff --git a/sim/m68hc11/interp.c b/sim/m68hc11/interp.c index b80bc94008..eed2d2c4dd 100644 --- a/sim/m68hc11/interp.c +++ b/sim/m68hc11/interp.c @@ -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; -- 2.11.0