Commit Graph

62376 Commits

Author SHA1 Message Date
nickysn
f261146b6f * makefile regenerated with latest fpcmake
git-svn-id: trunk@49263 -
2021-04-25 16:09:24 +00:00
nickysn
1a71ca4106 * prevention of dangling pointers and use after free after free_unregistered_localsymtable_elements
git-svn-id: trunk@49262 -
2021-04-25 15:58:59 +00:00
florian
5557dbedf2 + Aarch64: directly inline code for frac(...)
git-svn-id: trunk@49261 -
2021-04-25 09:26:47 +00:00
florian
cd3570caf1 + Aarch64: use frintz for int(...) instead of creating a helper call
git-svn-id: trunk@49260 -
2021-04-25 08:53:12 +00:00
nickysn
bc42d64348 * workaround for the raise node generating invalid WebAssembly code for
obtaining the current address. Note that exception handling in WebAssembly
  doesn't work. This only fixes the raise node enough to generate valid (but not
  correct) WebAssembly code. This is a temporary fix to allow the SysUtils unit
  to be compiled. Eventually, exception handling for WebAssembly will need to be
  rewritten entirely, in order to make exceptions work properly.

git-svn-id: trunk@49259 -
2021-04-24 14:40:07 +00:00
nickysn
f81dd894aa * override the raise node for WebAssembly and copy the generic pass_1
implementation. No functional changes.

git-svn-id: trunk@49258 -
2021-04-24 14:31:56 +00:00
florian
047d13e7e1 * fpsr and fpcr are 64 bit on aarch64
git-svn-id: trunk@49257 -
2021-04-24 14:06:36 +00:00
Mattias Gaertner
6d551fad4c fcl-passrc: started specialize type reference a<b>.c
git-svn-id: trunk@49256 -
2021-04-24 13:53:28 +00:00
Mattias Gaertner
1ab2ad3b06 pastojs: rtti of async function: pfAsync
git-svn-id: trunk@49255 -
2021-04-24 12:04:37 +00:00
Mattias Gaertner
74b8ccb992 fcl-passrc: started example issue #38784
git-svn-id: trunk@49254 -
2021-04-24 11:49:01 +00:00
Mattias Gaertner
be9b0adf71 pastojs: specialize try except on, issue #38795
git-svn-id: trunk@49253 -
2021-04-24 10:55:03 +00:00
pierre
17e3c31b7e Fix gotpcrel relocation for TESTQ x86_64 instruction
git-svn-id: trunk@49252 -
2021-04-23 21:52:24 +00:00
florian
c3f95f65ed * improved system unit dependencies
git-svn-id: trunk@49251 -
2021-04-23 21:16:16 +00:00
marco
8ad6271fa1 * avoid rangecheck mantis 0038791
git-svn-id: trunk@49250 -
2021-04-23 19:06:18 +00:00
svenbarth
e540e8f52e * use $IF DEFINED instead of $IFDEF for consistency (and is required for 3.2.2)
git-svn-id: trunk@49249 -
2021-04-23 14:05:23 +00:00
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