Added options --stack-size and --pack-iram
[fw/sdcc] / ChangeLog
index cdf42439192248adb14f6cb03c497d0b41ec50aa..1640d9d873dcab8735842ac23c7f4d923f941cd1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,144 @@
+2004-02-18  Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
+
+       * as/mcs51/aslink.h, as/mcs51/lkarea.c, as/mcs51/lkdata.c, as/mcs51/lkmain.c,
+       as/mcs51/lkmem.c, src/SDCCglob.h, src/SDCCmain.c: added options --stack-size and
+       --pack-iram.
+       * doc/sdccman.lyx: described options --stack-size and --pack-iram.
+
+2004-02-17 Bernhard Held <bernhard AT bernhardheld.de>
+
+       * device/include/c8051f320.h: added. Contributed by Maarten Brock.
+
+2004-02-17 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
+
+       * doc/sdccman.lyx: added details about the HC08 storage classes and
+       interrupts, fixed the register usage info for z80 & gbz80
+
+2004-02-17 Vangelis Rokas <vrokas AT otenet.gr>
+
+       * doc/sdccman.lyx: added more pic16 port documentation
+       * device/include/pic16/: added header pic18fregs.h
+
+2004-02-16 Bernhard Held <bernhard AT bernhardheld.de>
+
+       * doc/sdccman.lyx: added Vangelis' contribution
+
+2004-02-16 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
+
+       * src/SDCClrange.c (rlivePoint): live range of SEND operand should
+       extend to the next CALL or PCALL, not just to the next CALL.
+
+2004-02-16 Vangelis Rokas <vrokas AT otenet.gr>
+
+       * src/pic16/gen.c (genInline): fixed bug #896482 with inline assembly
+
+2004-02-15 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
+
+       * src/mcs51/ralloc.c (packRegsForAssign, reassignAliasedSym): fixed
+       bug #895752 and a better fix for bug #716790
+
+2004-02-15 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
+
+       * src/SDCCsymt.c (processFuncArgs): fixed bug #896796
+
+2004-02-14 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
+
+       * doc/sdccman.lyx: minor changes, minor changed
+
+2004-02-13 Bernhard Held <bernhard AT bernhardheld.de>
+
+       * src/SDCCicode.c (usualBinaryConversions): removed pic16 from ports
+       which can't handle SDCC_NEWONEBYTEOPS,
+       (geniCodeMultiply): removed conversion from mult to shift for pic14
+       and pic16
+
+2004-02-12 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
+
+       * src/hc08/gen.h,
+       * src/hc08/gen.c (storeRegToAop, aopOp, aopAdrStr, accopWithAop,
+       rmwWithAop): Ported my 2003-10-02 fix for bug #663539 to the hc08,
+       thus fixing bug #895406
+
+2004-02-11 Bernhard Held <bernhard AT bernhardheld.de>
+
+       * device/lib/_modsint.c,
+       * device/lib/_modslong.c: sign follows divisor only
+       * src/hc08/gen.c (genMultOneByte): if result size is 1,
+       signs or signedness can be ignored
+       * src/SDCCast.c (addCast): cosmetic - added lineno to CAST
+       * src/SDCCast.c (resultTypePropagate): added even more ops: +, - and *,
+       added optimization for IFX,
+       (decorateType): Mult/Div/ModOneByte ops can handle all kind of signed
+       arguments;
+       reenabled optimization for IFX, which was removed on 2004-01-11
+       * src/SDCCast.h: added return type IFX
+       * src/SDCCicode.c: Mult/Div/ModOneByte ops can handle all kind of signed
+       arguments with 8 or 16 bit results; pic14 and pic16 ports use old
+       promotion behaviour; env. var. SDCC_NEWONEBYTEOPS selects the new,
+       SDCC_OLDONEBYTEOPS selects the old behaviour
+       * src/SDCCsymt.c (computeType): type2 can be NULL (for LEFT_OP);
+       changed again and commented promotion rule
+       * src/SDCCval.c (valDiv): promotion no longer necessary
+       * src/ds390/gen.c (genMultOneByte) (genDivOneByte) (genModOneByte),
+       * src/mcs51/gen.c (genMultOneByte) (genDivOneByte) (genModOneByte):
+       rewritten
+       * support/regression/tests/onebyte.c: added
+
+2004-02-11 Vangelis Rokas <vrokas AT otenet.gr>
+
+       * gen.c (genInline): reverted to old code for assemnling inline
+       code because of bug reported James Chadd
+
+2004-02-10 Vangelis Rokas <vrokas AT otenet.gr>
+
+       * ralloc.h: missing declarations from previous patch,
+       seems that patch for ralloc.h was never applied, fixed
+       
+2004-02-10 Hans-Juergen Dorn <hans.dorn AT apl-landau.de>
+          patch committed by Vangelis Rokas <vrokas AT otenet.gr>
+
+       * pcode.c,
+       * pcode.h,
+       * ralloc.h: added FSR0L, FSR0H and other missing PIC16 SFR's for
+       indirect addressing. Marked FSR0 as deprecated
+       * gen.c (pointerCode): commented out, not needed now
+       (pic16_popGet2p): new MOVFF helper function
+       (genGenPointerGet),
+       (genGenPointerSet): reimplemented with MOVFF and POSTINC0
+       (shiftRLong): removed duplicate debugging info
+
+2004-02-10 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
+
+       * src/ds390/gen.c (genNearPointerGet),
+       * src/mcs51/gen.c (genNearPointerGet): allow the genDataPointerGet()
+       optimization with bits, but not bitfields.
+       * src/ds390/ralloc.c (packRegisters),
+       * src/mcs51/ralloc.c (packRegisters): fixed bug #884453 & #880832
+
+2004-02-09 Bernhard Held <bernhard AT bernhardheld.de>
+
+       * src/SDCCcse.c (algebraicOpts): copy operands before modification
+
+2004-02-09 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
+
+       * src/SDCCsymt.h,
+       * src/SDCCicode.c (operandFromSymbol),
+       * src/mcs51/ralloc.c (verifyRegsAssigned, serialRegAssign),
+       * src/ds390/ralloc.c (verifyRegsAssigned, serialRegAssign),
+       * src/z80/ralloc.c (verifyRegsAssigned, serialRegAssign),
+       * src/hc08/ralloc.c (verifyRegsAssigned, serialRegAssign),
+       * src/pic/ralloc.c (verifyRegsAssigned, serialRegAssign),
+       * src/pic16/ralloc.c (verifyRegsAssigned, serialRegAssign): fixed
+       bug #892038
+       * src/SDCCast.c (createIvalStruct, createIvalArray, gatherAutoInit),
+       * src/SDCCglue.c (emitRegularMap, printIvalStruct, printIvalArray,
+       printIvalCharPtr, printIvalPtr, printIval, emitStaticSeg, emitOverlay)
+       * src/SDCCsymt.c (newSymbol),
+       * src/SDCC.y (struct_or_union_specifier, enum_specifier, 
+       enumerator_list),
+       * src/SDCCval.h,
+       * src/SDCCval.c (newiList): fixed bug #885705
+
 2004-02-08  Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
 
        * doc/sdccman.lyx: added section 3.1.4: sdcclib.
 
        * pcode.c (pic16initMnemonics): fixed typo in assignment to PCOP_RLNCF
        PCOP_RLCF was overwritten!
-       * gen.c (genSkip) commented out calls to pic16_emitcode,
-       * (genCmpEQ) fixed "long" compares, only high word did get compared,
+       * gen.c (genSkip): commented out calls to pic16_emitcode,
+       * (genCmpEQ): fixed "long" compares, only high word did get compared,
        * (genlshTwo),
-       * (genRRC) added debugging info,
-       * (shiftL2Left2Result) Fixed bug, if offr > offl. Result got
+       * (genRRC): added debugging info,
+       * (shiftL2Left2Result): Fixed bug, if offr > offl. Result got
        overwritten while shifting,
-       * (shiftR2Left2Result) Fixed bug, if offr < offl. Result got
+       * (shiftR2Left2Result): Fixed bug, if offr < offl. Result got
        overwritten while shifting,
        * (AccLsh),
        * (AccRsh),
        * (shiftLLeftOrResult),
        * (shiftRLeftOrResult),
        * (shiftRLong),
-       * (shiftLLong) Implemented with pic16_emitpcode
-       * (genlshFour) Replaced pic16_aopPut with pic16_emitpcode,
-       * (genLeftShift) Fixed bug, operand for shift by variable always
+       * (shiftLLong): Implemented with pic16_emitpcode
+       * (genlshFour): Replaced pic16_aopPut with pic16_emitpcode,
+       * (genLeftShift): Fixed bug, operand for shift by variable always
        was "and"ed with 0x0f,
        * (genLeftShiftLiteral),
        * (genrshTwo),
-       * (genRightShiftLiteral) added debugging info,
-       * (genrshFour) added comment,
-       * (genRightShift) determined signedness from operand "left"
+       * (genRightShiftLiteral): added debugging info,
+       * (genrshFour): added comment,
+       * (genRightShift): determined signedness from operand "left"
        instead of "result"
 
 2004-02-04 Erik Petrich <epetrich AT ivorytower.norman.ok.us>