florian
a22d8a7c38
* Aarch64-linux: return properly from the signal handler
...
* Aarch64-linux: clear FPU exception flags before returning from the signal handler
git-svn-id: trunk@46870 -
2020-09-15 20:35:15 +00:00
florian
f8c1df0852
* ISO mode: handle typed files as text files regarding naming/program parameters, resolves #37415
...
git-svn-id: trunk@46865 -
2020-09-14 20:16:08 +00:00
Tomas Hajny
1eb11a2a29
* fix for problem with commit 46853
...
git-svn-id: trunk@46864 -
2020-09-14 05:30:59 +00:00
Tomas Hajny
288c7e3c9e
* Do_IsDevice treats pipes and sockets the same way as character devices
...
git-svn-id: trunk@46863 -
2020-09-13 22:08:18 +00:00
florian
2c54477807
* patch by J. Gareth Moreton: introduce RemoveInstruction and make as much as possible use of RemoveCurrentP, resolves #37399
...
git-svn-id: trunk@46862 -
2020-09-13 19:35:09 +00:00
florian
7f8f733963
* RiscV32 correctly set operands of div/mod operations, resolves #37743
...
git-svn-id: trunk@46859 -
2020-09-12 21:32:11 +00:00
florian
d7fe9914a7
+ introduce tcgobj.a_loadfpu_reg_intreg
...
+ make use of it in tcgtypeconvnode.second_nothing
+ Xtensa: implementation of a_tcgcpu.a_loadfpu_intreg_reg and tcgcpu.a_loadfpu_reg_intreg
git-svn-id: trunk@46858 -
2020-09-12 21:23:57 +00:00
Jonas Maebe
8616338374
* fixed dataraces in setting the UnitDir/UnitConfigDir fields of TPackage
...
(could be resolved by multiple other packages at the same time)
(mantis #37725 )
* made some "array of const" parameters "const"
* fixed removing the extra variables again in TDictionary.Substitute
git-svn-id: trunk@46857 -
2020-09-12 19:05:36 +00:00
yury
2f21f5ae93
* Reverted r46836, since it does not work as expected for yet unknown reason.
...
git-svn-id: trunk@46856 -
2020-09-12 10:13:00 +00:00
svenbarth
c53422e4ef
* handle reparse points that are neither symlinks nor mount points as normal files
...
git-svn-id: trunk@46855 -
2020-09-12 08:03:10 +00:00
Mattias Gaertner
96cb396d56
pastojs: jsglobalalias: references in init to elements from implementation uses
...
git-svn-id: trunk@46854 -
2020-09-12 07:59:05 +00:00
Tomas Hajny
3c9257300d
* fix for bug #37716 by Andrey 'Croco' Stolyarov
...
git-svn-id: trunk@46853 -
2020-09-11 23:43:32 +00:00
florian
f8b17c410b
+ Xtensa: make use of ABS.S
...
+ extended test for abs(...) with single tests
git-svn-id: trunk@46852 -
2020-09-11 21:51:48 +00:00
svenbarth
d1521e8061
* a classrefdef might also be created with a forwarddef, so handle that correctly
...
git-svn-id: trunk@46850 -
2020-09-11 21:24:59 +00:00
Mattias Gaertner
af7008ee2f
pastojs: jsglobalalias: references to elements from implementation uses
...
git-svn-id: trunk@46847 -
2020-09-11 15:59:20 +00:00
Mattias Gaertner
aed1866db9
fcl-passrc: added TPasResolver.ImplementationUsesUnit
...
git-svn-id: trunk@46846 -
2020-09-11 15:58:41 +00:00
svenbarth
f281e52ea3
* TDictionary<,> is not sorted, so don't test it as such
...
git-svn-id: trunk@46845 -
2020-09-11 15:46:48 +00:00
svenbarth
d8fadbb6d2
* fix test for deletion notifications, because FPC clears the queue from front to back as well
...
git-svn-id: trunk@46844 -
2020-09-11 15:46:46 +00:00
svenbarth
cda338b893
* check whether there are any elements at all for both TStack<> and TQueue<> before removing any
...
git-svn-id: trunk@46843 -
2020-09-11 15:46:43 +00:00
svenbarth
6efd9cc93f
* fix for Mantis #37609 : add support for TryAdd for the TDictionary<,> hierarchy
...
+ added testcase
git-svn-id: trunk@46839 -
2020-09-11 14:52:21 +00:00
yury
b5abefe03e
* Moved spilling of registers which have the initial memory location and are used only once to a stage after coalescing is done. This produces a better code.
...
git-svn-id: trunk@46836 -
2020-09-11 13:32:18 +00:00
yury
c06744b62b
* Include stack location of spilled variables in the assembler output.
...
git-svn-id: trunk@46835 -
2020-09-11 12:36:31 +00:00
florian
8e74a04dc5
* Xtensa: stack size calculation for the call0 abi fixed
...
git-svn-id: trunk@46833 -
2020-09-10 20:53:11 +00:00
florian
ddf26cb3d2
* Xtensa: trgcpu.do_spill_op fixed
...
* cleanup
git-svn-id: trunk@46820 -
2020-09-09 21:08:04 +00:00
florian
27b4f3df60
* Xtensa: taicpu.spilling_get_operation_type improved
...
git-svn-id: trunk@46819 -
2020-09-09 21:08:03 +00:00
Mattias Gaertner
edd10be1e2
pastojs: docs updated
...
git-svn-id: trunk@46818 -
2020-09-09 20:40:58 +00:00
Mattias Gaertner
aae5c452cb
pastojs: fixed impl rtti
...
git-svn-id: trunk@46817 -
2020-09-09 20:32:01 +00:00
Mattias Gaertner
02c72dd5c4
pastojs: moved unit implementation js function into unit interface to share local vars
...
git-svn-id: trunk@46816 -
2020-09-09 19:56:43 +00:00
Károly Balogh
277d98431c
* linux: use ugetrlimit syscall on m68k for rlimits retrieval. this fixes fpgetrlimit() call, and stack checking on Linux/m68k (tstack.pp test), at least on anything newer than kernel 2.4+ (2001)
...
git-svn-id: trunk@46811 -
2020-09-09 15:15:52 +00:00
Károly Balogh
b49aa071ca
* linux: fix some formatting in ostypes.inc, no functional change
...
git-svn-id: trunk@46810 -
2020-09-09 14:58:45 +00:00
Mattias Gaertner
0f466cbed7
fcl-passrc: fixed compile with pas2js
...
git-svn-id: trunk@46809 -
2020-09-09 11:43:57 +00:00
Mattias Gaertner
13c10cc622
fcl-passrc: fixed compile with pas2js
...
git-svn-id: trunk@46808 -
2020-09-09 11:40:53 +00:00
Mattias Gaertner
342771c0c7
pastojs: fixed create pascal class descendent from a pascal class descendent of a JS function
...
git-svn-id: trunk@46807 -
2020-09-09 11:24:56 +00:00
Mattias Gaertner
9d3daca70c
pastojs: pass impl uses as [] instead of null
...
git-svn-id: trunk@46806 -
2020-09-09 10:54:26 +00:00
Mattias Gaertner
1d3ea62674
pastojs: renamed aliasglobals to jsaliasglobals
...
git-svn-id: trunk@46805 -
2020-09-09 10:39:29 +00:00
florian
c8f592d260
* RiscV32: corrected tcpuparamanager.getcgtempparaloc, resolves #37709
...
* cleanup
git-svn-id: trunk@46803 -
2020-09-08 20:30:59 +00:00
yury
d34168742e
* Fixed r46801 for the case of int64 params with a single paralocation.
...
git-svn-id: trunk@46802 -
2020-09-08 20:17:50 +00:00
yury
e159c92967
* Do not use stack parameter location for spilling if its size is less than the register size for all CPU targets except x86.
...
git-svn-id: trunk@46801 -
2020-09-08 18:50:58 +00:00
florian
93eef547ae
* improve call0 calling conventions
...
git-svn-id: trunk@46797 -
2020-09-07 20:28:38 +00:00
Mattias Gaertner
ce9d7f9995
pastojs: specialize procedure using pascal name
...
git-svn-id: trunk@46796 -
2020-09-07 19:44:04 +00:00
Mattias Gaertner
2f661371fe
pastojs: specialize class/record type using pascal name
...
git-svn-id: trunk@46795 -
2020-09-07 17:21:15 +00:00
yury
60c23daa91
* Fixed the stack parameters optimization (r46776) for big endian CPUs.
...
git-svn-id: trunk@46794 -
2020-09-07 12:54:20 +00:00
Mattias Gaertner
e50916a93c
pastojs: specialize array type using pascal name
...
git-svn-id: trunk@46793 -
2020-09-07 12:24:19 +00:00
Mattias Gaertner
a577fa3e58
pastojs: specialized procedure type RTTI now uses pascal name
...
git-svn-id: trunk@46792 -
2020-09-07 11:10:40 +00:00
Mattias Gaertner
7159e63614
pastojs: using pascal names for RTTI
...
git-svn-id: trunk@46791 -
2020-09-07 10:53:13 +00:00
florian
cdf1f710e5
+ C objects for for xtensa-freertos with call0 abi, build with:
...
make create_c_objects TEST_CCOMPILER=xtensa-lx106-elf-gcc TEST_ABI=call0 TEST_FPC=fpc TEST_CPU_TARGET=xtensa TEST_OS_TARGET=freertos "TEST_CFLAGS=-O3 -mlongcalls"
using xtensa-lx106-elf-gcc (crosstool-NG crosstool-ng-1.22.0-100-ge567ec7) 5.2.0
git-svn-id: trunk@46790 -
2020-09-06 20:23:25 +00:00
florian
02df628399
* regenerated
...
git-svn-id: trunk@46789 -
2020-09-06 20:23:23 +00:00
florian
323b3b5d2b
+ create directory for C objects if needed
...
git-svn-id: trunk@46788 -
2020-09-06 20:23:22 +00:00
Mattias Gaertner
43aa4c6b40
pastojs: override specialize name
...
git-svn-id: trunk@46787 -
2020-09-06 09:06:30 +00:00
Mattias Gaertner
f3579bf526
fcl-passrc: resolver specialize name with params
...
git-svn-id: trunk@46786 -
2020-09-06 09:06:03 +00:00