From: cuz Date: Wed, 2 Jun 2004 21:20:18 +0000 (+0000) Subject: Fixed a bug X-Git-Tag: V2.12.0~764 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2bb2ceec33aadc2623b97bdc2854d3b683652ed2;p=cc65 Fixed a bug git-svn-id: svn://svn.cc65.org/cc65/trunk@3067 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/ld65/config.c b/src/ld65/config.c index cf519e046..6ee1b6ad8 100644 --- a/src/ld65/config.c +++ b/src/ld65/config.c @@ -1472,7 +1472,7 @@ void CfgAssignSegments (void) } /* If this is the run area, set the start address of this segment, - * set the readonly flag in the segment and and remember if the + * set the readonly flag in the segment and and remember if the * segment is in a relocatable file or not. */ if (S->Run == M) { @@ -1539,7 +1539,7 @@ void CfgAssignSegments (void) sprintf (Buf, "__%s_SIZE__", GetString (M->Name)); CreateConstExport (GetStringId (Buf), M->Size); sprintf (Buf, "__%s_LAST__", GetString (M->Name)); - CreateConstExport (GetStringId (Buf), M->FillLevel); + CreateMemoryExport (GetStringId (Buf), M, M->FillLevel); } /* Next memory area */