Commit Graph

59069 Commits

Author SHA1 Message Date
nickysn
b1f7770845 + enable tf_smartlink_library and support library-based smartlinking on the z80-embedded target
git-svn-id: branches/z80@45082 -
2020-04-26 10:19:06 +00:00
nickysn
f74d7f1059 * switch back to using an unscripted ar for the ZX Spectrum target
git-svn-id: branches/z80@45081 -
2020-04-26 10:11:20 +00:00
svenbarth
60345366f2 * fix for Mantis #35140: apply patch by Ryan Joseph together with some further changes by me to add support for constant parameters in generics
+ added tests

git-svn-id: trunk@45080 -
2020-04-25 22:12:35 +00:00
nickysn
df65884b7e * synchronized with trunk
git-svn-id: branches/z80@45079 -
2020-04-25 21:13:31 +00:00
nickysn
d359787c91 * loop forever in system_exit
git-svn-id: branches/z80@45078 -
2020-04-25 21:10:42 +00:00
nickysn
f6ab9729fb * fixed writing sdcc-sdldz80 library files to the linker script
git-svn-id: branches/z80@45077 -
2020-04-25 21:09:56 +00:00
florian
951f02d188 * correctly set register size
git-svn-id: trunk@45076 -
2020-04-25 19:35:28 +00:00
nickysn
db4581041a * moved $EXTRAOPT before $OBJ
git-svn-id: branches/z80@45075 -
2020-04-25 16:42:31 +00:00
nickysn
fdbf1f4b7f + supported scripted sdcc-sdar
git-svn-id: branches/z80@45073 -
2020-04-25 15:39:46 +00:00
nickysn
8bd38e0e29 + added new ar - sdcc-sdar
git-svn-id: branches/z80@45072 -
2020-04-25 15:28:35 +00:00
nickysn
3580c53b05 + enabled library-based smart linking for the ZX Spectrum target (not fully working yet)
git-svn-id: branches/z80@45071 -
2020-04-25 14:09:38 +00:00
Mattias Gaertner
bb4557c5fe fcl-passrc: allow static directive repetition in method implementation
git-svn-id: trunk@45069 -
2020-04-25 13:54:15 +00:00
nickysn
91289fddf4 + emit a label in g_intf_wrapper, even though the entire function is not yet implemented. For now, this
is enough to avoid linking errors

git-svn-id: branches/z80@45068 -
2020-04-25 13:45:37 +00:00
nickysn
2e55f9f4ab + support ait_realconst in the SDCC-SDASZ80 asm output
git-svn-id: branches/z80@45067 -
2020-04-25 13:12:18 +00:00
nickysn
a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the
output label to that length

git-svn-id: branches/z80@45066 -
2020-04-25 12:59:25 +00:00
nickysn
084b4187f8 * dollar sign changed to dollar in the SDCC-SDASZ80 asm output
git-svn-id: branches/z80@45065 -
2020-04-25 12:38:52 +00:00
nickysn
2bcd6f4c17 + apply ReplaceForbiddenAsmSymbolChars to all symbols in the SDCC-SDASZ80 assembler output
git-svn-id: branches/z80@45064 -
2020-04-25 12:38:23 +00:00
nickysn
0b73bfa3ab * the dummy fpc_InitializeUnits and fpc_do_exit procedures are only defined if system unit is compiled
without -dFULL_RTL

git-svn-id: branches/z80@45063 -
2020-04-25 11:13:32 +00:00
nickysn
b15c66b396 * fixed tcgz80.a_call_reg
git-svn-id: branches/z80@45062 -
2020-04-25 11:06:58 +00:00
nickysn
4b88e8f48e * fixed label placement in tcgz80.a_cmp_const_reg_label for 16-bit/32-bit operations OC_GT,OC_LT,OC_GTE,OC_LTE,OC_BE,OC_B,OC_AE,OC_A
git-svn-id: branches/z80@45061 -
2020-04-25 09:44:34 +00:00
pierre
687b31575b Update revision.inc after commit 44920
git-svn-id: trunk@45060 -
2020-04-25 08:14:17 +00:00
nickysn
1943e3fc63 * synchronized with trunk
git-svn-id: branches/z80@45059 -
2020-04-24 21:38:20 +00:00
nickysn
ac3eda1360 * fixed spurious "Expectloc is not set in firstpass" when compiler is compiled with EXTDEBUG, and
there's a node that's converted to another node in pass 1

git-svn-id: branches/z80@45058 -
2020-04-24 21:37:13 +00:00
florian
670e778643 + assembler optimization MovxMov2Movx
git-svn-id: trunk@45057 -
2020-04-24 20:56:56 +00:00
nickysn
26ba399a66 * synchronized with trunk
git-svn-id: branches/z80@45056 -
2020-04-24 19:16:32 +00:00
nickysn
6014305708 - removed debug writeln
git-svn-id: branches/z80@45055 -
2020-04-24 19:15:52 +00:00
Mattias Gaertner
1af626817e fcl-passrc: resolver: mode delphi: allow member with same name as ancestor member
git-svn-id: trunk@45054 -
2020-04-24 16:38:34 +00:00
svenbarth
bd01182ff0 * add support for AND, OR, XOR and NOT of integer values in preprocessor directives (Delphi allows that as well)
+ added test

git-svn-id: trunk@45053 -
2020-04-24 14:09:04 +00:00
svenbarth
ae2801c707 * use asInt64 instead of asInt to evaluate an Integer expression
git-svn-id: trunk@45052 -
2020-04-24 14:09:02 +00:00
svenbarth
bffe99f59f + add an asInt64 to texprvalue
git-svn-id: trunk@45051 -
2020-04-24 14:09:00 +00:00
svenbarth
89434f0124 * extract calculation of a NOT value to a separate function
git-svn-id: trunk@45050 -
2020-04-24 14:08:58 +00:00
michael
c7c4f0bf39 * V2 may not contain error object
git-svn-id: trunk@45047 -
2020-04-24 05:41:19 +00:00
nickysn
9c7f1a7cab * synchronized with trunk
git-svn-id: branches/z80@45046 -
2020-04-24 03:30:29 +00:00
florian
8b71455e3b + Xtensa: enable jump optimizer
git-svn-id: trunk@45045 -
2020-04-23 20:17:28 +00:00
nickysn
55254ff64b + set expectloc in the first pass of the addnode for small CPUs for procvardef comparisons
git-svn-id: branches/z80@45044 -
2020-04-23 16:05:23 +00:00
nickysn
96a714b20e * set expectloc correctly for procvardef comparisons with nil for small CPUs
git-svn-id: branches/z80@45043 -
2020-04-23 15:52:22 +00:00
nickysn
073afe3735 + set expectloc correctly for small CPUs in the first pass of the add node for classrefdefs
git-svn-id: branches/z80@45042 -
2020-04-23 15:48:59 +00:00
nickysn
2ee28809d8 * set expectloc correctly for small CPUs for implicit pointer object types in the first pass of the add nodes
git-svn-id: branches/z80@45041 -
2020-04-23 15:46:27 +00:00
nickysn
4ae5b81bff * set expectloc correctly for enumdef comparisons on small CPUs
git-svn-id: branches/z80@45040 -
2020-04-23 15:31:50 +00:00
nickysn
9d1a9354c2 * set the correct expectloc in the first pass for pointer comparisons on the Z80
git-svn-id: branches/z80@45039 -
2020-04-23 14:00:38 +00:00
nickysn
0a017f1634 - removed unused method TZ80AddNode.NoEqual
git-svn-id: branches/z80@45038 -
2020-04-23 12:54:00 +00:00
yury
8d95da3fea * Windows: Reworked handling of command line arguments to properly support Unicode:
- Use the CommandLineToArgvW API function to parse the Unicode command line (we can use it since Win9x is not supported anymore).
  - Implemented non-public functions ParamStrA and ParamStrU which are exposed in the objpas and uuchar units to provide correct AnsiString and UnicodeString versions of ParamStr(). 
  - The cleanup code is moved from InternalExit to the finalization section of the System unit.

git-svn-id: trunk@45037 -
2020-04-23 12:38:42 +00:00
nickysn
11433210d7 + more dummy functions added
git-svn-id: branches/z80@45036 -
2020-04-23 03:19:56 +00:00
nickysn
4a0ad586d0 + implemented record copy in tcgz80.a_load_ref_cgpara
git-svn-id: branches/z80@45035 -
2020-04-23 03:14:09 +00:00
nickysn
992602afcb * fixed 64-bit OP_NOT
git-svn-id: branches/z80@45034 -
2020-04-23 03:10:39 +00:00
nickysn
4ca4f8abd5 + more dummy consts added
git-svn-id: branches/z80@45033 -
2020-04-23 03:05:18 +00:00
nickysn
02dbca9ae4 + added dummy sysdir.inc to the ZX Spectrum RTL
git-svn-id: branches/z80@45032 -
2020-04-23 03:03:42 +00:00
nickysn
f732b8413c + added dummy sysfile.inc
git-svn-id: branches/z80@45031 -
2020-04-23 03:01:39 +00:00
nickysn
91eeb82e5a + some dummy consts for the file io
git-svn-id: branches/z80@45030 -
2020-04-23 02:58:33 +00:00
nickysn
4c5f095422 + reenabled fileio and textio, because consoleio doesn't seem to work without them
git-svn-id: branches/z80@45029 -
2020-04-23 02:55:08 +00:00