fw/sdcc
21 years agoMartins patches
kbongers [Mon, 12 May 2003 21:48:01 +0000 (21:48 +0000)]
Martins patches

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

21 years ago* src/SDCCmain.c: fixed the problem with searching the DATADIR as the last resort...
borutr [Mon, 12 May 2003 19:30:32 +0000 (19:30 +0000)]
* src/SDCCmain.c: fixed the problem with searching the DATADIR as the last resort on *nix

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

21 years agofixed the problem with searching the DATADIR as the last resort on *nix
borutr [Mon, 12 May 2003 19:28:33 +0000 (19:28 +0000)]
fixed the problem with searching the DATADIR as the last resort on *nix

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

21 years agoWIN32 version of getBinPath() calls GetModuleFileName() to determine
borutr [Sun, 11 May 2003 13:11:44 +0000 (13:11 +0000)]
WIN32 version of getBinPath() calls GetModuleFileName() to determine
the path of bin directory, so that PATH is the only env. variable,
which has to be set  in case of standard installation;
added --print-search-dirs command line option

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

21 years agoadded --print-search-dirs command line option
borutr [Sun, 11 May 2003 13:10:43 +0000 (13:10 +0000)]
added --print-search-dirs command line option

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

21 years agoadd quotes to file name parameters for gplink and gpasm
borutr [Sun, 11 May 2003 13:10:03 +0000 (13:10 +0000)]
add quotes to file name parameters for gplink and gpasm

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

21 years agoincreased value of /Zm option to 1000
borutr [Sun, 11 May 2003 13:09:37 +0000 (13:09 +0000)]
increased value of /Zm option to 1000

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

21 years agoWIN32 version of getBinPath() calls GetModuleFileName() to determine
borutr [Sun, 11 May 2003 13:09:00 +0000 (13:09 +0000)]
WIN32 version of getBinPath() calls GetModuleFileName() to determine
the path of bin directory, so that PATH is the only env. variable,
which has to be set

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

21 years ago* src/SDCCmain.c (linkEdit): fixed buffer overflow for gbz80
bernhardheld [Sat, 10 May 2003 22:41:53 +0000 (22:41 +0000)]
* src/SDCCmain.c (linkEdit): fixed buffer overflow for gbz80
* support/regression/Makefile: inter-port-clean is no longer nesessary, the
temp files are in the port dir; clean the gen/test directory when
generating new test.c
* support/regression/ports/host/spec.mk: defined OBJEXT for target clean
* support/regression/tests/vaargs.c: fixed gcc 3.3 warning
* support/regression/tests/zeropad.c: added

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

21 years agofixed bug #585125
johanknol [Sat, 10 May 2003 13:44:38 +0000 (13:44 +0000)]
fixed bug #585125

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

21 years agofixed bug #597940
johanknol [Fri, 9 May 2003 13:39:53 +0000 (13:39 +0000)]
fixed bug #597940

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

21 years agofixed bug #597940
johanknol [Fri, 9 May 2003 12:29:37 +0000 (12:29 +0000)]
fixed bug #597940

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

21 years agoremoved obsolete --stack-after-data
johanknol [Fri, 9 May 2003 08:33:45 +0000 (08:33 +0000)]
removed obsolete --stack-after-data

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

21 years agofixed bug #734169
johanknol [Thu, 8 May 2003 12:55:22 +0000 (12:55 +0000)]
fixed bug #734169

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

21 years agoMartins changes for ddd
kbongers [Tue, 6 May 2003 20:52:46 +0000 (20:52 +0000)]
Martins changes for ddd

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

21 years agoMartins ddd/sdcdb changes
kbongers [Tue, 6 May 2003 04:02:02 +0000 (04:02 +0000)]
Martins ddd/sdcdb changes

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

21 years agoMartins fix for sdcdb
kbongers [Tue, 6 May 2003 03:50:21 +0000 (03:50 +0000)]
Martins fix for sdcdb

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

21 years agochanges from Martin
kbongers [Tue, 6 May 2003 03:45:41 +0000 (03:45 +0000)]
changes from Martin

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

21 years ago* support/regression/HTMLgen.py: added compare_s2f()
bernhardheld [Sun, 4 May 2003 08:46:12 +0000 (08:46 +0000)]
* support/regression/HTMLgen.py: added compare_s2f()
* support/regression/Makefile: redo 1.27
* support/regression/generate-cases.py: redo 1.5

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

21 years agofix --disable-ds400
kvigor [Fri, 2 May 2003 15:02:19 +0000 (15:02 +0000)]
fix --disable-ds400

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

21 years agojust 64 bit alpha has the worst float precision
bernhardheld [Thu, 1 May 2003 12:54:17 +0000 (12:54 +0000)]
just 64 bit alpha has the worst float precision

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

21 years agosupport/regression/tests/simplefloat.c: fix division for host
bernhardheld [Wed, 30 Apr 2003 19:56:08 +0000 (19:56 +0000)]
support/regression/tests/simplefloat.c: fix division for host

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

21 years agosupport/regression/tests/float.c: workaround 33 bit hex constant
bernhardheld [Wed, 30 Apr 2003 19:12:47 +0000 (19:12 +0000)]
support/regression/tests/float.c: workaround 33 bit hex constant

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

21 years agoPatch from Jim Hawkridge that prevents stack registers from being optimized away.
sdattalo [Wed, 30 Apr 2003 04:44:04 +0000 (04:44 +0000)]
Patch from Jim Hawkridge that prevents stack registers from being optimized away.

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

21 years agoIncrement max memory alloc for MSVC using /Zm600
jesusc [Tue, 29 Apr 2003 23:45:22 +0000 (23:45 +0000)]
Increment max memory alloc for MSVC using /Zm600

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

21 years agoz80 linker build using MSVC
jesusc [Tue, 29 Apr 2003 22:53:33 +0000 (22:53 +0000)]
z80 linker build using MSVC

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

21 years agoDS80C400 support, the beginning
kvigor [Tue, 29 Apr 2003 22:47:39 +0000 (22:47 +0000)]
DS80C400 support, the beginning

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

21 years agoMartins ddd changes
kbongers [Mon, 28 Apr 2003 18:14:28 +0000 (18:14 +0000)]
Martins ddd changes

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

21 years agoMartins ddd changes
kbongers [Mon, 28 Apr 2003 17:54:02 +0000 (17:54 +0000)]
Martins ddd changes

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

21 years agoAdded a new peep rule to handle carry logic (optimizes src/regression/nestfor.c).
sdattalo [Mon, 28 Apr 2003 14:34:27 +0000 (14:34 +0000)]
Added a new peep rule to handle carry logic (optimizes src/regression/nestfor.c).
PIC peep hole optimizer now handles non-wildcard asmops.
Removed extraneous debug printfs

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

21 years agodebugger/mcs51/cmd.c: added header newalloc.h
bernhardheld [Mon, 28 Apr 2003 11:03:03 +0000 (11:03 +0000)]
debugger/mcs51/cmd.c: added header newalloc.h

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

21 years ago* src/pic/glue.c (pic14emitRegularMap): fixed warning
bernhardheld [Sat, 26 Apr 2003 21:18:04 +0000 (21:18 +0000)]
* src/pic/glue.c (pic14emitRegularMap): fixed warning

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

21 years ago* as/Makefile: new EXEEXT
bernhardheld [Sat, 26 Apr 2003 20:58:14 +0000 (20:58 +0000)]
* as/Makefile: new EXEEXT
* as/z80/Makefile: remove trailing slash of BUILDIR
* as/z80/clean.mk: new EXEEXT
* Makefile.common.in: add to CFLAGS (and others), don't replace it
* support/cpp2/Makefile.in: new EXEEXT

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

21 years agoEXEEXT introduces to solve Cygwin problems
bernhardheld [Thu, 24 Apr 2003 21:06:59 +0000 (21:06 +0000)]
EXEEXT introduces to solve Cygwin problems

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

21 years agoddd fixes
kbongers [Thu, 24 Apr 2003 15:28:37 +0000 (15:28 +0000)]
ddd fixes

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

21 years agosdcdb updates,ddd
kbongers [Thu, 24 Apr 2003 04:53:25 +0000 (04:53 +0000)]
sdcdb updates,ddd

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

21 years ago* as/Makefile: fix target clean
bernhardheld [Wed, 23 Apr 2003 10:05:56 +0000 (10:05 +0000)]
* as/Makefile: fix target clean
* as/clean.mk: fix target clean
* as/z80/clean.mk: fix target clean

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

21 years ago* Makefile.common.in: added @EXEEXT@
bernhardheld [Tue, 22 Apr 2003 20:25:26 +0000 (20:25 +0000)]
* Makefile.common.in: added @EXEEXT@
* configure.in: removed all mingw32 stuff
* configure: rebuilt from configure.in
* doc/sdccman.lyx: updated section "installation"
* support/scripts/sdcc_mingw32: adapted to configure
* support/scripts/sdcc_cygwin_mingw32: added

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

21 years agoPIC port now supports object files. Applied patch from Craig Franklin that started...
sdattalo [Tue, 22 Apr 2003 16:45:42 +0000 (16:45 +0000)]
PIC port now supports object files. Applied patch from Craig Franklin that started the transition to object files. Updated the pic regression tests to support object files.

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

21 years ago* src/SDCCglobl.h: small change in stack handling macros, to avoid crash when compiled
borutr [Sun, 20 Apr 2003 19:44:35 +0000 (19:44 +0000)]
* src/SDCCglobl.h: small change in stack handling macros, to avoid crash when compiled
  with MSVC with global optimization enabled (probably an cl compiler bug ;-)
* support/Util/SDCCerr.c, support/Util/SDCCerr.h: added function fatal(), called from
  stack handling macros

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

21 years agosmall change in stack handling macros, to avoid crash when compiled with
borutr [Sun, 20 Apr 2003 19:43:52 +0000 (19:43 +0000)]
small change in stack handling macros, to avoid crash when compiled with
MSVC with global optimization enabled (probably an cl compiler bug ;-)

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

21 years agoadded function fatal(), called from stack handling macros
borutr [Sun, 20 Apr 2003 19:43:12 +0000 (19:43 +0000)]
added function fatal(), called from stack handling macros

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

21 years ago* sdcc/as/mcs51/lklex.c: make getfid() more robust and fixed gcc warning
borutr [Sun, 20 Apr 2003 15:57:30 +0000 (15:57 +0000)]
* sdcc/as/mcs51/lklex.c: make getfid() more robust and fixed gcc warning

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

21 years agomake getfid() more robust and fixed gcc warning
borutr [Sun, 20 Apr 2003 15:56:58 +0000 (15:56 +0000)]
make getfid() more robust and fixed gcc warning

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

21 years agono bitfields yet
johanknol [Sun, 20 Apr 2003 11:52:03 +0000 (11:52 +0000)]
no bitfields yet

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

21 years ago* support/regression/tests/bitfields.c: added Johan's bitfields.c
bernhardheld [Sat, 19 Apr 2003 20:06:17 +0000 (20:06 +0000)]
* support/regression/tests/bitfields.c: added Johan's bitfields.c

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

21 years ago"handling space characters in file path" task
borutr [Sat, 19 Apr 2003 15:25:05 +0000 (15:25 +0000)]
"handling space characters in file path" task

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

21 years agohandling space characters in file path
borutr [Sat, 19 Apr 2003 15:24:39 +0000 (15:24 +0000)]
handling space characters in file path

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

21 years agohandling space characters in executable's path
borutr [Sat, 19 Apr 2003 15:20:49 +0000 (15:20 +0000)]
handling space characters in executable's path

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

21 years agointroduced setDataPaths() function, {datadir} macro (it will be used by assemblers...
borutr [Sat, 19 Apr 2003 15:19:37 +0000 (15:19 +0000)]
introduced setDataPaths() function, {datadir} macro (it will be used by assemblers, which have their own includes, e.g. gpasm)

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

21 years agomake it self-sufficient
borutr [Sat, 19 Apr 2003 15:17:53 +0000 (15:17 +0000)]
make it self-sufficient

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

21 years agodefine par as NULL if parameter value is invalid
borutr [Sat, 19 Apr 2003 15:17:32 +0000 (15:17 +0000)]
define par as NULL if parameter value is invalid

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

21 years agofixed bug in handlig quote at the end of line
borutr [Sat, 19 Apr 2003 15:17:04 +0000 (15:17 +0000)]
fixed bug in handlig quote at the end of line

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

21 years agosim/ucsim/gui.src/Makefile.in: target "install" builds the same packages as target...
bernhardheld [Sat, 19 Apr 2003 10:36:06 +0000 (10:36 +0000)]
sim/ucsim/gui.src/Makefile.in: target "install" builds the same packages as target "all"

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

21 years ago* as/z80/Makefile: fix permanent rebuild of z80
bernhardheld [Sat, 19 Apr 2003 10:06:51 +0000 (10:06 +0000)]
* as/z80/Makefile: fix permanent rebuild of z80

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

21 years agoFix error messages which could cause SEGV on Solaris
kvigor [Fri, 18 Apr 2003 21:17:16 +0000 (21:17 +0000)]
Fix error messages which could cause SEGV on Solaris

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

21 years agooptimization: replace modulo by a power of two with a bitwise AND
kvigor [Fri, 18 Apr 2003 21:03:51 +0000 (21:03 +0000)]
optimization: replace modulo by a power of two with a bitwise AND

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

21 years agofixed bug #635354
johanknol [Fri, 18 Apr 2003 17:57:14 +0000 (17:57 +0000)]
fixed bug #635354

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

21 years agofixed bug #635354
johanknol [Fri, 18 Apr 2003 17:51:11 +0000 (17:51 +0000)]
fixed bug #635354

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

21 years agofixed "bug" #662263
johanknol [Fri, 18 Apr 2003 14:07:25 +0000 (14:07 +0000)]
fixed "bug" #662263

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

21 years agofixed bug #716790 and removes lot's of redundant register usage around function calls
johanknol [Thu, 17 Apr 2003 17:08:36 +0000 (17:08 +0000)]
fixed bug #716790 and removes lot's of redundant register usage around function calls

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

21 years agoNo need for that anymore
johanknol [Thu, 17 Apr 2003 14:45:10 +0000 (14:45 +0000)]
No need for that anymore

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

21 years agofixed bug #720667
johanknol [Thu, 17 Apr 2003 09:32:03 +0000 (09:32 +0000)]
fixed bug #720667

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

21 years ago* configure.in, configure: fixed mingw problem in adl_NORMALIZE_PATH
borutr [Sun, 13 Apr 2003 20:10:51 +0000 (20:10 +0000)]
* configure.in, configure: fixed mingw problem in adl_NORMALIZE_PATH

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

21 years agofixed mingw problem in adl_NORMALIZE_PATH
borutr [Sun, 13 Apr 2003 20:09:55 +0000 (20:09 +0000)]
fixed mingw problem in adl_NORMALIZE_PATH

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

21 years ago* doc/sdccman.lyx: updated info about #pragma SAVE/RESTORE nesting
borutr [Sun, 13 Apr 2003 17:39:23 +0000 (17:39 +0000)]
* doc/sdccman.lyx: updated info about #pragma SAVE/RESTORE nesting
* configure.in, configure: fixed problems on cygwin/WinCVS environmet with ports.* line endings

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

21 years agofixed problems on cygwin/WinCVS environmet with ports.* line endings
borutr [Sun, 13 Apr 2003 17:38:15 +0000 (17:38 +0000)]
fixed problems on cygwin/WinCVS environmet with ports.* line endings

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

21 years agoupdated info about #pragma SAVE/RESTORE nesting: typo corrections...
borutr [Sun, 13 Apr 2003 17:34:28 +0000 (17:34 +0000)]
updated info about #pragma SAVE/RESTORE nesting: typo corrections...

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

21 years agoupdated info about #pragma SAVE/RESTORE nesting
borutr [Sun, 13 Apr 2003 11:35:10 +0000 (11:35 +0000)]
updated info about #pragma SAVE/RESTORE nesting

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

21 years agoadded another missing bracket ;-) and beautified HTML output
bernhardheld [Sat, 12 Apr 2003 21:37:53 +0000 (21:37 +0000)]
added another missing bracket ;-) and beautified HTML output

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

21 years agofixed "#pragma SAVE/RESTORE can not be nested"
borutr [Sat, 12 Apr 2003 21:09:58 +0000 (21:09 +0000)]
fixed "#pragma SAVE/RESTORE can not be nested"

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

21 years agoreworked pragma handling functions
borutr [Sat, 12 Apr 2003 21:00:06 +0000 (21:00 +0000)]
reworked pragma handling functions

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

21 years agoreworked stack handling macros
borutr [Sat, 12 Apr 2003 20:59:46 +0000 (20:59 +0000)]
reworked stack handling macros

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

21 years agoadded E_STACK_VIOLATION error
borutr [Sat, 12 Apr 2003 20:59:24 +0000 (20:59 +0000)]
added E_STACK_VIOLATION error

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

21 years ago* src/SDCCutil.c (pathEquivalent): defined but not used
bernhardheld [Sat, 12 Apr 2003 19:48:48 +0000 (19:48 +0000)]
* src/SDCCutil.c (pathEquivalent): defined but not used
* debugger/mcs51/sdcdb.c: replaced SDCC_LIB_DIR
* configure.in: removed sdcc_datadir, sdcc_lib_dir and sdcc_include_dir
* configure: rebuilt from configure.in
* sdccconf_in.h: removed SDCC_LIB_DIR and SDCC_INCLUDE_DIR
* sdcc_vc_in.h: removed SDCC_LIB_DIR and SDCC_INCLUDE_DIR
* device/include/Makefile.in: replaced sdcc_datadir
* device/lib/Makefile.in: replaced sdcc_datadir
* Makefile.common.in: added LDFLAGS from configure
* support/cpp2/Makefile.in: added LDFLAGS from configure
* packihx/Makefile.in: use LDFLAGS
* src/Makefile.in: use LDFLAGS
* support/makebin/Makefile: use LDFLAGS
* .version: bumped version number to 2.3.5

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

21 years agosrc/SDCCutil.c (pathEquivalent): defined but not used
bernhardheld [Sat, 12 Apr 2003 17:23:04 +0000 (17:23 +0000)]
src/SDCCutil.c (pathEquivalent): defined but not used

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

21 years agoadded missing ending bracket in path(argv[0]/
borutr [Sat, 12 Apr 2003 16:52:41 +0000 (16:52 +0000)]
added missing ending bracket in path(argv[0]/

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

21 years agocompleted "different paths" task
borutr [Sat, 12 Apr 2003 16:09:36 +0000 (16:09 +0000)]
completed "different paths" task

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

21 years agofixed bug in handling quotes
borutr [Sat, 12 Apr 2003 16:08:56 +0000 (16:08 +0000)]
fixed bug in handling quotes

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

21 years ago_discoverPaths() replaced with setBinPaths(), setIncludePath() and setLibPath()
borutr [Sat, 12 Apr 2003 16:08:35 +0000 (16:08 +0000)]
_discoverPaths() replaced with setBinPaths(), setIncludePath() and setLibPath()

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

21 years agorewritten getPrefixFromBinPath()
borutr [Sat, 12 Apr 2003 16:07:26 +0000 (16:07 +0000)]
rewritten getPrefixFromBinPath()

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

21 years agoFix html and pdf exports
bernhardheld [Sat, 12 Apr 2003 11:20:15 +0000 (11:20 +0000)]
Fix html and pdf exports

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

21 years agosrc/pic/pcoderegs.c (Remove1pcode): fix warning on alpha
bernhardheld [Sat, 12 Apr 2003 09:28:26 +0000 (09:28 +0000)]
src/pic/pcoderegs.c (Remove1pcode): fix warning on alpha

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

21 years agoFix bug 706781
kvigor [Fri, 11 Apr 2003 19:29:35 +0000 (19:29 +0000)]
Fix bug 706781

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

21 years agoFix null pointer deref that caused build failures on Solaris
kvigor [Fri, 11 Apr 2003 16:12:29 +0000 (16:12 +0000)]
Fix null pointer deref that caused build failures on Solaris

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

21 years agodbuf update to version 1.1.1 - re-added C++ stuff to make it still more portable
borutr [Fri, 11 Apr 2003 07:50:27 +0000 (07:50 +0000)]
dbuf update to version 1.1.1 - re-added C++ stuff to make it still more portable

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

21 years agoupdate to version 1.1.1 - re-added C++ stuff to make it still more portable
borutr [Fri, 11 Apr 2003 07:48:02 +0000 (07:48 +0000)]
update to version 1.1.1 - re-added C++ stuff to make it still more portable

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

21 years agoBINDIR is needed to compile with MSVC
jesusc [Fri, 11 Apr 2003 06:02:15 +0000 (06:02 +0000)]
BINDIR is needed to compile with MSVC

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

21 years agoThe function name in a pointer to function variable was getting declared
sdattalo [Fri, 11 Apr 2003 05:17:18 +0000 (05:17 +0000)]
The function name in a pointer to function variable was getting declared
in data space. (reported by Steve Tell).

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

21 years agoSteve Tell wrote this test program to test function pointers (note that
sdattalo [Fri, 11 Apr 2003 00:33:07 +0000 (00:33 +0000)]
Steve Tell wrote this test program to test function pointers (note that
this code still does not successfully pass the regression test).

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

21 years agoPointers - Applied function ptr patch from Steve Tell. Fixed bugs with
sdattalo [Fri, 11 Apr 2003 00:31:19 +0000 (00:31 +0000)]
Pointers - Applied function ptr patch from Steve Tell. Fixed bugs with
data pointers.
Modified the pic regression Makefile and rt.sh script for gpasm 11.0

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

21 years agoafter a good night sleep, let's try again
johanknol [Wed, 9 Apr 2003 09:04:39 +0000 (09:04 +0000)]
after a good night sleep, let's try again

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

21 years agothis DOES cause problems
johanknol [Tue, 8 Apr 2003 17:25:58 +0000 (17:25 +0000)]
this DOES cause problems

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

21 years agothis saves a few slocs without problems
johanknol [Tue, 8 Apr 2003 17:10:47 +0000 (17:10 +0000)]
this saves a few slocs without problems

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

21 years agodon't know why yet, but this causes a crash
johanknol [Tue, 8 Apr 2003 16:50:10 +0000 (16:50 +0000)]
don't know why yet, but this causes a crash

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

21 years agoyes
johanknol [Tue, 8 Apr 2003 13:01:38 +0000 (13:01 +0000)]
yes

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

21 years agoThis shows the registers in use in --i-code-in-asm and saves some spill locs
johanknol [Tue, 8 Apr 2003 12:51:35 +0000 (12:51 +0000)]
This shows the registers in use in --i-code-in-asm and saves some spill locs

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

21 years agodisabled the fix for bug #604575
johanknol [Tue, 8 Apr 2003 12:37:37 +0000 (12:37 +0000)]
disabled the fix for bug #604575

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

21 years agofixed bug #604575
johanknol [Tue, 8 Apr 2003 10:35:53 +0000 (10:35 +0000)]
fixed bug #604575

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

21 years ago* configure.in: fully support prefix, exec_prefix, datadir, docdir; fix bug #487815
bernhardheld [Mon, 7 Apr 2003 20:24:52 +0000 (20:24 +0000)]
* configure.in: fully support prefix, exec_prefix, datadir, docdir; fix bug #487815
* support/cpp2/Makefile.in: fix bug #487815
* configure: rebuilt from configure.in
* Makefile.common.in: docdir changed, new path suffixes
* sdccconf_in.h: new RETSIGTYPE, and other PATHs
* sdcc_vc_in.h: reflect changes from sdccconf.h
* src/SDCCglobl.h: remove *SEPARATOR_CHARS, they are now in sdccconf.h
* src/SDCCutil.h: remove BINDIR hack
* doc/sdccman.lyx: update new path hierarchy

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