From: jesusc Date: Wed, 4 Sep 2002 09:51:45 +0000 (+0000) Subject: Creation of default areas. Improved memory usage. Stack diagnostics. X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=261ba0d7779c3db06cb063dbad000d94b1155966;p=fw%2Fsdcc Creation of default areas. Improved memory usage. Stack diagnostics. Delegates data and stack allocation to aslink. Creates areas for register banks. git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2096 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/ChangeLog b/ChangeLog index f209193e..8092d771 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,42 @@ +2002-09-04 Jesus Calvino-Fraga + Changes to aslink (All the changes are marked with 'JCF'): + + * \sdcc\as\mcs51\aslink.h: External definition of sflag and + summary(). + + * \sdcc\as\mcs51\lkarea.c: Computes the size of area BSEG_BYTES from + area BSEG. Also moves, if possible, the DATA area down into the internal + ram so more space is available. + + * \sdcc\as\mcs51\lkdata.c: Definition of memory summary output flag + sflag. + + * \sdcc\as\mcs51\lklist.c: For the BSEG area report the size in bits, + not bytes. Function summary() which creates a memory usage summary + file with extension .mem. Reports of overlaping stack and small stack + size. If the space for the stack is less than 16 bytes aslink trows a + warning. + + * \sdcc\as\mcs51\lkmain.c: Creation of some of the default areas for + the 8051. Option 'y' for memory summary output file. + + Changes to sdcc (All the changes are marked with 'JCF'): + + * \sdcc\src\SDCCglobl.h: External definition of RegBankUsed[4]. + + * \sdcc\src\SDCCglue.c: If a register bank is used, creates an + overlaying area for it (uses RegBankUsed[4]). + + * \sdcc\src\SDCCmain.c: Definition RegBankUsed[4]; marks register + bank zero as used by default. By default aslink locates the stack + (equivalent to --stack-after-data). Pass option 'y' to aslink for + the creation of the .mem file. Delegates the allocation of data area + to aslink (it is not longer 0x30 by default). If --stack-loc passes + the begining of the stack area to aslink. + + * \sdcc\src\SDCCmem.c: If a register bank is used, marks it so + glue() in SDCCglue.c creates an area for it. + 2002-09-03 Borut Razem * sdcc/src/SDCCglue.c, sdcc/src/SDCCglue.h, sdcc/src/SDCCmain.c, sdcc/src/pic/glue.c: