Commit Graph

57048 Commits

Author SHA1 Message Date
Mattias Gaertner
3e673c09a9 pastojs: changed constraints to TPasElementArray, changed TInlineSpecializeExpr to NameExpr:TPasExpr and Params:TFPList
git-svn-id: trunk@43021 -
2019-09-16 14:26:33 +00:00
Mattias Gaertner
4f64058a9f fcl-passrc: changed constraints to TPasElementArray, changed TInlineSpecializeExpr to NameExpr:TPasExpr and Params:TFPList
git-svn-id: trunk@43020 -
2019-09-16 14:26:17 +00:00
pierre
0b2a6e5a74 * tests/Makefile.fpc: Add NATIVE_FPC=$(FPC) to tstunits rule make call.
* tests/Makefile: Regenerate.
  * tests/tstunits/Makefile.fpc: Pass FPCFPMAKE=$(NATIVE_FPC) to rtl and packages
    recompilation rules, to avoid truobles for cross-compilation.
  * tests/tstunits/Makefile: Regenerate.

git-svn-id: trunk@43019 -
2019-09-16 07:41:37 +00:00
Jonas Maebe
9678542ba6 + add "thunk" attribute for stubs/thunks and emit it for LLVM
- also removed wrong "noreturn" attribute for interface thunks generated
     for high level code generator targets

git-svn-id: trunk@43018 -
2019-09-15 20:43:12 +00:00
Jonas Maebe
ff2d718699 * fixed occasional rounding error with currency constants on the LLVM targets
(fixes test/tcustomattr13.pp)

git-svn-id: trunk@43017 -
2019-09-15 20:43:09 +00:00
Jonas Maebe
4deb62ad87 * fix for "ldr label" support in AArch64 assembler reader (r42988)
git-svn-id: trunk@43016 -
2019-09-15 17:26:25 +00:00
Jonas Maebe
13902c1c7a * fixed compilation for __ARM_EABI_UNWINDER__ with -dexcdebug
git-svn-id: trunk@43015 -
2019-09-15 17:26:21 +00:00
florian
bfd83911e4 * set stack alignment for i386-linux to 16 byte boundaries, this implies a fixed stack layout inside the subroutine code as well
git-svn-id: trunk@43014 -
2019-09-15 17:17:33 +00:00
florian
719ff5fb4c * converted _FPC_libc21_haltproc into a pascal subroutine so stack alignment is kept
git-svn-id: trunk@43013 -
2019-09-15 17:17:32 +00:00
florian
3e6e72118b * keep stack aligned to 16 byte boundaries in assembler subroutines calling other subroutines
git-svn-id: trunk@43012 -
2019-09-15 17:17:31 +00:00
florian
1872bee116 * stack checking checks also proper alignment
git-svn-id: trunk@43011 -
2019-09-15 17:17:30 +00:00
florian
bd35c02257 * cosmetics: indention
git-svn-id: trunk@43010 -
2019-09-15 17:17:30 +00:00
florian
48c5636fbc * make InvokeKernelRegister work for caller cleared stack/fixed stack and keep stack 16 byte aligned if needed
git-svn-id: trunk@43009 -
2019-09-15 17:17:29 +00:00
florian
26d8cc9142 + define FPC_STACKALIGNMENT
git-svn-id: trunk@43008 -
2019-09-15 17:17:28 +00:00
florian
49005d3948 * tests are not supposed to work anymore on linux with a fixed 16 byte aligned stack
git-svn-id: trunk@43007 -
2019-09-15 17:17:28 +00:00
florian
896e031e84 * interrupt procedures fixed for i386 targets with a fixed stack with 16 byte alignment
git-svn-id: trunk@43006 -
2019-09-15 17:17:27 +00:00
florian
72391dc4b8 * fix tests for targets with fixed stack which must be 16 byte aligned
git-svn-id: trunk@43005 -
2019-09-15 17:17:26 +00:00
Jonas Maebe
9e7cf37cd6 * changed resulttype and firstpass processing from recursion into loop, based
on patch/idea by J. Gareth Moreton (as part of his patch in #35857)

git-svn-id: trunk@43004 -
2019-09-15 16:18:14 +00:00
michael
f4921daee6 * Fix prepare without parameters
git-svn-id: trunk@43003 -
2019-09-15 10:14:29 +00:00
michael
671e3ddec7 * Demo for macro support
git-svn-id: trunk@43002 -
2019-09-15 10:14:01 +00:00
michael
15f999bcce * Implement macro support, by Zdravko Gabrovski (Bug ID 36057)
git-svn-id: trunk@43001 -
2019-09-15 10:13:20 +00:00
Jonas Maebe
78c901e3c4 * mention LLVM define
git-svn-id: trunk@43000 -
2019-09-14 17:31:11 +00:00
Jonas Maebe
617cc6984b * call DoUnhandledException instead of RunError(217) when the the psabi eh
unwinder returns an error (this is usually because there is no outer
    exception catching frame anymore -> unhandled exception) (based on patch by
    Cyrax, mantis #35751)

git-svn-id: trunk@42999 -
2019-09-14 17:30:53 +00:00
Jonas Maebe
a051b8d225 - remmoved doregister parameter from t*sym constructors, as the registration
is handled automatically nowadays

git-svn-id: trunk@42998 -
2019-09-14 17:30:45 +00:00
Jonas Maebe
d14fd51d0b * fix potential crash with copied goto nodes on nestedparentfp platforms
o as described in the comment for the tgotonode.labsym field, it will
     be null for copied gotonodes

git-svn-id: trunk@42997 -
2019-09-14 17:22:23 +00:00
marco
bcabeb36a1 * another input fix.
git-svn-id: trunk@42996 -
2019-09-14 15:28:55 +00:00
marco
14d92d9ece * declaring an identifier "INPUT" is never wise. Thanks Marcus.
git-svn-id: trunk@42995 -
2019-09-14 15:27:46 +00:00
marco
3bae3a4aa4 * input related functions and structs, based on Mantis #35064
git-svn-id: trunk@42994 -
2019-09-14 13:11:55 +00:00
michael
55c4c61cd5 * Fix bug ID #36075
git-svn-id: trunk@42993 -
2019-09-14 13:05:03 +00:00
Jonas Maebe
9b70c7623d * initialise local variable to prevent random failures
git-svn-id: trunk@42992 -
2019-09-14 07:30:38 +00:00
svenbarth
492f1ac4be * implement RawThunk for Aarch64
git-svn-id: trunk@42991 -
2019-09-13 20:38:31 +00:00
svenbarth
d6381a3477 * ensure that the RawThunkPlaceholder* constants are compared with using the correct type
git-svn-id: trunk@42990 -
2019-09-13 20:38:28 +00:00
svenbarth
61642ffaa4 * Aarch64 asm reader: explicitely set the refaddr for local labels
git-svn-id: trunk@42989 -
2019-09-13 20:38:25 +00:00
svenbarth
ef154fb454 * Aarch64 asm reader: LDR instruction allows labels as well
git-svn-id: trunk@42988 -
2019-09-13 20:38:22 +00:00
Jonas Maebe
ef6dde6de3 * fixed loading the address of a copied labelnode in a loadnode
(mantis #35877)

git-svn-id: trunk@42987 -
2019-09-13 19:06:40 +00:00
Jonas Maebe
e3e23df7e2 * document how tgotonode/tlabelnode copying works
git-svn-id: trunk@42986 -
2019-09-13 19:06:34 +00:00
michael
31f0bfeb96 * Add .ini config file possibility, plus simple proxy server config
git-svn-id: trunk@42985 -
2019-09-13 16:29:38 +00:00
michael
da47ba14c1 * Add fpwebproxy
git-svn-id: trunk@42984 -
2019-09-13 16:28:48 +00:00
michael
ed41c45af3 * Fix uninitialized result warning
git-svn-id: trunk@42983 -
2019-09-13 16:22:35 +00:00
michael
619b418456 * Fix uninitialized var warning
git-svn-id: trunk@42982 -
2019-09-13 16:22:14 +00:00
michael
043ee68927 * Fix warnings about method visibilty
git-svn-id: trunk@42981 -
2019-09-13 16:21:44 +00:00
michael
d1f5b68922 * Remove unused variable name
git-svn-id: trunk@42980 -
2019-09-13 16:21:19 +00:00
michael
5f9f0c6b49 * Fix uninitialized var warning
git-svn-id: trunk@42979 -
2019-09-13 16:20:59 +00:00
michael
efdb976a12 * Fix some deprecated warnings
git-svn-id: trunk@42978 -
2019-09-13 16:20:39 +00:00
florian
4e93a9a6c7 * AVR: patch by Christo Crause: fixes tcgavr.g_concatcopy for data with size>255, resolves #36066
git-svn-id: trunk@42977 -
2019-09-12 20:29:12 +00:00
marco
01bc1ed80e * fix for mantis #36064, pack printdlg only ifndef win64
git-svn-id: trunk@42976 -
2019-09-12 07:50:34 +00:00
michael
a6a39d2ce4 * Use WriteBuffer when writing (bug ID 0036068)
git-svn-id: trunk@42975 -
2019-09-12 05:37:30 +00:00
michael
fbe36d91da * Fix bug ID #31385
git-svn-id: trunk@42974 -
2019-09-11 07:40:44 +00:00
florian
fa2e751f9f + AArch64: implementation of taarch64casenode.genlinearlist
git-svn-id: trunk@42973 -
2019-09-10 18:46:56 +00:00
michael
ffb2444d60 * Make link dataset/connection/transaction thread safe (Bug ID 34274)
git-svn-id: trunk@42972 -
2019-09-10 08:44:41 +00:00