Commit Graph

62561 Commits

Author SHA1 Message Date
svenbarth
a19e461ee0 * NDS: fix condition when to default to apptype arm9
git-svn-id: trunk@49248 -
2021-04-23 14:05:21 +00:00
florian
dbee3bcc0d * fixed MSecsToTimeStamp by Lagunov Aleksey, resolves #38631
git-svn-id: trunk@49247 -
2021-04-22 20:14:00 +00:00
pierre
43c50d0a32 Remove unused, obsolete -dBROWSERLOG option
git-svn-id: trunk@49246 -
2021-04-22 15:26:15 +00:00
marco
f0cc698a2f * patch by Wallaby, mantis 0038382, load filename via -W function
git-svn-id: trunk@49245 -
2021-04-22 15:11:38 +00:00
marco
e31923c290 * use W variant to get localestrs.
git-svn-id: trunk@49244 -
2021-04-22 14:00:51 +00:00
florian
29a5d3267c * moved warning about suspicious comp assignment to type check pass, catches also
assignments of constants

git-svn-id: trunk@49242 -
2021-04-21 19:51:22 +00:00
michael
02ec94c818 * Forgot to commit
git-svn-id: trunk@49241 -
2021-04-20 12:21:07 +00:00
michael
5e2bf25790 * Mustache templates implementation
git-svn-id: trunk@49240 -
2021-04-20 11:39:30 +00:00
Károly Balogh
b149718566 sinclairql: added an entirely stub (for now) sysutils unit. added a classes unit. enabled building the whole rtl
git-svn-id: trunk@49239 -
2021-04-20 10:02:39 +00:00
lacak
d7bef47c24 fcl-db: return default values for (published) properties where getters are not implemented yet.
git-svn-id: trunk@49238 -
2021-04-20 06:38:41 +00:00
Jonas Maebe
7c9fb4b4af * AArch64: fix storing a 32 bit value in the lower 32 bits of a 64 bit
subsetreg (mantis #38766)

git-svn-id: trunk@49236 -
2021-04-19 20:52:12 +00:00
florian
77681333f5 * patch by J. Gareth Moreton: AArch64 OptPass1Shift register tracking fault fix, resolves #38691
git-svn-id: trunk@49235 -
2021-04-19 19:54:39 +00:00
Károly Balogh
f718567c95 sinclairql: support the upcoming QL binary linking feature of vlink (still in development). it's behind an undocumented -WL switch now. also, reduce the amount of used dataspace by the size of the relocation table in the current linking mode
git-svn-id: trunk@49234 -
2021-04-19 19:09:34 +00:00
Károly Balogh
2a7aa11163 m68k: added support to references like (a0,d0.w) in inline assembly, also fixed a bug, where sometimes the index register would have been randomly set as smaller than .l size, when the size wasn't specified
git-svn-id: trunk@49233 -
2021-04-19 09:13:02 +00:00
Károly Balogh
6dbcd17f54 sinclairql: hopefully fix off-by-one processing in the packed relocs code
git-svn-id: trunk@49232 -
2021-04-19 05:42:18 +00:00
florian
71dc62dde6 * if left is a smaller type, then an extension operation for shr can be removed
git-svn-id: trunk@49231 -
2021-04-18 19:19:35 +00:00
pierre
e6045673ee Handle NIL entries in deflist after commit 48986
git-svn-id: trunk@49230 -
2021-04-18 15:44:07 +00:00
pierre
70760208bb Add systems_openbsd to suppported_targets_x_smallr and modify GenerateExecutable in t_bsd unit accordingly
git-svn-id: trunk@49229 -
2021-04-18 15:41:11 +00:00
svenbarth
f9957f30a5 * fix for Mantis #38771: the owner of the procdef might be Nil in case of a specialization (that virtual can't be used on generics is caught later on)
+ added test

git-svn-id: trunk@49228 -
2021-04-18 14:01:09 +00:00
Mattias Gaertner
a8f8f0ef4e pastojs: clean up
git-svn-id: trunk@49227 -
2021-04-18 12:59:48 +00:00
Mattias Gaertner
1861dc83d9 pas2js: fixed delay init specializations after loading impl sections
git-svn-id: trunk@49226 -
2021-04-18 12:51:54 +00:00
michael
fe78829b99 * Fix issue ID #38772
git-svn-id: trunk@49225 -
2021-04-18 10:45:47 +00:00
pierre
f5e5f9645c Add fForceUseForwardSlash to TLinkRes class, used for vlink linker on hosts using backslashes
git-svn-id: trunk@49223 -
2021-04-17 22:17:46 +00:00
nickysn
d8f02107a1 * avoid leaving a dangling pointer in pparautl.proc_add_definition to prevent
use after free in different parts of the compiler

git-svn-id: trunk@49222 -
2021-04-17 19:42:49 +00:00
nickysn
711efc3e3a + started working on the SysUtils unit for the WASI platform
git-svn-id: trunk@49220 -
2021-04-17 14:39:54 +00:00
marco
a06c18bd07 * Apply fix from bug #0038734 from Andrea Mauri to update vpbyte after fillbuffer in a loop. The second instance of fillbuffer is safe, because it is at the procedure exit, and vpbyte is a local variable.
git-svn-id: trunk@49219 -
2021-04-17 14:30:42 +00:00
nickysn
dbecb67d45 * fixed the value passing of record parameters with non-scalar value size on the
WebAssembly target

git-svn-id: trunk@49218 -
2021-04-17 14:25:54 +00:00
nickysn
947f9af0e5 + fixed code generation for high(dynarray) for the WebAssembly target
git-svn-id: trunk@49217 -
2021-04-17 13:58:55 +00:00
nickysn
a0e88efa6a + compile the sysconst unit for wasm32-wasi
git-svn-id: trunk@49216 -
2021-04-17 11:26:21 +00:00
florian
9969da24e1 * { ... } is no a longer valid comment in aarch64 assembler
git-svn-id: trunk@49215 -
2021-04-17 11:14:37 +00:00
florian
b336155be6 * improved .gitignore
git-svn-id: trunk@49214 -
2021-04-17 07:53:09 +00:00
nickysn
4f828929a3 * fixed the support for infinity and nan float literal values in the webassembly
llvm-mc asm writer

git-svn-id: trunk@49213 -
2021-04-16 23:40:11 +00:00
florian
d53b17cadc + Aarch64: completed LSE support for all interlocked operations
git-svn-id: trunk@49212 -
2021-04-16 19:33:31 +00:00
Károly Balogh
0d5260396c sinclairql: added startup code support for the 'packed' relocation table format in vlink. disabled for now.
git-svn-id: trunk@49211 -
2021-04-16 17:03:41 +00:00
Károly Balogh
665180a579 m68k: always use ELF objects with vasm for improved cross-compatibility with other tools and compilers
git-svn-id: trunk@49210 -
2021-04-16 11:42:04 +00:00
Mattias Gaertner
b64d1f9dfd pastojs: fixed insert array
git-svn-id: trunk@49209 -
2021-04-15 21:05:08 +00:00
Jonas Maebe
bb977b398d * AArch64: fix spilling integer registers to stack offsets that cannot be
encoded directly into the spilling instructions (second part of
    mantis #38053)

git-svn-id: trunk@49207 -
2021-04-14 20:56:32 +00:00
Jonas Maebe
4b4ae79609 * AArch64: fixed spilling info for MOVK (part of mantis #38053)
git-svn-id: trunk@49206 -
2021-04-14 20:56:29 +00:00
florian
5442e9f9d8 * insert explicit type cast for the count parameter of move/fillchar wrapping C functions,
avoids a warning in combination with -O3 and negative count values

git-svn-id: trunk@49205 -
2021-04-14 19:02:54 +00:00
Károly Balogh
8f61df817a atari: implemented stacktop for working stacktraces, implemented stacksize dependent stackmargin, and a system specific backtracestr. however, offs display still doesn't work properly, due to a linker issue (reported)
git-svn-id: trunk@49203 -
2021-04-14 14:59:08 +00:00
pierre
1e527e7a1e Also delete file before copying if destination is a directory on Darwin OS
git-svn-id: trunk@49202 -
2021-04-14 08:06:54 +00:00
Károly Balogh
2f90dbbd44 sinclairql: implemented StackTop, this results in working stacktraces and working stack checking. Implemented a custom 5% stack safety margin and a system specific SysBackTraceStr()
git-svn-id: trunk@49201 -
2021-04-14 04:05:33 +00:00
Károly Balogh
7b9ed5fe46 rtl: make STACK_MARGIN a variable instead of a const. this allows adjusting margin size on system unit init, based on the actual stack length of the executable. useful for small systems running with little stack. allow overwriting SysBackTraceStr with a platform-specific implementation
git-svn-id: trunk@49200 -
2021-04-14 02:35:01 +00:00
florian
695665c393 + optimized multiplication for "symmetric" bit patterns on arm
git-svn-id: trunk@49199 -
2021-04-13 21:16:56 +00:00
pierre
86c036d9ed Explicitly disable range and overflow checking to avoid troubles with pointer arithmetics
git-svn-id: trunk@49198 -
2021-04-13 20:57:18 +00:00
michael
66646b8630 * Fix for double error
git-svn-id: trunk@49197 -
2021-04-13 11:41:50 +00:00
Károly Balogh
da252e2f4b sinclairql: turn the anyKey string const into a pchar, this reduces the final binary size by 200-odd bytes
git-svn-id: trunk@49196 -
2021-04-13 10:20:29 +00:00
pierre
f90324a02a Add strings unit to buildrtl meta-unit, and update Makefile.fpc accordingly
git-svn-id: trunk@49195 -
2021-04-12 21:34:03 +00:00
pierre
8ac821613f Disable sinclairql target OS for most utils packages
git-svn-id: trunk@49194 -
2021-04-12 21:32:34 +00:00
Károly Balogh
a6d475b9b3 qlunits: updates, new API and utility functions, improved README
git-svn-id: trunk@49193 -
2021-04-12 13:48:54 +00:00