X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=ChangeLog;h=53a488801485a42d925364ec736972e4119a1b97;hb=17b0515cc3be02f7757905ca656d8e6e19f7231e;hp=59eb72480afc590f62cacbece259523c2acc9c24;hpb=99a0f0b7e44bd55936b15e22295039d8e78ef196;p=fw%2Fsdcc diff --git a/ChangeLog b/ChangeLog index 59eb7248..53a48880 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,145 @@ +2004-07-26 Bernhard Held + + * support/valdiag/tests/overflow.c: fixed warning on (1 >> 40) + +2004-07-26 Frieder Ferlemann + + * doc/sdccman.lyx: updated example in section "Absolute Addressing" + * src/mcs51/peeph.def: added contributed fix for "bug" #995347 as + peephole 177.e. Thanks to anonymous + +2004-07-25 Vangelis Rokas + + * src/pic16/glue.c (pic16_printIvalFuncPtr): when an extern + function isn't used in the source but referenced as a + variable initializer then declare it as extern in .asm file + +2004-07-24 Vangelis Rokas + + * .version: increased version number to 2.4.3 + + Adding version extension according to ChangeLog CVS revision + * src/Makefile.in (target all): added dependency 'version.h' + * (rule version.h): added rule to create version.h from ChangeLog, + * (rule dep): added dependency version.h, + * src/version.awk: AWK script to create version.h + * src/SDCCdwarf2.c (dwWriteModule), + * src/SDCCglue.c (initialComments), + * src/SDCCmain.c (printVersionInfo): modified to write after + version string the version extension number, + * src/SDCCutil.c: included "version.h" + * (getBuildNumber): NEW, returns SDCC's ChangeLog minor revision + number, + * src/SDCCutil.h: added prototype for getBuildNumber + + * src/SDCCmain.c (parseCmdLine): when sOpt is 'I' add rest in + includeDirsSet, too, + * src/SDCCsymt.c (checkSClass): don't emit error when a variable, + const char [] is found in function prototype... + + * src/pic16/genarith.c (pic16_genUMult8XLit_8): optimization to omit + moving to WREG with source is already in WREG, + * src/pic16/gen.h: added AOP_FSR0 and AOP_FSR2 in enum, + * src/pic16/gen.c (getFreePtr): updated to look for FSR0 and FSR2, + * (aopForSym): stack'ed symbols are partially supported, added + if-clause to support symbols in FARSPACE, + * (sameRegs): added test for AOP_ACC to see if registers are same, + * (pic16_freeAsmop): added case for AOP_FSR0 and AOP_FSR2, + * (pic16_aopGet): added case for AOP_FSR0 and AOP_FSR2, + * (pic16_popRegFromString): will not allocate a new register if it + doesn't find one by name, bug may have introduced... + * (pic16_popGet): added case for AOP_FSR0 and AOP_FSR2, + * (genIpush): revived to use pic16 port's stack, + * (genAddrOf): added incomplete case for stack'ed operand, + * (genCast): optimized a pair of MOVFW,MOVWF to MOVFF + * src/pic16/genutils.c (pic16_genNot): almot new vesrion for NOT, + can handle multibyte operands, + * src/pic16/glue.c (pic16_printIval*): some debug info added, + * (pic16initialComments): added message for MPLAB compatibility + mode enabled, + * src/pic16/main.h: prototype for pic16_mplab_comp, + * src/pic16/main.c (pic16_optionsTable): new option --mplab-comp, + which enabled MPLAB compatibility mode (i.e. no #LINE/#FILE, BANKED) + * (_pic16_linkEdit): NEW, handles link stage, transferred here + because of increased complexity of procedure, + * (_process_pragma): stack pragma changed to format 'stack pos len', + emit symbol '_stack_end' to conform with gplink, + * src/pic16/pcode.c (pic16_newpCodeOpBit): using pic16_regWithName + to search for register, + * (pic16_get_op, pic16_get_op2): added case for PO_W, PO_WREG and + PO_GPR_REGISTER, + * (pic16_pCode2str): when in MPLAB compatibility mode, comment out + #LINE directives and replace 'B' with 'BANKED' in instruction opcodes + * (pic16_getRegFromInstruction, pic16_getRegFromInstruction2): added + case for PO_GPR_REGISTER, + * (pic16_AnalyzeBanking): removed the old message for inc2h.pl, past + dies, the new era is ahead !... + * src/pic16/ralloc.c: added hash reposits pic16_dynAllocRegNames and + pic16_dynInternalRegs, + * (pic16_allocregWithName, pic16_procregWithName, pic16_regWithname): NEW, + * (pic16_allocDirReg): minor optimizations and bug fixes, + * (pic16_allocWithIdx): when searching pic16_dynProcessorRegs use fixed, + + * device/lib/pic16/startup/crt0*.c: extern definition of stack_end, + load stack and frame pointer with address of 'stack_end' symbol + +2004-07-23 Vangelis Rokas + + * src/pic16/glue.c (pic16emitStaticSeg): fixed bug with files + without source code but only variable initializers + +2004-07-20 Vangelis Rokas + + * src/pic16/glue.c (pic16emitRegularMap): unused functions marked as + external are not declared as extern to reduce overhead while linking + +2004-07-20 Maarten Brock + + * src/SDCCast.c (decorateType): removed buggy fix for bug #979599 + +2004-07-11 Maarten Brock + + * src/SDCCglue.c (printIvalArray): fixed bug #984229, thanks to Phuah + Yee Keat for the patch + * src/SDCCast.c (decorateType): fixed bug #979599 + * src/ds390/gen.h: removed local fReturnSizeDS390 + * src/ds390/gen.c: made fReturnSizeDS390 signed short to remove a warning + * src/ds390/gen.c (genAnd, genOr, genXor), + * src/mcs51/gen.c (genAnd, genOr, genXor): generate better optimized code + +2004-07-04 Vangelis Rokas + + * src/SDCCmain.c (linkEdit): modifications only for pic16 port, + add relFilesSet to $3, manipulate $2 to handle linking of object + files without source files in command line, + * device/include/pic16 (all headers): added ID location macros, + * src/pic16/device.c (struct PIC16_device Pics16[]): added field + entries for ID location bytes, + * (pic16_assignIdByteValue): NEW, + * src/pic16/device.h: new structures idRegInfo_t and idBytesInfo_t, + added field dumpcalltree to pic16_options_t, + * src/pic16/gen.c (genCmp): fixed bug case so a temporary register + is used instead of pic16_Gstack_base_addr, check if (ifx) before + emitting rFalseIfx label after check_carry label, + * src/pic16/glue.c (PIC16_IS_IDLOC_ADDRESS, PIC16_IS_HWREG_ADDRESS, + pic16_emitDIRegs), NEW + * (pic16glue): dump .calltree file when option --calltree found, + * src/pic16/main.c (OPTION _pic16_optionsTable): new option --calltree + * (_pic16_genAssemblerPreamble): emit ID locations after + configuration registers, + * (pic16_linkCmd): modifications of the link command, + * src/pic16/pcode.c (pic16_pciMOVFF): PCC_REGISTER replaces PCC_REGISTER2 + * (pic16_pCodeInitRegisters): don't init stack registers, + * (pic16_findPrevInstruction): fixed bug, + * (pic16_getRegFromInstruction, pic16_getRegFromInstruction2): fixed + bug with immediate registers, + * (buildCallTree): traces stack push and pop, + * (pct2): dump also stack usage for each function, + * src/pic16/ralloc.c (dynrIdx): registers names start from 0x00 + * (pic16_allocDirReg): various modifications, + * (pic16_typeRegWithIdx): when searching pic16_dynProcessorRegs set + fixed to 1, + 2004-07-02 Vangelis Rokas * src/pic16/pcode.c: removed buggy double colon @@ -74,8 +216,8 @@ 2004-06-25 Frieder Ferlemann - * src/mcs51/peeph.def: added peepholes 182.d (return 0.0), - 256 (range check), 257 (do while), 258.a-f (bit banging + * src/mcs51/peeph.def: added peepholes 182.d (return 0.0), + 256 (range check), 257 (do while), 258.a-f (bit banging f.e. on 3-wire SPI bus) 2004-06-21 Erik Petrich @@ -147,7 +289,7 @@ * src/z80/ralloc.c (serialRegAssign), * src/ds390/ralloc.c (serialRegAssign), * src/mcs51/ralloc.c (serialRegAssign): fixed bug #964479 - + 2004-06-08 Erik Petrich * src/SDCCicode.c (geniCodeJumpTable): fixed bug #967601 @@ -172,7 +314,7 @@ command argument --denable-peeps, for testing, * device/lib/pic16/startup/Makefile: added --no-peep,--pomit-config-words, --pomit-ivt in COMPILE_FLAGS - + 2004-06-06 Maarten Brock * src/pic16/pcode.c (pic16_emitDB): removed double semicolon which fails @@ -6199,3 +6341,5 @@ * as/mcs51/aslink.h: accept everything as symbol name in rel-files, bug fix ID 452601 * as/mcs51/lklex.c: accept everything as symbol name in rel-files, bug fix ID 452601 * as/mcs51/lksym.c: accept everything as symbol name in rel-files, bug fix ID 452601 + +$Revision$