michael
48c86637b4
* Patch from Joe Care to fix bug ID #37758 (wrong brackets for array params)
...
git-svn-id: trunk@46878 -
2020-09-16 19:17:12 +00:00
pierre
660cfc49e8
Add gcc specific options -mabi=32/-mabi=64 for mips CPU
...
git-svn-id: trunk@46877 -
2020-09-16 12:41:44 +00:00
svenbarth
d1cd26592a
* fix for Mantis #37745 : section names where the string offset has more than 7 digits need to be Base64 encoded
...
git-svn-id: trunk@46876 -
2020-09-16 05:16:56 +00:00
svenbarth
fb767dc246
* generate an internal error if the section name should be larger than 8
...
git-svn-id: trunk@46875 -
2020-09-16 05:16:48 +00:00
Tomas Hajny
1a4fdc7313
* fix for broken wince compilation after r46863
...
git-svn-id: trunk@46874 -
2020-09-15 21:36:01 +00:00
florian
1b60060eb1
* Aarch64-linux: debugging define disabled
...
git-svn-id: trunk@46872 -
2020-09-15 21:08:58 +00:00
florian
8057651e8d
* Aarc64: generate code for floating point exception checking which does not destroy
...
the flags so it works also with floating point comparisons
git-svn-id: trunk@46871 -
2020-09-15 21:08:57 +00:00
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
nickysn
842f400f0d
* synchronized with trunk
...
git-svn-id: branches/wasm@46860 -
2020-09-12 22:49:06 +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
nickysn
3d3653f7de
* synchronized with trunk
...
git-svn-id: branches/wasm@46851 -
2020-09-11 21:35:26 +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
nickysn
5ee6e9d593
* declare end_function as an instruction, instead of a directive
...
git-svn-id: branches/wasm@46849 -
2020-09-11 16:25:44 +00:00
nickysn
5c27030faf
* emit sec_fpc as sec_data, because custom section names aren't supported
...
git-svn-id: branches/wasm@46848 -
2020-09-11 16:19:32 +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
nickysn
e1b6f0bd85
+ introduced end_block, end_if, end_loop
...
git-svn-id: branches/wasm@46842 -
2020-09-11 15:20:00 +00:00
nickysn
15cdc6b856
* fix for the wasm section directive writing
...
git-svn-id: branches/wasm@46841 -
2020-09-11 15:09:06 +00:00
nickysn
c69dce34c4
+ add a .text section directive before each procedure
...
git-svn-id: branches/wasm@46840 -
2020-09-11 15:05:45 +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
nickysn
fc96ad5afd
+ write the end_function directive
...
git-svn-id: branches/wasm@46838 -
2020-09-11 14:47:27 +00:00
nickysn
4a5e2dbd23
* refactored the handling of the frame pointer and base pointer to use local temps instead
...
git-svn-id: branches/wasm@46837 -
2020-09-11 14:35:51 +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
nickysn
921ec47bc0
* synchronized with trunk
...
git-svn-id: branches/wasm@46832 -
2020-09-10 20:45:08 +00:00
nickysn
6a55837226
* synchronized with trunk
...
git-svn-id: branches/wasm@46821 -
2020-09-09 23:01:37 +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