Commit Graph

62415 Commits

Author SHA1 Message Date
Károly Balogh
6a35227a50 qlunits: really add the a new example missed from the previous commit
git-svn-id: trunk@49311 -
2021-05-01 13:25:30 +00:00
Károly Balogh
8c1ebd8353 qlunits: some refactors and updates. added system vars offsets to qdos unit, and a new example
git-svn-id: trunk@49310 -
2021-05-01 13:24:34 +00:00
Károly Balogh
53674e387f sinclairql: include qdosh.inc directly. this will allow easier sharing of qdosfuncs.inc with the qlunits package
git-svn-id: trunk@49308 -
2021-05-01 11:48:39 +00:00
Károly Balogh
394fd2037a sinclairql: sysdeps must include qdosh.inc too
git-svn-id: trunk@49307 -
2021-05-01 11:32:13 +00:00
Károly Balogh
02e6341161 sinclairql: implemented a selection of I/O functions, patch by Norman Dunbar
git-svn-id: trunk@49306 -
2021-05-01 09:59:31 +00:00
Jonas Maebe
9977889f4a * fix finally block getting unconditionally removed if try-block is empty
(hasnocode(nil) always returns true). Regression from r48174

git-svn-id: trunk@49305 -
2021-05-01 09:28:58 +00:00
michael
5cde6facdb * Patch from Werner Pamler to fix count of digits in periods
git-svn-id: trunk@49299 -
2021-05-01 06:32:48 +00:00
pierre
5ef44c550a Avoid range/overflow error after commit #49290
git-svn-id: trunk@49298 -
2021-04-30 09:55:11 +00:00
Károly Balogh
c9b90ccde0 m68k: sinclair ql now requires vlink 0.16h or newer.
git-svn-id: trunk@49296 -
2021-04-29 22:23:58 +00:00
Károly Balogh
f76bb5fc5e m68k-sinclairql: apply the same hack as for amiga and atari to avoid vlink section attribute warning
git-svn-id: trunk@49295 -
2021-04-29 22:21:36 +00:00
Károly Balogh
cdc7fec019 m68k: D2 is considered volatile on macosclassic
git-svn-id: trunk@49294 -
2021-04-29 22:06:26 +00:00
pierre
f0b322f4ed Add -TFreeBSD target OS option to -h output for aarch64 compiler ppc64
git-svn-id: trunk@49293 -
2021-04-29 21:59:32 +00:00
pierre
bf5f714497 Also check *.pas and *.inc files inside sub-directories in msgused.pl
git-svn-id: trunk@49292 -
2021-04-29 20:16:31 +00:00
florian
dc13516dee + patch by J. Gareth Moreton: improved tests for constant divisions including benchmark,
second part of #38806

git-svn-id: trunk@49291 -
2021-04-29 20:00:36 +00:00
florian
256ca9d210 * patch by J. Gareth Moreton: AArch64 "magic division"
(replace division by constant with multiplication), part of #38806

git-svn-id: trunk@49290 -
2021-04-29 19:48:54 +00:00
pierre
6f4617eeb3 Use gdate/date -u option to get universal time for TEST_DATETIME variable
git-svn-id: trunk@49289 -
2021-04-29 14:42:56 +00:00
pierre
595edf6f9b Use as-clang as idtxt for as_aarch64_clang_gas_info
git-svn-id: trunk@49287 -
2021-04-28 23:03:47 +00:00
pierre
b464d38777 Add several missing -AXXX options
git-svn-id: trunk@49286 -
2021-04-28 23:02:44 +00:00
florian
837b433abc * avoid overflow during register allocation
git-svn-id: trunk@49285 -
2021-04-28 18:32:48 +00:00
pierre
72667f41ad Avoid warning with -O4 option
git-svn-id: trunk@49284 -
2021-04-28 14:56:30 +00:00
nickysn
658affeae2 + added default parameters to InstallUserMode
git-svn-id: trunk@49283 -
2021-04-27 23:59:29 +00:00
florian
0ffd4f8780 * fix compilation of arm compiler on 32 bit hosts
git-svn-id: trunk@49281 -
2021-04-27 16:36:40 +00:00
pierre
77e3a402da Set string length before calling move to avoid problems with global data analysis on systems using C library
git-svn-id: trunk@49280 -
2021-04-27 14:52:22 +00:00
pierre
7721995c71 Make sure nf_usercode_entry get transferred inside firstpass procedure
git-svn-id: trunk@49279 -
2021-04-27 14:20:09 +00:00
pierre
423940afd7 Avoid range check error inside genitem_thumb2 by changing local variable i type
git-svn-id: trunk@49278 -
2021-04-27 14:01:35 +00:00
michael
fab90f0b65 * Forgot to include sslbase
git-svn-id: trunk@49277 -
2021-04-27 11:30:53 +00:00
michael
51d1fefc12 * Make some properties public
git-svn-id: trunk@49276 -
2021-04-27 11:16:58 +00:00
Károly Balogh
d06cb1a20a m68k: fixed a comment. no functional change
git-svn-id: trunk@49275 -
2021-04-27 06:25:13 +00:00
pierre
d03c3c0669 Disable overflow/range check in some part of the arm code
git-svn-id: trunk@49274 -
2021-04-26 21:51:42 +00:00
pierre
c2faf6a8fd Avoid invalid typecast if hp is not an instruction
git-svn-id: trunk@49273 -
2021-04-26 21:50:53 +00:00
Mattias Gaertner
0670980981 fcl-passrc: fixed (intf as tobject).ClassType, issue #38805
git-svn-id: trunk@49272 -
2021-04-26 21:16:28 +00:00
pierre
f1d30a5bc6 Add .force_thumb pseudo-directive support forarm reader
git-svn-id: trunk@49271 -
2021-04-26 21:14:27 +00:00
pierre
570af33fa9 Add a second handling of NIL entries in deflist
git-svn-id: trunk@49270 -
2021-04-26 21:12:02 +00:00
pierre
db02c7c85a Add -march=XXX option for aarch64 external assemblers
git-svn-id: trunk@49269 -
2021-04-26 21:10:25 +00:00
Mattias Gaertner
2d296fd879 pastojs: fixed rtti method flags
git-svn-id: trunk@49268 -
2021-04-26 21:02:43 +00:00
florian
1b22962140 * patch by Christo Crause to fix #38789: writing of linker commands should not depent in -s
git-svn-id: trunk@49267 -
2021-04-26 20:52:02 +00:00
pierre
4391075617 * Use FGeneralCriticalSection for LogIndent and LogUnindent.
Add FIndentCount integer field.
    Add FWorkerPrefix string field.
    Use try/finally block to keep track of LogLevel

git-svn-id: trunk@49266 -
2021-04-26 20:43:07 +00:00
florian
77cc2f4ced * decrease macro nesting counter early when expanding empty macro
to avoid errors about too depth macro nesting, resolves #38802

git-svn-id: trunk@49265 -
2021-04-25 19:49:26 +00:00
florian
822b460096 * fix bootstrapping on aarch64-linux with 3.2.x
git-svn-id: trunk@49264 -
2021-04-25 19:24:18 +00:00
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