📄 changelog.txt
字号:
2007-09-18 Borut Razem <borut.razem AT siol.net>
* src/SDCCval.c: fixed MSVC warning C4146: unary minus operator
applied to unsigned type, result still unsigned
2007-09-17 Borut Razem <borut.razem AT siol.net>
* src/SDCC.y, src/SDCCast.c, src/SDCCcse.c, src/SDCCglue.c,
src/SDCCicode.c, src/SDCCopt.c, src/SDCCsymt.c, src/SDCCval.c,
src/SDCCval.h, src/hc08/gen.c, src/avr/gen.c, src/ds390/gen.c,
src/mcs51/gen.c, src/pic/gen.c, src/pic/genarith.c, src/pic/glue.c,
src/pic/ralloc.c, src/pic16/gen.c, src/pic16/genarith.c,
src/pic16/genutils.c, src/pic16/glue.c, src/pic16/main.c,
src/z80/gen.c, src/z80/ralloc.c:
fixed bug #1739860 - sdcc does not work correctly on some platforms
(not finished)
introduced and used ulFromVal(), double2ul(), used strtod() instead sscanf()
2007-09-17 Raphael Neider <rneider AT web.de>
* src/pic16/device.c: reverted to previous version
* device/lib/pic16/Makefile.common.in: quieten gpasm via -Wa,-q
2007-09-16 Raphael Neider <rneider AT web.de>
* src/pic16/device.c (pic16_dump_usection): do not reserve 0 bytes,
as this raises a ton of gpasm warnings, just emit a second label
* src/pic16/devices.inc,
* device/lib/pic16/pics.all,
* device/lib/pic16/libdev/pic18f2585.c,
* device/lib/pic16/libdev/pic18f2680.c,
* device/lib/pic16/libdev/pic18f2682.c,
* device/lib/pic16/libdev/pic18f2685.c,
* device/lib/pic16/libdev/pic18f4585.c,
* device/lib/pic16/libdev/pic18f4680.c,
* device/lib/pic16/libdev/pic18f4682.c,
* device/lib/pic16/libdev/pic18f4685.c,
* device/include/pic16/pic18f2585.h,
* device/include/pic16/pic18f2680.h,
* device/include/pic16/pic18f2682.h,
* device/include/pic16/pic18f2685.h,
* device/include/pic16/pic18f4585.h,
* device/include/pic16/pic18f4680.h,
* device/include/pic16/pic18f4682.h,
* device/include/pic16/pic18f4685.h,
* device/include/pic16/pic18fregs.h: added 18f2585, 18f2680,
18f2682, 18f2685, 18f4585, 18f4680, 18f4682, 18f4685,
patch contributed by Anton Strobl, applied with changes
2007-09-16 Raphael Neider <rneider AT web.de>
* device/include/pic16/pic18f2431.h,
* device/include/pic16/pic18f25j10.h,
* device/include/pic16/pic18f4431.h,
* device/include/pic16/pic18f45j10.h: adopted common include style
* device/include/pic16/pic18f1320.h,
* device/include/pic16/pic18f2320.h,
* device/include/pic16/pic18f2525.h,
* device/include/pic16/pic18f4320.h,
* device/include/pic16/pic18f4525.h: NEW, just include proper .h file
* device/include/pic16/pic18fregs.h: prepared for automatic include
file selection by having DEVICE.h for every DEVICE
* device/lib/pic16/libdev/pic18f2320.c,
* device/lib/pic16/libdev/pic18f4320.c: just include proper .c file
* device/lib/pic16/configure.in,
* device/lib/pic16/configure: use rm -rf instead of rmdir
* device/lib/pic16/Makefile.in: use RMDIR to remove build directories
* device/lib/pic16/libc/stdlib/free.c: avoid warning on pointer cast
2007-09-09 Borut Razem <borut.razem AT siol.net>
* src/SDCCmain.c, src/SDCCutil.c: print newline after printVersionInfo(),
distingush between i386 and ppc Mac OS X versions
2007-09-05 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (genReceive): fixed bug 1788177
* support/regression/tests/bug1788177.c: new, added
2007-09-04 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* doc/sdccman.lyx: mentioned d52 and cmake, customizing startup code
* device/include/mcs51/lint.h added keyword __naked
2007-09-04 Maarten Brock <sourceforge.brock AT dse.nl>
* src/pic16/glue.c,
* src/pic/glue.c,
* src/SDCCmem.h: removed maxRegBank
* src/SDCCmem.c (allocVariables): removed maxRegBank and moved setting
RegBankUsed[] to checkFunction() in SDCCsymt.c to fix bug 1759839
* src/SDCCsymt.c (checkFunction): set RegBankUsed[] here
* src/mcs51/peep.c (isCallerSaveFunc, termScanAtFunc): changed function
name and behaviour to handle banked functions
(scan4op): and use it to fix bug 1786213
2007-09-03 Raphael Neider <rneider AT web.de>
* device/include/pic16/pic18f248.h,
* device/include/pic16/pic18f258.h,
* device/include/pic16/pic18f448.h,
* device/lib/pic16/libdev/pic18f248.c,
* device/lib/pic16/libdev/pic18f258.c,
* device/lib/pic16/libdev/pic18f448.c: fixed TRISEbits,
added T0CONbits, fixes #1786891
2007-08-29 Maarten Brock <sourceforge.brock AT dse.nl>
* src/ds390/gen.c (genFarPointerSet),
* src/hc08/ralloc.c (packRegisters),
* src/mcs51/ralloc.c (packRegisters),
* src/SDCCcse.c (cseBBlock): check if result is a symbol first to fix
bug 1750318
* src/SDCCicode.h: POINTER_SET can be true for literals too
* support/regression/tests/bug1750318.c: new, added
2007-08-23 Borut Razem <borut.razem AT siol.net>
* debugger/mcs51/sdcdb.c: fixed compilation with older readline
library versions without the completition functionality
2007-08-22 Raphael Neider <rneider AT web.de>
* device/include/pic16/pic18f1220.h,
* device/lib/pic16/libdev/pic18f1220.c: applied patch #1776191
2007-08-12 Borut Razem <borut.razem AT siol.net>
* debugger/mcs51/Makefile.in: support/Util/SDCCerr.[ch] moved to src
2007-08-11 Borut Razem <borut.razem AT siol.net>
* support/Util/SDCCerr.c, support/Util/SDCCerr.h, src/src.dsp,
src/Makefile.in, src/Makefile.bcc, support/scripts/listerr.c:
support/Util/SDCCerr.[ch] moved to src
* as/hc08/as_hc08.dsp, as/link/hc08/link_hc08.dsp,
as/link/z80/linkgbz80.dsp, as/link/z80/linkz80.dsp,
device/examples/ds390/tinitalk/tinitalk.dsp,
device/examples/serialcomm/windows/serialcomm.dsp,
support/librarian/librarian.dsp:
removed linking of unused odbc32.lib and odbccp32.lib
* support/scripts/winres.h:
added for compilation with Visual C++ 2005 Express Edition
2007-08-09 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
* device/include/mcs51/at89c51ed.h: Fixed typo in declarations of CKCON0
and CKCON1.
2007-08-07 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* sdccconf_in.h: update the endian test so that SPARC Solaris
does not throw syntax errors
2007-08-06 Borut Razem <borut.razem AT siol.net>
* doc/sdccman.lyx: removed two index entries which prevented the
generation of sdcc doc archive
2007-08-05 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
* doc/sdccman.lyx: Same changes made 2007-07-28 but using lyx 1.4.4
instead of lyx 1.5.0.
2007-07-31 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* device/include/hc08/mc68hc908apxx.h: new header contributed by
Lucas Loizaga, with minor modifications. Thanks!
2007-07-28 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
* doc/sdccman.lyx: Documented --acall-ajmp and described new features
in sdcclib.
2007-07-28 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
* src/SDCCglobl.h, src/SDCCpeeph.c, src/SDCCglue.c, src/mcs51/main.c,
src/mcs51/peeph.def: Added option --acall-ajmp: replaces lcall/ljmp
with acall/ajmp.
2007-07-22 Borut Razem <borut.razem AT siol.net>
* configure.in, configure: re-introduced .version
* sdcc.spec, doc/INSTALL.txt: they are used only for releases;
the version reverted to 2.7.0
2007-07-18 Maarten Brock <sourceforge.brock AT dse.nl>
* configure.in,
* doc/sdccman.lyx: bumped version to 2.7.3
* device/include/mcs51/compiler.h: fixed elif->else
* src/mcs51/gen.c (genAnd, genOr): handle accuse for pure bit operands
* src/mcs51/ralloc.c (createStackSpil): fixed SCLS bug with sloc for sbit,
(operandUsesAcc, packRegsForAccUse): added parameter allowBitspace to
enable accuse for bit operands
* src/SDCCmain.c (printVersionInfo),
* src/SDCCutil.c (getBuildEnvironment): factored out creation of build
environment descriptor
* src/SDCCutil.h: added getBuildEnvironment
* src/SDCCglue.c (initialComments): use getBuildEnvironment
* support/regression/tests/bug1464657.c: enabled test test_Peephole251
* support/regression/tests/bug-408972.c: enabled test leftShiftLong
* support/regression/tests/bug1348008.c,
* support/regression/tests/bug1496419.c,
* support/regression/tests/bug1503067.c,
* support/regression/tests/preproc.c: added empty tests
2007-07-15 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/tests/bug1678803.c: new, added
2007-07-14 Maarten Brock <sourceforge.brock AT dse.nl>
* as/link/aslink.h,
* as/link/hc08/lkihx.c,
* as/link/hc08/lkrloc.c,
* as/link/mcs51/lkihx.c,
* as/link/mcs51/lkrloc.c: renamed ihxEntendedLinearAddress to
ihxExtendedLinearAddress
* as/link/mcs51/lkrloc.c (relr),
* as/mcs51/asout.c (outr11, outr19): handle absolute destination for
acall/ajmp, see bug 830513
2007-07-13 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCcse.c (replaceAllSymBySym): renamed siaddr to isaddr,
(cseBBlock): remember aggr2ptr has been used
* src/SDCCicode.c (operandSize): added function to handle aggr2ptr,
(geniCodeAssign): fixed bug 868103
* src/SDCCicode.h: made operand.aggr2ptr 2 bits wide,
added operandSize prototype
* src/mcs51/gen.c (aopOp): use operandSize to fix bug 868103,
(genDataPointerSet): use max of size of right and result,
(gencjne): added parameter useCarry for optimization,
(genCmpEq): use carry if appropriate,
(genXor): check if operand already in carry
* support/regression/tests/bug-868103.c: enabled test
2007-07-12 Raphael Neider <rneider AT web.de>
* src/pic16/gen.c (genNearPointerSet): fixed handling of literals
2007-07-11 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCsymt.c (compareType): fixed bugs 1738367 and 1745717 with patch
from Robert Larice, thanks
* support/regression/tests/bitopcse.c,
* support/regression/tests/bitvars.c,
* support/regression/tests/bug-908454.c: use <stdbool.h> for the bit types
* support/regression/tests/bug-927659.c: enabled test for z80
* support/regression/tests/bug1738367.c: added extra tests by Frieder
* support/regression/tests/bug1745717.c: new, added
* support/regression/tests/literalop.c,
* support/regression/tests/nullstring.c: removed storage definitions that
are now in testfwk.h
2007-07-10 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/stdbool.h: do not define __bool_true_false_are_defined
and bool for targets that do not fully support it.
* support/regression/tests/bug1546986.c,
* support/regression/tests/bug1723128.c,
* support/regression/tests/bug1734654.c,
* support/regression/tests/bug1738367.c,
* support/regression/tests/constantRange.c: only use bool if allowed
2007-07-09 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/peep.c (isCallerSaveFunc): fixed bug 1749275, thanks Robert
Larice, also handle function pointers
* support/regression/tests/bug1749275.c: new, added
2007-07-03 Borut Razem <borut.razem AT siol.net>
* src/mcs51/gen.c, src/avr/gen.c, src/pic/gen.c, src/z80/gen.c,
src/pic16/gen.c, src/hc08/gen.c, src/ds390/gen.c: fixed RFE
#1746528: SDCC should ignore ':' in inline assembler comments
* device/include/typeof.h: fixed bug #1747142: typeof.h needs fixing
2007-07-02 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51/C8051F360.h: fixed bug #1746410, thanks Chris Jones
* device/lib/mcs51/crtxclear.asm: do not set __XPAGE unconditionally
2007-06-29 Borut Razem <borut.razem AT siol.net>
* src/SDCCmain.c: fixed bug
#1744746: SDCC #4867: broken option --xram-size
2007-06-28 Borut Razem <borut.razem AT siol.net>
* sim/ucsim/configure.in, sim/ucsim/configure, sim/ucsim/ddconfig_in.h:
find out the endianess of host machine for ucsim
2007-06-27 Borut Razem <borut.razem AT siol.net>
* support/regression/generate-cases.py: corrected the file name
in warning
* configure.in, configure, sdccconf_in.h: find out the endianess of
host machine
* src/SDCC.y: fixed bug #1744146: Crash when compiling array of
negative size
2007-06-27 Gudjon I. Gudjonsson <gudjon AT gudjon.org>
* device/include/mcs51/p89c66x.h: NXP header file, OK to change licence
2007-06-26 Borut Razem <borut.razem AT siol.net>
* support/regression/generate-cases.py: display warning if function
list is empty; implemented more flexible rule for detection of
testing functions, allowing return type 'void' in the same line as
the function name in the function definition
* support/regression/tests/bug-1654060.c: corrected test
* support/librarian/sdcclib.c: fixed warning:
format '%s' expects type 'char *', but argument 2 has type 'int'
2007-06-25 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
* support/librarian/sdcclib.c: Added feature Requests [1510635]
Multiple infiles for sdcclib.
2007-06-20 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c (inlineFindMaxBlockno, createFunction): fixed
bug 1731741
2007-06-18 Borut Razem <borut.razem AT siol.net>
* src/SDCCmain.c: removed option -C since SDCC compiler doesn't know
how to handle comments, so they have to be removed by the
preprocessor; fixed bug #1738926:SDCC #4852: broken option -V
* src/SDCCmain.c, src/SDCCargs.h, src/ds390/main.c, src/mcs15/m
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -