This repository has been archived by the owner on Apr 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 53
/
ChangeLog
21534 lines (16539 loc) · 818 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2011-05-28 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCerr.c,
src/SDCCerr.h,
src/SDCCval.c,
src/SDCCval.h,
src/SDCC.y,
src/SDCCglue.c,
src/pic14/glue.c,
src/pic16/glue.c,
src/SDCCast.c:
Support for designated initializers, thanks C. Scott and R. Quattlebaum.
2011-03-27 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/as6808/m08mch.c, sdas/as6808/m08pst.c,
* sdas/as8051/i51mch.c, sdas/as8051/i51pst.c,
* sdas/asgb/gbmch.c, sdas/asgb/gbpst.c,
* sdas/asz80/z80mch.c, sdas/asz80/z80pst.c,
* sdas/asxxsrc/asdata.c, sdas/asxxsrc/asexpr.c,
* sdas/asxxsrc/aslist.c, sdas/asxxsrc/asmain.c,
* sdas/asxxsrc/asout.c, sdas/asxxsrc/asxxxx.h,
* sdas/linksrc/aslink.h, sdas/linksrc/lkaomf51.c,
* sdas/linksrc/lkar.c, sdas/linksrc/lkarea.c,
* sdas/linksrc/lkdata.c, sdas/linksrc/lkelf.c,
* sdas/linksrc/lkeval.c, sdas/linksrc/lkhead.c,
* sdas/linksrc/lkihx.c, sdas/linksrc/lklex.c,
* sdas/linksrc/lklib.c, sdas/linksrc/lklibr.c,
* sdas/linksrc/lklist.c, sdas/linksrc/lkmain.c,
* sdas/linksrc/lkmem.c, sdas/linksrc/lkrloc.c,
* sdas/linksrc/lksym.c, sdas/linksrc/lksdcclib.c: first steps towards ASxxxx 5
2011-03-27 Borut Razem <borut.razem AT gmail.com>
* src/z80/main.c, src/z80/gen.c, src/z80/gen.h,
src/z80/ralloc.c, src/z80/ralloc.h,
src/mcs51/gen.c, src/ds390/gen.c:
dbuf-ized, get rid of global buffer, code cleaning
* src/SDCCasm.c, src/SDCCasm.h:
removed tsprintf()
* support/Util/dbuf.c, support/Util/dbuf.h:
added dbuf_is_initialized()
2011-03-26 Borut Razem <borut.razem AT gmail.com>
* src/mcs51/gen.c, src/mcs51/gen.h,
src/mcs51/ralloc.c, src/mcs51/ralloc.h,
src/ds390/gen.c, src/ds390/ralloc.c:
dbuf-ized, get rid of global buffer, code cleaning
2011-05-26 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCcse.c (boolCast):
Fully reenabled boolCast, and fixed my stupid typo that triggered bug 3223041.
2011-03-25 Maarten Brock <sourceforge.brock AT dse.nl>
* src/hc08/gen.c: cosmetics
* src/hc08/ralloc.c (packRegsForAssign): fixed bug 1477149 & SINHF,
throughout synced with mcs51/ralloc.c
* support/regression/tests/float_single.c: enabled SINHF
2011-05-25 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCcse.c (boolCast, cseBBlock):
Reenabled boolCast except for the one case that triggers bug 3223041.
2011-03-24 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCsymt.h: added IS_BOOLEAN
* src/SDCCast.c (getResultTypeFromType),
* src/SDCCicode.c (geniCodeLogic, geniCodeLogicAndOr, ast2iCode),
* src/SDCCsymt.c (computeTypeOr, computeType, compareType),
* src/SDCCval.c (checkConstantRange): use IS_BOOLEAN
* src/SDCCcse.c (boolCast, cseBBlock): disabled boolCast fixed bug 3223041
* src/z80/gen.c (_toBoolean): added parameter needflag,
(_castBoolean, genCast): castBoolean factored out of genCast
* support/regression/tests/bug3223041.c: modified for hc08 without _Bool
2011-03-24 Borut Razem <borut.razem AT gmail.com>
* src/SDCCglue.c, src/ds390/gen.c, src/ds390/gen.h,
src/ds390/ralloc.c, src/ds390/ralloc.h, src/SDCCptropt.c,
src/SDCCptropt.h, src/SDCCicode.c, src/SDCCicode.h:
dbuf-ized, get rid of global buffer, code cleaning,
use dbuf_tprintf() instead of tsprintf()
2011-03-22 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/ports/ds390/spec.mk,
* support/regression/ports/hc08/spec.mk,
* support/regression/ports/ucz80/spec.mk: fixed output
2011-03-21 Borut Razem <borut.razem AT gmail.com>
* src/SDCCmacro.c: fixed bug, introduced 2011-03-20:
call dbuf_vprintf() instead dbuf_printf() in mvsprintf()
2011-03-21 Maarten Brock <sourceforge.brock AT dse.nl>
* src/ds390/gen.c (genRet): forgot the _endLazyDPSEvaluation
* support/regression/compact-results.py: new, added
* support/regression/Makefile.in: print test name and compact results after
running the test for better progress insight with make -j
2011-03-21 Borut Razem <borut.razem AT gmail.com>
* src/SDCCval.c, src/SDCCval.h, src/SDCCast.c: dbuf-ized
2011-03-20 Borut Razem <borut.razem AT gmail.com>
* src/SDCCicode.c, src/SDCCicode.h, src/SDCCsymt.c, src/SDCCsymt.h,
src/port.h, src/SDCCast.c, src/SDCCast.h, src/SDCCBBlock.c,
src/SDCCBBlock.h, src/z80/main.c, src/pic16/main.c:
dbuf-ized, get rid of global buffer, code cleaning
* src/SDCCmacro.c, src/SDCCmain.c, support/Util/NewAlloc.c,
support/Util/newalloc.h: introduced Safe_strndup()
2011-03-20 Maarten Brock <sourceforge.brock AT dse.nl>
* src/ds390/gen.c (movc, toCarry): replaced movc with toCarry,
(genNot, genSend, genRet): used toCarry,
(genAnd, genOr, genXor): fixed bug 3223041
* src/mcs51/gen.c (toCarry): handle IS_OP_ACCUSE,
(genCmpEq, genAnd, genOr, genXor): fixed bug 3223041
* support/regression/tests/bug3223041.c: new, added
2011-03-20 Borut Razem <borut.razem AT gmail.com>
* src/SDCCmain.c, src/SDCCmacro.c, src/SDCCmacro.h, src/SDCCutil.c,
src/SDCCutil.h: dbuf-ized SDCCmacro.c
* src/SDCCutil.c, src/SDCCutil.h, src/SDCCmain.c, src/ds390/main.c, src/z80/main.c:
dbuf-ized buildCmdLine(), moved to SDCCutil
* src/SDCCbuild_cmd.[ch]: deleted
2011-03-19 Borut Razem <borut.razem AT gmail.com>
* src/SDCCmain.c, src/SDCCutil.c, src/SDCCutil.h, src/SDCCmacro.c,
src/SDCCmacro.h:
fixed bug #3152525:
sdcc doesn't pass double-quotes from -D option to sdcpp
* debugger/mcs51/simi.c:
call ioctl(sock, FIONBIO, &iMode)
replaced with fcntl(sock, F_SETFL, FNONBLOCK | FASYNC) on *nix
2011-03-19 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/asxxsrc/asmain.c (main): fixed warning
* sdas/linksrc/lkaomf51.c (OutputAOEMF51): fixed bug 1630751
(ParseRegisters, CollectInfoFromCDB): get address for ascending registers
* src/cdbFile.c: cosmetics
* support/regression/fwk/lib/statics.c,
* support/regression/tests/bug1477149.c: fixed for type float
* sdas/linksrc/lkaomf51.c: disabled DODUMP
2011-03-18 Borut Razem <borut.razem AT gmail.com>
* sdas/asxxsrc/asmain.c:
reverted incorrect fix for bug #3195019:
option -o just instructs sdas to generate an object file,
it doesn't take an object output file name as argument
* sdas/asxxsrc/asmain.c:
hopefully properly fixed bug #3195019
2011-03-18 Maarten Brock <sourceforge.brock AT dse.nl>
* src/cdbFile.c (cdbWriteBasicSymbol),
* src/SDCCglue.c (emitDebugSym),
* debugger/mcs51/symtab.c (gc_strcat, symLookup): concatenate module and
function name seperated by . for locals to fix bug 1477149 with --debug
* sdas/linksrc/lkaomf51.c (CollectInfoFromCDB): split S:L and L:L locals,
F:F are static, check modules for L:F and L:X
* src/SDCCdebug.c: cosmetics
* src/SDCCglue.c (emitOverlay): fixed bug 1477149
* support/regression/fwk/lib/statics.c,
* support/regression/ports/ds390/fwk.lib,
* support/regression/ports/gbz80/fwk.lib,
* support/regression/ports/hc08/fwk.lib,
* support/regression/ports/ucz80/fwk.lib,
* support/regression/tests/bug1477149.c: new, added
* support/regression/ports/ds390/spec.mk,
* support/regression/ports/hc08/spec.mk,
* support/regression/ports/mcs51-common/spec.mk
* support/regression/ports/ucz80/spec.mk: added FWKLIB and statics.rel
* support/regression/ports/host/spec.mk.in: added statics.o
* support/regression/ports/mcs51-common/fwk.lib: added statics.rel
* .version: bumped to 3.0.2
* src/cdbFile.c (cdbWriteBasicSymbol): applied patch from bug 1627975,
thanks sandra-l
2011-03-17 Borut Razem <borut.razem AT gmail.com>
* src/SDCCloop.c, src/SDCCsymt.c, src/SDCCast.c:
fixed empty statement warnings
* sdas/asxxsrc/asmain.c:
fixed bug #3195019: sdcc generates .rel instead of .o
2011-03-15 Borut Razem <borut.razem AT gmail.com>
* debugger/mcs51/configure.in, debugger/mcs51/configure:
added C99_FLAG to CFLAGS and MAKEDEP for SunPro C compiler
* debugger/mcs51/simi.c: include <sys/filio.h> in Solaris
2011-03-14 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCglue.c (pointerTypeToGPByte),
* src/ds390/gen.c (genCast): ds390 function pointer is no CPOINTER
2011-03-13 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCast.c (processParms): fixed bug 2084206,
(getLeftResultType): return RESULT_TYPE_GPTR for generic pointers,
(decorateType, CAST): don't change function pointer to CPOINTER
when resulttype is generic pointer, necessary for varargs
* support/regression/tests/bug2084206.c: new, added
2011-03-09 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCopt.c,
support/regression/tests/memory.c:
Fix for #3188357 from optralloc branch.
2011-03-06 Borut Razem <borut.razem AT gmail.com>
* sim/ucsim/cmd.src/Makefile.in:
fixed for bison, byacc and flex version 2.5.4
2011-03-05 Borut Razem <borut.razem AT gmail.com>
* sim/ucsim/configure, sim/ucsim/cmd.src/cmdlexcl.h,
sim/ucsim/cmd.src/Makefile.in, sim/ucsim/cmd.src/newcmd.cc,
sim/ucsim/cmd.src/cmdset.cc, sim/ucsim/cmd.src/cmdlex.l,
sim/ucsim/cmd.src/newcmdposix.cc, sim/ucsim/cmd.src/newcmdwin32.cc,
sim/ucsim/cmd.src/cmdpars.y, sim/ucsim/configure.in:
use bison instead unsupported bison++
* sim/ucsim/cmd.src/flex_lexer.h, sim/ucsim/cmd.src/cmdpars.cc,
sim/ucsim/cmd.src/cmdpars.h, sim/ucsim/cmd.src/FlexLexer.h,
sim/ucsim/cmd.src/cmdlex.cc: deleted
2011-03-03 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* sim/ucsim/z80.src/inst_cb.cc:
Fixed broken res b, a instruction.
2011-03-02 Borut Razem <borut.razem AT gmail.com>
* src/SDCCmain.c, doc/sdccman.lyx:
fixed use of SDCC_LIB environment variable:
first search in $SDCC_LIB/<model>
then search in $SDCC_LIB
2011-02-24 Borut Razem <borut.razem AT gmail.com>
* doc/sdccman.lyx: fixed bug #3191324: PIC instructions in documentation
2011-02-18 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/peeph-z80.def:
Minor peephole fix.
2011-02-20 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (genCmp): removed regression, fixes bug 3090354
2011-01-19 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-3184920.c:
Disabled for hc08.
2011-02-19 Maarten Brock <sourceforge.brock AT dse.nl>
* debugger/mcs51/cmd.c,
* debugger/mcs51/sdcdb.c,
* debugger/mcs51/simi.c,
* debugger/mcs51/symtab.c,
* src/SDCCargs.h,
* src/version.awk: cosmetic changes
* src/pic14/gen.c (genDataPointerSet),
* src/pic14/glue.c (emitIvals),
* src/SDCCsystem.c: fixed warnings
* src/SDCCerr.c (setWarningDisabled): check errNum
* src/SDCCpeeph.c: added optimizeReturn
* src/mcs51/peeph.def: disabled 237.x, fixed bug 1653651
* src/SDCCglobl.h: added options.peepReturn
* src/SDCCmain.c (parseCmdLine): added --peep-return & --no-peep-return
* support/scripts/resource.rc: replaced include "winres.h" with "winresrc.h"
* support/scripts/winres.h: deleted
2011-01-18 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-z80.def,
support/regression/tests/bug-3184920.c:
Fixed #3184920.
2011-02-18 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Fix for --reserve-regs-iy from optralloc branch.
2011-02-17 Borut Razem <borut.razem AT gmail.com>
* support/scripts/sdcc.nsi: use ${IsNT} from WinVer.nsh
2011-02-16 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Improvements from optralloc branch.
2011-02-13 Maarten Brock <sourceforge.brock AT dse.nl>
* src/src.dsp: added some header files, added Resource Files group
* src/version.awk: added SDCC_BUILD_NR
* support/scripts/resource.rc: added VERSIONINFO
2011-02-07 Borut Razem <borut.razem AT gmail.com>
* src/pic14/glue.c: applied patch #2924048:
__code initialized structures cause asm syntax error +patch.
Thanks Philip Gladstone
2011-02-06 Maarten Brock <sourceforge.brock AT dse.nl>
* src/avr/gen.c (aopOp): use OP_VALUE
* src/xa51/ralloc.c (packRegsForSupport): use OP_SYMBOL, OP_KEY, OP_DEFS
* src/SDCCloop.c (basicInduction): fixed bug 3150679
* support/regression/tests/bug3166208.c: added test for bug 3150679
2011-02-05 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCicode.c (setOperandType): fixed bug 3166208
* support/regression/tests/bug-221168.c: use __xdata from testfwk.h
* support/regression/tests/bug3166208.c: new, added
2011-02-04 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/port.mk,
src/SDCCsymt.h,
src/SDCCsymt.c,
src/SDCCglobl.h,
src/SDCCmain.c,
src/SDCCutil.c,
src/SDCClrange.c,
src/SDCCicode.h,
src/SDCCicode.c,
src/mcs51/gen.c,
src/z80/ralloc.c,
src/pic14/gen.c,
src/pic14/ralloc.c,
src/pic16/gen.c,
src/pic16/genutils.c,
src/hc08/gen.c,
src/ds390/gen.c,
src/ds390/ralloc.c:
Minor improvements from the optralloc branch.
2011-02-04 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* sim/ucsim/z80.src/inst_cb.cc:
Fixed #3166058.
* src/z80/gen.c:
Improvements from the optralloc branch.
2011-02-04 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Some fixes from from the optralloc branch.
2011-02-03 Borut Razem <borut.razem AT gmail.com>
* support/makebin/makebin.c:
fixed bugs #3171768: makebin fails when data is at the last byte,
#3171795: If makebin read_ihx fails, it should exit with an error code
2011-02-03 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/peeph-z80.def:
Peephole improvements from the optralloc branch.
* src/z80/gen.c:
Some cleanups from the optralloc branch.
2011-02-02 Borut Razem <borut.razem AT gmail.com>
* sdas/linksrc/Makefile.in:
fixed bug #3170674: Incorrect file ownerships after make install
2011-01-27 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (mova): added early optimization,
(getFreePtr): simplified aopp to aop,
(aopPtrForSym): factored out of aopForSym,
(freeAsmop,freeForBranchAsmop): fixed bug 3130806 for AOP_STK
* src/mcs51/gen.h (asmop): replaced aop_stk with aop_sym
* support/regression/tests/bug3130806.c: new, added
2011-01-25 Borut Razem <borut.razem AT gmail.com>
* src/SDCCsysytem.c: removed MSCV 2010 warnings
2011-01-17 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCicode.h,
src/SDCCicode.c:
Make argument to validateOpType non-const.
2011-01-17 Borut Razem Borut Razem <borut.razem AT gmail.com>
* src/SDCCmain.c: fixed bug introduced by me 2011-01-16
* support/Util/dbuf.c, support/Util/dbuf.h, src/SDCCsystem.c:
dbuf_detach_c_str() returns char *, for compatiblity with
dbuf_detach()
* configure.in, configure: fixed Solaris SunPro C compiler errors:
#error: "Use of <stdbool.h> is valid only in a c99 compilation environment."
by adding -xc99 option to CFLAGS and MAKEDEP
2011-01-16 Philipp Klaus Krause <pkk AT spth.de>
* SDCClrange.h,
SDCClrange.c:
Comment on the effects of dead code on live ranges.
2011-01-16 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCicode.h,
src/SDCCicode.c:
Make argument to validateOpType const.
2011-01-16 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-z80.def:
Two new peephole rules, optimizing code frequently generated by the new allocator.
2011-01-16 Borut Razem <borut.razem AT gmail.com>
* support/regression/collate-results.py: count invalid instructions
* sim/ucsim/z80.src/inst_xxcb.cc (inst_XXcb_set): fixed SET and RES handling
2011-01-15 Borut Razem <borut.razem AT gmail.com>
* src/SDCCmain.c, src/SDCCdwarf2.c, src/SDCCdwarf2.h, src/z80/gen.c,
src/SDCCglobl.h, src/pic16/pcode.h, src/pic16/pcode.c,
src/SDCCsystem.c, src/SDCC.lex:
code cleaning: removed warnings, use const char *
* src/pic14/glue.c (emitIvals): removed empty line generation
2011-01-15 Philipp Klaus Krause <pkk AT spth.de>
* SDCCglobl.h:
Use Maarten's better bool scheme.
2011-01-15 Philipp Klaus Krause <pkk AT spth.de>
* configure,
configure.in,
src/Makefile.in,
Makefile.common.in,
src/port.mk,
src/SDCCsymt.h,
src/SDCCsymt.c,
src/SDCClrange.c,
src/z80/z80.h,
src/z80/main.c,
src/z80/ralloc.h,
src/z80/ralloc.c,
src/z80/tree_dec.hh,
src/z80/ralloc2.cc,
src/z80/peeph-z80.def:
Reverted to old register allocator.
2011-01-15 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc:
Small change for MSVC compability:
2011-01-14 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/tree_dec.hh,
src/z80/ralloc2.cc:
Added GPLv2 or later license text.
2011-01-14 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc.c:
Remove some no longer used remains of the old register allocator.
2011-01-14 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/main.c:
Enable new register allocator options for the GBZ80.
2011-01-14 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/ralloc.c,
src/z80/ralloc2.cc:
Use new register allocator for the GBZ80.
2011-01-14 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* configure,
configure.in,
src/Makefile.in,
Makefile.common.in,
src/port.mk,
src/SDCCsymt.h,
src/SDCCsymt.c,
src/SDCClrange.c,
src/z80/z80.h,
src/z80/main.c,
src/z80/ralloc.h,
src/z80/ralloc.c,
src/z80/tree_dec.hh,
src/z80/ralloc2.cc,
src/z80/peeph-z80.def:
New register allocator for the Z80.
2011-01-11 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCglobl.h:
Use bool from stdbool.h, except for MSVC, where unsigned char is used. For #3150686.
2011-01-11 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCsymt.h,
src/SDCCval.c,
src/SDCCsymt.c:
Changed class to xclass in sym_link for C++ compability, for #3150686.
2011-01-11 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCicode.c (geniCodeAdd): fixed bug 3153956
* support/regression/tests/bug3037889.c: added test for bug 3153956
2010-12-20 Maarten Brock <sourceforge.brock AT dse.nl>
* debugger/mcs51/simi.c (waitForSim): implemented timeout,
(openSimulator): use non-blocking socket mode
2010-12-20 Maarten Brock <sourceforge.brock AT dse.nl>
* debugger/mcs51/cmd.c (commonSetUserBp): fixed bug 1185014
2010-12-19 Borut Razem <borut.razem AT siol.net>
* src/ds390/main.c, src/Makefile.in, src/SDCCbuild_cmd.c,
src/SDCCbuild_cmd.h, src/SDCCmain.c, src/src.dsp, src/z80/main.c:
support/Util/BuildCmd.[ch] moved / renamed to src/SDCCbuild_cmd.[ch]
2010-12-19 Maarten Brock <sourceforge.brock AT dse.nl>
* debugger/mcs51/cmd.c (printOrSetSymValue),
* debugger/mcs51/simi.h (memcache_t),
* debugger/mcs51/simi.c (getMemCache, getMemString, simSetValue,
simGetValue): made size unsigned
(init_winsock): fixed uninitialized iResult,
(openSimulator): removed intptr_t cast
* debugger/mcs51/sdcdb.c: include <direct.h> for chdir(),
(parseCmdLine): access() is not portable, replaced with fopen/fclose,
(main): fixed bug 3137466
* debugger/mcs51/sdcdb.h: include sdcc_vc.h or sdcccon.h
* debugger/mcs51/sdcdb.dsp: new, added
* sdcc.dsw: added sdcdb.dsp
* sdas/asxxsrc/asmain.c (asmbl): error only if is_sdas()
* debugger/mcs51/sdcdb.c (searchDirsFname): retry with '_' replaced
with '.'
2010-12-18 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/as8051/i51adr.c,
* sdas/as8051/i51ext.c,
* sdas/as8051/i51mch.c,
* sdas/as8051/i51pst.c,
* sdas/as8051/i8051.h,
* sdas/asxxsrc/asdata.c,
* sdas/asxxsrc/asdbg.c,
* sdas/asxxsrc/aslex.c,
* sdas/asxxsrc/aslist.c,
* sdas/asxxsrc/asout.c,
* sdas/asxxsrc/assubr.c,
* sdas/asxxsrc/assym.c,
* sdas/asxxsrc/asxxxx.h,
* sdas/asxxsrc/sdas.c,
* sdas/asxxsrc/strcmpi.c: cosmetic, replaced tabs with spaces
* sdas/asxxsrc/asmain.c (asmbl): error on multiple mnemonics on one line
* support/cpp/libcpp/include/cpplib.h: added PREV_NL
* support/cpp/libcpp/lex.c (_cpp_process_line_notes, cpp_output_line),
* support/cpp/c-ppoutput.c (scan_translation_unit): fix macros w/o __asm
* support/regression/tests/bug1505956.c: new, added
2010-12-16 Maarten Brock <sourceforge.brock AT dse.nl>
* support/cpp/c-ppoutput.c (scan_translation_unit): fix bug 1505956/1406219
* support/cpp/libcpp/include/cpplib.h: added IN_ASM
* support/cpp/libcpp/internal.h: added n__endasm to spec_nodes
* support/cpp/libcpp/lex.c (_cpp_process_line_notes): return int in_asm on
continued inline asm lines,
(_cpp_lex_direct): set/reset in_asm flag,
(cpp_output_line): insert __endasm; __asm to fix bug 1505956/1406219
* support/cpp/libcpp/macro.c (macro_real_token_count): fixed warning
* support/cpp/sdcpp.c (sdcpp_init_options): init n__endasm
2010-12-14 Borut Razem <borut.razem AT siol.net>
* src/SDCCdwarf2.c, src/SDCCset.c, src/pic16/pcode.c:
fixed some defects, reported by Wipro DeepCheck static analysis tool
2010-12-13 Borut Razem <borut.razem AT siol.net>
* src/pic14/main.c, src/pic16/main.c:
fixed bug #3113082: Filenames with spaces fail on pic backend
2010-12-11 Borut Razem <borut.razem AT siol.net>
* src/pic14/main.c:
fixed bug #3135245: --use-non-free set the wrong dir for the lib
2010-12-10 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fixed signed comparison for gbz80.
2010-12-06 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCsymt.c:
Optimized boolean ternary operator.
2010-12-06 Borut Razem <borut.razem AT siol.net>
* src/Makefile.in, src/SDCCmain.c, src/src.dsp,
src/pic14/main.c, src/z80/main.c, src/pic16/main.c,
src/ds390/main.c, src/SDCCsystem.c, src/SDCCsystem.h:
support/Util/MySystem.[ch] moved / renamed src/SDCCsystem.[ch]
* src/SDCCargs.h, src/SDCCasm.h, src/SDCCast.h:
cosmetic changes
2010-12-06 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/stdio.h,
* device/lib/printf_fast.c,
* device/lib/printf_tiny.c: fixed bug 3108582
2010-12-05 Maarten Brock <sourceforge.brock AT dse.nl>
* src/z80/peep.c (z80instructionSize): fixed warning
* support/regression/tests/bug-3117729.c: fixed and enabled for mcs51
2010-12-05 Borut Razem <borut.razem AT siol.net>
* Makefile.in:
fixed bug #312815: Top level Makefile variable is mis-spelled
2010-12-02 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-3117729.c:
Disabled test for mcs51.
2010-11-29 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-3117729.c:
Added bug description.
2010-11-28 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-z80.def,
support/regression/tests/bug-3117729.c:
Fixed #3117729, minor peephole improvements.
2010-11-28 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCpeeph.c,
src/z80/peep.c:
Fixed #3117748, improved fix for #3109557.
2010-11-26 Raphael Neider <rneider AT web.de>
* src/pic14/glue.c (emitIvals): end retlw instruction with newline,
fixes #3119071.
2010-11-21 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peep.c,
src/SDCCpeeph.c:
Fixed #3109557.
2010-11-21 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-z80.def:
Minor peephole fix.
2010-11-15 Maarten Brock <sourceforge.brock AT dse.nl>
* src/ds390/main.c (_ds390_genIVT, _ds390_genInitStartup): keep flat24 mode
off before _sdcc_external_startup is called
* device/lib/ds390/tinibios.c (_sdcc_external_startup): pop 16 bit address,
push 24 bit, don't call anything before the changeover to flat24 mode
* support/regression/ports/ds390/spec.mk: start uCsim in 16 bit mode
2010-11-07 Borut Razem <borut.razem AT siol.net>
* Makefile.common.in, sdcc_vc_in.h, sdccconf_in.h, src/pic14/main.c,
src/port.h, src/SDCCast.c, src/SDCCmain.c, src/SDCCopt.c,
src/SDCCpeeph.c, src/SDCCsymt.c:
TARGET_ID_PIC1 renamed to TARGET_ID_PIC14,
TARGET_IS_PIC renamed to TARGET_IS_PIC14
OPT_DISABLE_PIC renamed to OPT_DISABLE_PIC14
* support/Util/dbuf.c, support/Util/dbuf.h: added function dbuf_detach_c_str()
2010-11-06 Borut Razem <borut.razem AT siol.net>
* support/Util/MySystem.c: use native WIN32 API calls in sdcc_pclose()
2010-11-05 Borut Razem <borut.razem AT siol.net>
* support/Util/MySystem.c: use native WIN32 sdcc_popen and sdcc_pclose
solution due to a bug in wine msvrct.dll popen implementation
* support/Util/MySystem.c, support/Util/MySystem.h, src/SDCCmain.c,
src/ds390/main.c, src/pic14/main.c, src/pic16/main.c, src/z80/main.c:
my_xxxx() renamed to sdcc_xxxx()
2010-11-05 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCcse.c:
Optimization for & on booleans.
* src/z80/gen.c,
src/z80/peeph-z80.def,
support/regression/tests/bitopcse.c:
Fixes for z80 using --reserve-regs-iy and gbz80.
2010-11-05 Raphael Neider <rneider AT web.de>
* sdas/as8051/Makefile.in,
sdas/asz80/Makefile.in,
sdas/as6808/Makefile.in,
sdas/asgb/Makefile.in: fix order of linking with -lm
2010-11-03 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/peep.c:
Improvements relating to the use of hl as an alternative to iy.
2010-11-03 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCpeeph.h,
src/z80/gen.c,
src/z80/ralloc.c,
src/z80/main.c,
src/z80/z80.h,
src/z80/peeph-z80.def:
Some steps towards implementing #3074318, and minor gbz80 fixes.
2010-11-03 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/peep.c:
Fixed #3093447.
2010-11-03 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCmain.c (setIncludePath): fixed uninitialized target
2010-11-03 Borut Razem <borut.razem AT siol.net>
* device/include/pic14/sdcc-lib.h:
directories */pic renamed to */pic14
2010-11-02 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/mcs51/peeph.def: added peepholes 248.n to 248.p
optimizing and/or/xor to xdata arrays
2010-11-02 Borut Razem <borut.razem AT siol.net>
* device/include/Makefile.in, device/non-free/include/Makefile.in,
device/lib/Makefile.in, device/lib/pic14/configure,
device/lib/pic14/configure.in, device/lib/pic14/Makefile.common.in,
device/lib/pic16/aclocal.m4, device/lib/pic16/configure,
device/lib/pic16/configure.ac, device/non-free/lib/Makefile.in,
device/non-free/lib/pic14/configure,
device/non-free/lib/pic14/configure.in,
device/non-free/lib/pic14/libdev/Makefile.in,
device/non-free/lib/pic14/libdev/mkall.sh,
device/non-free/lib/pic14/Makefile.common.in,
device/non-free/lib/pic16/configure,
device/non-free/lib/pic16/configure.ac:
directories */pic renamed to */pic14
2010-11-01 Borut Razem <borut.razem AT siol.net>
* Small Device C Compiler 3.0.0 released
* .version, doc/sdccman.lyx: changed sdcc version to 3.0.1
* device/include/pic, device/include/asm/pic, device/lib/pic,
device/non-free/include/pic, device/non-free/lib/pic,
sdcc/src/pic: renamed to */pic14
* configure, configure.in, regression/Makefile, src/SDCCmain.c,
device/include/Makefile.in, device/non-free/include/Makefile.in,
support/regression/ports/pic14/spec.mk, support/scripts/sdcc.nsi,
device/non-free/lib/Makefile.in, device/lib/Makefile.in,
sdcc.dsw, src/pic14/pic14.dsp, src/pic14/pic14a.dsp, src/src.dsp:
directories */pic renamed to */pic14
* src/pic16/gen.c: _naked renamed to __naked
* support/scripts/repack_release.sh:
fix if the packages are not in current directory
2010-10-23 Borut Razem <borut.razem AT siol.net>
* device/lib/pic/libsdcc/fs2ulong.c, device/lib/pic/libsdcc/fslt.c,
device/lib/pic/libsdcc/fseq.c, device/lib/pic/libsdcc/ulong2fs.c,
device/lib/pic/libsdcc/fsgt.c, device/lib/pic/libsdcc/fsdiv.c,
device/lib/pic/libsdcc/fsneq.c, device/lib/pic/libsdcc/fsadd.c,
device/lib/pic/libsdcc/fssub.c, device/lib/pic/libsdcc/fsmul.c,
device/lib/ds400/ds400rom.c:
sdcc library license changed to GPL+LE
* support/scripts/sdcc.nsi:
no need to copy readline5.dll
2010-10-19 Maarten Brock <sourceforge.brock AT dse.nl>
* doc/sdccman.lyx: documented --model-huge and other small updates
2010-10-17 Borut Razem <borut.razem AT siol.net>
* support/cpp/sdcpp-opts.c:
fixed bug #3088672: -M (& -MM) not suppressing warnings
* doc/sdccman.lyx: small cosmetic changes
2010-10-16 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51/C8051F920.h: patch 3088689, thanks Steven Borley
2010-10-16 Raphael Neider <rneider AT web.de>
* device/lib/Makefile.in, device/non-free/lib/Makefile.in:
fix parallel make on cygwin by preventing multiple rules
from generating the same library files
2010-10-14 Raphael Neider <rneider AT web.de>
* device/lib/pic/configure.in,
device/lib/pic16/configure.ac,
device/non-free/lib/pic/configure.in,
device/non-free/lib/pic16/configure.ac: abort configure if gputils
are unavailable while the pic14 or pic16 port is enabled
* device/lib/pic/configure,
device/lib/pic16/configure,
device/non-free/lib/pic/configure,
device/non-free/lib/pic16/configure: regenerated
* device/non-free/lib/Makefile.in: avoid trying to install from
non-existing BUILDDIR (if both pic ports are disabled)
* doc/sdccman.lyx: fix supported pic14 devices (16hv616 and 16hv785)
* src/SDCCmain.c (setIncludePath): do not use 'target' uninitialized
2010-10-12 Raphael Neider <rneider AT web.de>
* src/SDCCmain.c (setIncludePath): handle special case of pic14 paths
* src/pic/main.c (__pic14_initPaths): removed, handled in SDCCmain.c
2010-10-12 Borut Razem <borut.razem AT siol.net>
* device/lib/pic/Makefile.in, device/non-free/lib/pic/Makefile.in:
fixed target "all" if gputils not found
2010-10-11 Borut Razem <borut.razem AT siol.net>
* doc/sdccman.lyx: fixes proposed by Sebastien Lorquet
2010-10-10 Borut Razem <borut.razem AT siol.net>
* support/cpp/sdcpp-diagnostic.c, support/cpp/sdcpp.h:
define inhibit_warnings
* src/SDCCmain.c: removed readCfgFile() call
* support/scripts/sdcc.nsi:
added include/ds390/*.h and include/ds400/*.h to the package
* src/regression/Makefile, src/regression/inline.c,
src/regression/string1.c: added non-free search path,
fixed deprecated keyword warnings
* device/lib/Makefile.in device/non-free/lib/Makefile.in:
fixed bug #3084827:
Building fails at non-free when disabling PIC/PIC16
2010-10-09 Borut Razem <borut.razem AT siol.net>
* support/cpp/auto-host_vc_in.h, support/cpp/libcpp/include/cpplib.h,
support/cpp/sdcpp-diagnostic.c:
fixed bug #3080422: #error not working as expected
* src/SDCCmain.c, src/SDCCglobl.h:
--non-free and SDCC_NON_FREE changed to --use-non-free and
SDCC_USE_NON_FREE
* doc/sdccman.lyx: documented --non-free
* .version, sdcc.spec, doc/sdccman.lyx, doc/INSTALL.txt:
changed sdcc version to 3.0.0
* src/SDCCmain.c: removed function readCfgFile()
* support/scripts/repack_release.sh:
fixed typo
2010-10-08 Borut Razem <borut.razem AT siol.net>
* sim/ucsim/s51.src/Makefile.in:
fixed bug 3082829: S51 is not installed in recent SDCC versions
2010-10-06 Borut Razem <borut.razem AT siol.net>
* sdcc/configure, sdcc/configure.in:
show non-free search paths
* support/scripts/sdcc_mingw32, support/scripts/sdcc_cygwin_mingw32:
define non_free_include_dir_suffix and non_free_lib_dir_suffix
* support/scripts/sdcc.nsi:
remove non-free directory on uninstall
* support/regression/ports/pic14/spec.mk,
support/regression/ports/pic16/spec.mk:
add --non-free option for pic* regression tests
2010-10-05 Borut Razem <borut.razem AT siol.net>
* support/scripts/sdcc.nsi:
added non-free/lib/pic*/*.lib files to the win32 setup package,
remove non-free directory on uninstall
2010-10-04 Borut Razem <borut.razem AT siol.net>
* src/SDCCmain.c: defined symbol SDCC_NON_FREE when --non-free command
line option is used
* configure.in, configure, Makefile.in, device/lib/pic/configure.in,
device/lib/pic/configure, device/lib/pic/Makefile.in,
device/lib/pic/Makefile.common.in, device/lib/pic16/configure.ac,
device/lib/pic16/configure, device/lib/pic16/Makefile.am,
device/lib/pic16/Makefile.in,
device/lib/pic16/Makefile.common,
device/lib/pic16/libm/Makefile.in,
device/lib/pic16/debug/Makefile.in,
device/lib/pic16/libio/Makefile.in,
device/lib/pic16/startup/Makefile.in,
device/lib/pic16/libsdcc/Makefile.in,
device/lib/pic16/libc/Makefile.in,
support/scripts/sdcc.nsi:
pic* device files moved to non-free
* device/include/pic/*.h: moved to device/non-free/include/pic
* device/include/pic16/*.h: moved to device/non-free/include/pic16
* device/lib/pic/libdev/*.c, device/lib/pic/libdev/mkall.sh:
moved to device/non-freelib/pic/libdev
* device/lib/pic16/libdev/*.c, device/lib/pic16/libdev/mkmk.sh,
device/lib/pic16/libdev/Makefile.am,
device/lib/pic16/libdev/Makefile.in:
moved to device/non-free/lib/pic16/libdev
* device/lib/pic16/pics.all: moved to device/non-free/lib/pic16
* device/non-free/include/Makefile.in,
device/non-free/include/clean.mk,
device/non-free/lib/pic16/config.h.in,
device/non-free/lib/pic16/configure,
device/non-free/lib/pic16/Makefile.in,
device/non-free/lib/pic16/configure.ac,
device/non-free/lib/pic16/Makefile.common,
device/non-free/lib/pic16/bootstrap.sh,
device/non-free/lib/pic16/depcomp,
device/non-free/lib/pic16/Makefile.am,
device/non-free/lib/pic16/missing,
device/non-free/lib/pic16/aclocal.m4,
device/non-free/lib/pic16/install-sh,
device/non-free/lib/Makefile.in,
device/non-free/lib/clean.mk,
device/non-free/lib/pic/configure,
device/non-free/lib/pic/Makefile.in,
device/non-free/lib/pic/Makefile.subdir,
device/non-free/lib/pic/configure.in,
device/non-free/lib/pic/Makefile.rules,
device/non-free/lib/pic/Makefile.common.in,
device/non-free/lib/incl.mk: added
2010-10-03 Borut Razem <borut.razem AT siol.net>
* device/include/mcs51/ser_ir.h, device/lib/ser_ir_cts_rts.c,
device/lib/ser_ir.c, device/include/pic16/pic18fregs.h:
sdcc library license changed to GPL+LE
* configure.in, configure, sdccconf_in.h, sdcc_vc_in.h:
introduced NON_FREE_INCLUDE_DIR_SUFFIX and NON_FREE_LIB_DIR_SUFFIX
* src/SDCCmain.c, src/SDCCglobl.h:
search / include non-free libraries and header files
* .version, doc/sdccman.lyx: bumped version to 2.9.8
2010-10-02 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/stdlib.h,
* device/lib/_atof.c,
* device/lib/_atoi.c,
* device/lib/_atol.c: fixed const in prototypes
2010-09-28 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCsymt.c,
support/regression/tests/bug-3034585.c:
Fixed #3034585.
2010-09-27 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCerr.c,
* src/SDCCerr.h: added W_DEPRECATED_OPTION
* src/ds390/main.c,
* src/mcs51/main.c,
* src/SDCCmain.c (linkEdit): deprecated --no-pack-iram
2010-09-26 Philipp Klaus Krause <pkk AT spth.de>