1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-04 13:29:35 +00:00

Fixed a bug

git-svn-id: svn://svn.cc65.org/cc65/trunk@3067 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2004-06-02 21:20:18 +00:00
parent d8f7384091
commit 2bb2ceec33

View File

@ -1472,7 +1472,7 @@ void CfgAssignSegments (void)
} }
/* If this is the run area, set the start address of this segment, /* 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. * segment is in a relocatable file or not.
*/ */
if (S->Run == M) { if (S->Run == M) {
@ -1539,7 +1539,7 @@ void CfgAssignSegments (void)
sprintf (Buf, "__%s_SIZE__", GetString (M->Name)); sprintf (Buf, "__%s_SIZE__", GetString (M->Name));
CreateConstExport (GetStringId (Buf), M->Size); CreateConstExport (GetStringId (Buf), M->Size);
sprintf (Buf, "__%s_LAST__", GetString (M->Name)); sprintf (Buf, "__%s_LAST__", GetString (M->Name));
CreateConstExport (GetStringId (Buf), M->FillLevel); CreateMemoryExport (GetStringId (Buf), M, M->FillLevel);
} }
/* Next memory area */ /* Next memory area */