fw/sdcc
20 years agoremoved --nostdlib as suggested by Jesus
bernhardheld [Sun, 3 Aug 2003 19:58:52 +0000 (19:58 +0000)]
removed --nostdlib as suggested by Jesus

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2803 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agosrc/SDCCast.c (constExprTree): fix bug #781827 by Carl Worth <cworth@isi.edu>
bernhardheld [Sun, 3 Aug 2003 19:45:10 +0000 (19:45 +0000)]
src/SDCCast.c (constExprTree): fix bug #781827 by Carl Worth <cworth@isi.edu>

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2802 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoredo Frieder's patch
bernhardheld [Sun, 3 Aug 2003 19:21:07 +0000 (19:21 +0000)]
redo Frieder's patch

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2801 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years ago'O' record is output correctly now.
jesusc [Sat, 2 Aug 2003 11:58:48 +0000 (11:58 +0000)]
'O' record is output correctly now.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2800 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoAdded support\librarian\Makefile
jesusc [Fri, 1 Aug 2003 15:48:46 +0000 (15:48 +0000)]
Added support\librarian\Makefile

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2799 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoDon't remove .\Makefile
jesusc [Fri, 1 Aug 2003 15:41:04 +0000 (15:41 +0000)]
Don't remove .\Makefile

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2798 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agochmod a+rwx configure configure.in
jesusc [Fri, 1 Aug 2003 09:28:44 +0000 (09:28 +0000)]
chmod a+rwx configure configure.in

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2797 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoCleaning up mess while trying to build librarian. Added librarian to MSVC build.
jesusc [Fri, 1 Aug 2003 08:49:45 +0000 (08:49 +0000)]
Cleaning up mess while trying to build librarian.  Added librarian to MSVC build.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2796 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoAdded librarian to MSVC build.
jesusc [Fri, 1 Aug 2003 08:36:55 +0000 (08:36 +0000)]
Added librarian to MSVC build.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2795 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoconfigure not needed for librarian. Makefile is enough.
jesusc [Fri, 1 Aug 2003 08:09:56 +0000 (08:09 +0000)]
configure not needed for librarian.  Makefile is enough.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2794 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoconfigure not needed for librarian. Revert to previous version.
jesusc [Fri, 1 Aug 2003 08:04:22 +0000 (08:04 +0000)]
configure not needed for librarian.  Revert to previous version.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2793 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoAdding librarian to build
jesusc [Thu, 31 Jul 2003 16:41:02 +0000 (16:41 +0000)]
Adding librarian to build

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2792 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agominor fix: sdcpp language is c99
bernhardheld [Thu, 31 Jul 2003 12:06:05 +0000 (12:06 +0000)]
minor fix: sdcpp language is c99

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2791 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years ago3. fix, this time for Alpha; ULONG has 64 bits there, while the mantissa of a double...
bernhardheld [Thu, 31 Jul 2003 10:59:47 +0000 (10:59 +0000)]
3. fix, this time for Alpha; ULONG has 64 bits there, while the mantissa of a double is "only" 53 bits wide

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2789 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoAdding sdcclib to the build.
jesusc [Thu, 31 Jul 2003 08:10:24 +0000 (08:10 +0000)]
Adding sdcclib to the build.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2788 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoBeginning of librarian support added.
jesusc [Thu, 31 Jul 2003 05:18:00 +0000 (05:18 +0000)]
Beginning of librarian support added.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2787 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoFirst try to build under Linux
jesusc [Thu, 31 Jul 2003 01:36:33 +0000 (01:36 +0000)]
First try to build under Linux

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2786 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoOptions --int-long-rent --float-rent --stack-auto are not conflicting
jesusc [Wed, 30 Jul 2003 16:22:15 +0000 (16:22 +0000)]
Options --int-long-rent --float-rent --stack-auto are not conflicting

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2785 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoLinker complaints if linked modules have conflicting options.
jesusc [Wed, 30 Jul 2003 05:32:48 +0000 (05:32 +0000)]
Linker complaints if linked modules have conflicting options.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2784 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoWarning when libfile not found and path is null
jesusc [Mon, 28 Jul 2003 23:19:22 +0000 (23:19 +0000)]
Warning when libfile not found and path is null

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2783 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoGenerate a warning when a library file is not found.
jesusc [Mon, 28 Jul 2003 21:14:12 +0000 (21:14 +0000)]
Generate a warning when a library file is not found.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2782 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agosrc/z80/mappings.i: fix _mul[us][int,long] entries
bernhardheld [Mon, 28 Jul 2003 10:09:41 +0000 (10:09 +0000)]
src/z80/mappings.i: fix _mul[us][int,long] entries

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2780 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agofix for *z80
bernhardheld [Sun, 27 Jul 2003 20:07:18 +0000 (20:07 +0000)]
fix for *z80

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2779 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoDo not search for crt0.o when --nostdlib
jesusc [Sun, 27 Jul 2003 00:13:40 +0000 (00:13 +0000)]
Do not search for crt0.o when --nostdlib

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2778 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agofix test on host
bernhardheld [Sat, 26 Jul 2003 14:46:10 +0000 (14:46 +0000)]
fix test on host

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2777 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoSolved some issues with cygwin paths again...
jesusc [Fri, 25 Jul 2003 23:12:04 +0000 (23:12 +0000)]
Solved some issues with cygwin paths again...

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2776 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years ago* src/SDCCicode.c (operandOperation): really fixed problem with bitops
bernhardheld [Fri, 25 Jul 2003 21:16:39 +0000 (21:16 +0000)]
* src/SDCCicode.c (operandOperation): really fixed problem with bitops
* support/regression/tests/bitopcse.c: added
fixed warning:
* src/avr/gen.c:
* src/pic/gen.c:
* src/pic16/gen.c:
* src/z80/gen.c:
* src/xa51/gen.c:

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2775 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoAdded execution time functions for win32
jesusc [Fri, 25 Jul 2003 15:38:14 +0000 (15:38 +0000)]
Added execution time functions for win32

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2774 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoFixed warning when compiling with gcc
jesusc [Fri, 25 Jul 2003 15:37:24 +0000 (15:37 +0000)]
Fixed warning when compiling with gcc

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2773 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoAdded support for new library format. Old format supported as well.
jesusc [Thu, 24 Jul 2003 16:45:55 +0000 (16:45 +0000)]
Added support for new library format.  Old format supported as well.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2772 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agouse FSEPX to create filename
jesusc [Thu, 24 Jul 2003 16:37:54 +0000 (16:37 +0000)]
use FSEPX to create filename

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2771 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agosrc/SDCCicode.c (operandOperation): fixed problem with bitops and 0xffffffff
bernhardheld [Thu, 24 Jul 2003 11:17:52 +0000 (11:17 +0000)]
src/SDCCicode.c (operandOperation): fixed problem with bitops and 0xffffffff

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2770 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agofix display of 0xffffffff
bernhardheld [Thu, 24 Jul 2003 09:37:39 +0000 (09:37 +0000)]
fix display of 0xffffffff

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2769 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoanother small fix
bernhardheld [Thu, 24 Jul 2003 09:36:58 +0000 (09:36 +0000)]
another small fix

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2768 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoOops
sdcc-builder [Thu, 24 Jul 2003 09:08:44 +0000 (09:08 +0000)]
Oops

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2767 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoadded DUMMY_READ_VOLATILE:
bernhardheld [Wed, 23 Jul 2003 20:15:49 +0000 (20:15 +0000)]
added DUMMY_READ_VOLATILE:
* src/SDCC.y:
* src/avr/gen.c:
* src/xa51/gen.c:
* src/z80/gen.c:
* src/pic/gen.c:
* src/pic16/gen.c:
* src/mcs51/gen.c:
* src/ds390/gen.c:
* src/SDCCcse.c (algebraicOpts): many improvements
* src/SDCCcse.h: removed algebraicOpts()
* src/SDCCicode.c (picDummyRead): added

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2766 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoChanged "Insufficient DRAM memory" to "Insufficient space in data memory"
jesusc [Wed, 23 Jul 2003 16:58:02 +0000 (16:58 +0000)]
Changed "Insufficient DRAM memory" to "Insufficient space in data memory"

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2765 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoFixed bug #759087
epetrich [Mon, 21 Jul 2003 04:48:17 +0000 (04:48 +0000)]
Fixed bug #759087

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2764 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agofixed bug #771358
epetrich [Sun, 20 Jul 2003 14:44:14 +0000 (14:44 +0000)]
fixed bug #771358

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2763 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agosrc/pic16/glue.c: minor cleanup by Vangelis
bernhardheld [Sat, 19 Jul 2003 22:29:05 +0000 (22:29 +0000)]
src/pic16/glue.c: minor cleanup by Vangelis

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2762 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agosrc/mcs51/gen.c(genGenPointerGet/Set): removed writing of type after postincrement
frief [Sat, 19 Jul 2003 21:50:29 +0000 (21:50 +0000)]
src/mcs51/gen.c(genGenPointerGet/Set): removed writing of type after postincrement

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2761 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years ago(genGenPointerGet/Set): removed writing of type after postincrement
frief [Sat, 19 Jul 2003 21:48:49 +0000 (21:48 +0000)]
(genGenPointerGet/Set): removed writing of type after postincrement

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2760 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years ago* device/lib/_gptrput.c: saved a few bytes
frief [Sat, 19 Jul 2003 20:20:54 +0000 (20:20 +0000)]
* device/lib/_gptrput.c: saved a few bytes
* device/lib/_ser.c: process RX bytes earlier than TX bytes
* device/lib/serial.c: process RX bytes earlier than TX bytes

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2759 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoprocess RX bytes earlier than TX bytes
frief [Sat, 19 Jul 2003 20:19:02 +0000 (20:19 +0000)]
process RX bytes earlier than TX bytes

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2758 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agosaved a few bytes
frief [Sat, 19 Jul 2003 20:18:03 +0000 (20:18 +0000)]
saved a few bytes

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2757 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agodevice/lib/_gptrget.c: saving some cycles in generic pointer get
frief [Sat, 19 Jul 2003 16:58:21 +0000 (16:58 +0000)]
device/lib/_gptrget.c: saving some cycles in generic pointer get

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2756 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agosaving some cycles in generic pointer get
frief [Sat, 19 Jul 2003 16:55:58 +0000 (16:55 +0000)]
saving some cycles in generic pointer get

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2755 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agodevice/include/regc515c.h: fixed #758477
frief [Sat, 19 Jul 2003 10:33:35 +0000 (10:33 +0000)]
device/include/regc515c.h: fixed #758477

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2754 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoFixed Bug #758477 duplicate struct member gme_1 in regc515c.h
frief [Sat, 19 Jul 2003 10:27:07 +0000 (10:27 +0000)]
Fixed Bug #758477 duplicate struct member gme_1 in regc515c.h

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2753 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoFixed bug 772726
epetrich [Fri, 18 Jul 2003 20:33:24 +0000 (20:33 +0000)]
Fixed bug 772726

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2752 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoz80 library paths may contain '.' now (better fix)
jesusc [Thu, 17 Jul 2003 16:27:40 +0000 (16:27 +0000)]
z80 library paths may contain '.' now (better fix)

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2748 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoz80 library paths may contain '.' now
jesusc [Thu, 17 Jul 2003 16:10:25 +0000 (16:10 +0000)]
z80 library paths may contain '.' now

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2747 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agofix warning
sdcc-builder [Thu, 17 Jul 2003 13:12:06 +0000 (13:12 +0000)]
fix warning

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2745 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agodevice/lib/Makefile.in: bad fix, reverted to 1.43
sdcc-builder [Thu, 17 Jul 2003 10:41:55 +0000 (10:41 +0000)]
device/lib/Makefile.in: bad fix, reverted to 1.43

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2744 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agodevice/lib/Makefile.in: added missing z80 object files
bernhardheld [Wed, 16 Jul 2003 19:45:03 +0000 (19:45 +0000)]
device/lib/Makefile.in: added missing z80 object files

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2741 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoFixed some gcc warnings
jesusc [Wed, 16 Jul 2003 16:16:16 +0000 (16:16 +0000)]
Fixed some gcc warnings

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2740 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agosdcc option -Wl-bBSEG=0x08 works now...
jesusc [Tue, 15 Jul 2003 22:38:02 +0000 (22:38 +0000)]
sdcc option -Wl-bBSEG=0x08 works now...

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2737 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years ago* src/SDCCcse.c (algebraicOpts): CSE fun with &|^ and 0x00/0xff literals
bernhardheld [Mon, 14 Jul 2003 20:50:48 +0000 (20:50 +0000)]
* src/SDCCcse.c (algebraicOpts): CSE fun with &|^ and 0x00/0xff literals

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2736 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agopic16 progress by Vangelis
bernhardheld [Mon, 14 Jul 2003 19:41:19 +0000 (19:41 +0000)]
pic16 progress by Vangelis

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2735 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoadded option --no-std-crt0 for the z80 and gbz80 ports
jesusc [Sun, 13 Jul 2003 19:31:19 +0000 (19:31 +0000)]
added option --no-std-crt0 for the z80 and gbz80 ports

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2732 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoOoops! For the z80 port, crt0.o must be the first file when linking.
jesusc [Sun, 13 Jul 2003 08:45:03 +0000 (08:45 +0000)]
Ooops!  For the z80 port, crt0.o must be the first file when linking.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2731 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoCleaned up a litle the z80 and gbz80 ports
jesusc [Sun, 13 Jul 2003 00:37:22 +0000 (00:37 +0000)]
Cleaned up a litle the z80 and gbz80 ports

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2730 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agocleaned up a little the gbz80 and z80 ports
jesusc [Sun, 13 Jul 2003 00:13:19 +0000 (00:13 +0000)]
cleaned up a little the gbz80 and z80 ports

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2729 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agofix bug 769624
kvigor [Fri, 11 Jul 2003 17:36:45 +0000 (17:36 +0000)]
fix bug 769624

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2728 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoadded compiler option -DSDK
jesusc [Wed, 9 Jul 2003 01:31:47 +0000 (01:31 +0000)]
added compiler option -DSDK

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2727 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agogetst(id, c) was looping forever so changed it as in mcs51 port
jesusc [Mon, 7 Jul 2003 22:22:32 +0000 (22:22 +0000)]
getst(id, c) was looping forever so changed it as in mcs51 port

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2726 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agofclose FILE * != NULL
jesusc [Sun, 6 Jul 2003 22:11:31 +0000 (22:11 +0000)]
fclose FILE * != NULL

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2725 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoreplaced *index with *libindex so gcc is happy
jesusc [Sun, 6 Jul 2003 19:52:46 +0000 (19:52 +0000)]
replaced *index with *libindex so gcc is happy

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2724 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoSupport for files created with the sdcc librarian
jesusc [Sun, 6 Jul 2003 19:39:18 +0000 (19:39 +0000)]
Support for files created with the sdcc librarian

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2723 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoSupport for files created with the sdcc librarian
jesusc [Sun, 6 Jul 2003 19:32:53 +0000 (19:32 +0000)]
Support for files created with the sdcc librarian

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2722 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoSdcc librarian
jesusc [Sun, 6 Jul 2003 19:31:23 +0000 (19:31 +0000)]
Sdcc librarian

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2721 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoproperly handle extensions in function afile
jesusc [Thu, 3 Jul 2003 19:21:27 +0000 (19:21 +0000)]
properly handle extensions in function afile

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2720 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agovirtualization of glue() function: each port has it's own glue function,
borutr [Wed, 2 Jul 2003 20:56:07 +0000 (20:56 +0000)]
virtualization of glue() function: each port has it's own glue function,
which is accessed by do_glue function pointer in PORT.general structure

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2719 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoDS800C400 fun, improved ROM interface and tinibios
kvigor [Tue, 1 Jul 2003 21:12:35 +0000 (21:12 +0000)]
DS800C400 fun, improved ROM interface and tinibios

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2718 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoMore DS400 support
kvigor [Mon, 30 Jun 2003 21:57:29 +0000 (21:57 +0000)]
More DS400 support

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2717 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoGet tinibios clock timer interface working on ds400
kvigor [Fri, 27 Jun 2003 22:44:48 +0000 (22:44 +0000)]
Get tinibios clock timer interface working on ds400

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2716 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoMore support for DS80C400
kvigor [Fri, 27 Jun 2003 20:33:05 +0000 (20:33 +0000)]
More support for DS80C400

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2715 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years ago* src/mcs51/gen.c (gencjneshort): fixed bug #760345
bernhardheld [Wed, 25 Jun 2003 19:19:03 +0000 (19:19 +0000)]
* src/mcs51/gen.c (gencjneshort): fixed bug #760345

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2714 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoIf a procedure is the last on the list, make sure its size is correct
jesusc [Fri, 20 Jun 2003 22:00:53 +0000 (22:00 +0000)]
If a procedure is the last on the list, make sure its size is correct

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2713 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoio.h is available only in win32
jesusc [Fri, 20 Jun 2003 03:02:24 +0000 (03:02 +0000)]
io.h is available only in win32

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2712 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoBetter implementation for --use-stdout
jesusc [Fri, 20 Jun 2003 02:43:06 +0000 (02:43 +0000)]
Better implementation for --use-stdout

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2711 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agofixed Z80 port again: missing -k library paths in linker command line
borutr [Thu, 19 Jun 2003 21:22:06 +0000 (21:22 +0000)]
fixed Z80 port again: missing -k library paths in linker command line

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2710 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agocode cleaning, // comments replaced with /* */
borutr [Thu, 19 Jun 2003 20:54:22 +0000 (20:54 +0000)]
code cleaning, // comments replaced with /* */

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2709 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agocorrected the comment for function has_path()
borutr [Thu, 19 Jun 2003 13:02:00 +0000 (13:02 +0000)]
corrected the comment for function has_path()

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2708 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agofixed Z80 port - crt0.o: cannot open.
borutr [Thu, 19 Jun 2003 12:13:31 +0000 (12:13 +0000)]
fixed Z80 port - crt0.o: cannot open.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2707 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years ago* support/Util/MySystem.c (merge_command): revert bad fix
bernhardheld [Thu, 19 Jun 2003 09:32:37 +0000 (09:32 +0000)]
* support/Util/MySystem.c (merge_command): revert bad fix

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2706 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agodescribed option --use-stderr in sdccman.lyx
jesusc [Wed, 18 Jun 2003 23:48:40 +0000 (23:48 +0000)]
described option --use-stderr in sdccman.lyx

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2705 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agofixed some warnings, introduced with changes made 15.06.1003
borutr [Wed, 18 Jun 2003 20:31:11 +0000 (20:31 +0000)]
fixed some warnings, introduced with changes made 15.06.1003

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2704 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoAdded option --use-stdout
jesusc [Wed, 18 Jun 2003 16:45:27 +0000 (16:45 +0000)]
Added option --use-stdout

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2703 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years ago* support/Util/MySystem.c (merge_command): quick fix for Linux segfault with \"cmd...
bernhardheld [Wed, 18 Jun 2003 14:22:05 +0000 (14:22 +0000)]
* support/Util/MySystem.c (merge_command): quick fix for Linux segfault with \"cmd\" arg

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2702 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years ago* support/cpp2/sdcc.h: HAVE_DOS_BASED_FILE_SYSTEM defined for _WIN23
borutr [Sun, 15 Jun 2003 19:01:39 +0000 (19:01 +0000)]
* support/cpp2/sdcc.h: HAVE_DOS_BASED_FILE_SYSTEM defined for _WIN23
* src/SDCC.lex: cloneXxx and copyAndFreeXxx functions for options and optimize stack handling
* src/SDCCglobl.h, src/SDCCmain.c, src/ds390/main.c, src/mcs51/main.c, src/z80/main.c:
fixed width array of pointers replaced with sets;
multiple include and lib paths ared transferred to preprocessor and linker
* src/SDCCset.c, src/SDCCset.h: added function setFromSetNonRev() and mergeSets()
* src/SDCCsymt.c: reimplemented function inCalleeSaveList() by using sets instead
fixed width array of pointers
* src/SDCCutil.c, src/SDCCutil.h: added functions fputStrSet(), appendStrSet(), joinStrSet();
removed functions addToList(), join(), joinn(), pathCharsEquivalent(), pathCharTransform(),
fixupPath(), getPathDifference()
* src/ds390/gen.c, src/mcs51/gen.c: reimplemented function  inExcludeList() by using sets instead
fixed width array of pointers

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2700 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoreimplemented function inExcludeList() by using sets instead fixed width array of...
borutr [Sun, 15 Jun 2003 19:00:33 +0000 (19:00 +0000)]
reimplemented function  inExcludeList() by using sets instead fixed width array of pointers

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2699 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoadded functions fputStrSet(), appendStrSet(), joinStrSet();
borutr [Sun, 15 Jun 2003 18:59:22 +0000 (18:59 +0000)]
added functions fputStrSet(), appendStrSet(), joinStrSet();
removed functions addToList(), join(), joinn(), pathCharsEquivalent(), pathCharTransform(), fixupPath(), getPathDifference()

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2698 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoreimplemented function inCalleeSaveList() by using sets instead fixed width array...
borutr [Sun, 15 Jun 2003 18:58:47 +0000 (18:58 +0000)]
reimplemented function inCalleeSaveList() by using sets instead fixed width array of pointers

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2697 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoadded function setFromSetNonRev() and mergeSets()
borutr [Sun, 15 Jun 2003 18:58:11 +0000 (18:58 +0000)]
added function setFromSetNonRev() and mergeSets()

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2696 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agocloneXxx and copyAndFreeXxx functions for options and optimize stack handling
borutr [Sun, 15 Jun 2003 18:57:43 +0000 (18:57 +0000)]
cloneXxx and copyAndFreeXxx functions for options and optimize stack handling

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2695 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoHAVE_DOS_BASED_FILE_SYSTEM defined for _WIN23
borutr [Sun, 15 Jun 2003 18:57:17 +0000 (18:57 +0000)]
HAVE_DOS_BASED_FILE_SYSTEM defined for _WIN23

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2694 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agofixed width array of pointers replaced with sets;
borutr [Sun, 15 Jun 2003 18:56:47 +0000 (18:56 +0000)]
fixed width array of pointers replaced with sets;
multiple include and lib paths ared transferred to preprocessor and linker

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2693 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years agoC++ style comments // changed to C style /* */
borutr [Thu, 12 Jun 2003 20:08:54 +0000 (20:08 +0000)]
C++ style comments // changed to C style /* */

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2692 4a8a32a2-be11-0410-ad9d-d568d2c75423

20 years ago* src/pic16/ralloc.c: fix warnings
bernhardheld [Wed, 11 Jun 2003 11:16:58 +0000 (11:16 +0000)]
* src/pic16/ralloc.c: fix warnings
* src/pic16/pcode.c: fix warning

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2691 4a8a32a2-be11-0410-ad9d-d568d2c75423