From: Alexandre Oliva Date: Mon, 28 Jun 2004 19:25:43 +0000 (+0000) Subject: * compile.c (sim_load): Update sd->memory_size. X-Git-Tag: csl-arm-2004-q3~1042 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e4d3c499f58baf4d71323d262f0e122c8a1baf9c;p=platform%2Fupstream%2Fbinutils.git * compile.c (sim_load): Update sd->memory_size. --- diff --git a/sim/h8300/ChangeLog b/sim/h8300/ChangeLog index c6f8dcd..b77fcfc 100644 --- a/sim/h8300/ChangeLog +++ b/sim/h8300/ChangeLog @@ -1,3 +1,7 @@ +2004-06-28 Alexandre Oliva + + * compile.c (sim_load): Update sd->memory_size. + 2004-06-10 Michael Snyder Patch submitted by Nitin Yewale . diff --git a/sim/h8300/compile.c b/sim/h8300/compile.c index cd097d6..3e8992c 100644 --- a/sim/h8300/compile.c +++ b/sim/h8300/compile.c @@ -5096,6 +5096,7 @@ sim_load (SIM_DESC sd, char *prog, bfd *abfd, int from_tty) calloc (sizeof (char), memory_size)); h8_set_cache_idx_buf (sd, (unsigned short *) calloc (sizeof (short), memory_size)); + sd->memory_size = memory_size; h8_set_eightbit_buf (sd, (unsigned char *) calloc (sizeof (char), 256)); /* `msize' must be a power of two. */