Jonas Maebe
f20e7bc193
* only adjust the stack pointer of the signal context if it's aligned (it
...
may still be unaligned in case the signal got raised in a leaf function)
git-svn-id: trunk@40771 -
2019-01-05 16:26:26 +00:00
olivier
4d7c0ce1b3
* Haiku : adjust alignment of records the C way.
...
This should fix Haiku on 32 bits CPU while not breaking the 64 bits version.
git-svn-id: trunk@40766 -
2019-01-05 02:36:34 +00:00
Károly Balogh
fa4502387b
haiku: more fixes of base OS types for 64bit, the compiler itself works natively now at least somewhat
...
git-svn-id: trunk@40764 -
2019-01-04 06:34:56 +00:00
Károly Balogh
634503591b
haiku: code cleanup, fixed off-by-one buffer size and removed 'packed' for the TAlternateSignalStack
...
git-svn-id: trunk@40763 -
2019-01-04 05:10:50 +00:00
Károly Balogh
1a4b8bfa27
haiku: do not use a packed record to define the signal stack and sigactionrec
...
git-svn-id: trunk@40762 -
2019-01-04 05:09:03 +00:00
Károly Balogh
82cdd6cec0
haiku: use some of the right ptypes for 64bit CPUs
...
git-svn-id: trunk@40761 -
2019-01-04 05:04:59 +00:00
Károly Balogh
3508ad0d20
haiku: properly pass on the exitcode to the haltproc on x86_64
...
git-svn-id: trunk@40760 -
2019-01-04 04:08:00 +00:00
Károly Balogh
d19cb0ee4c
haiku: Makefile.fpc update for x86_64 support
...
git-svn-id: trunk@40759 -
2019-01-04 03:34:20 +00:00
Károly Balogh
5182dc37af
haiku-x86_64: regenerated all Makefiles, take 2
...
git-svn-id: trunk@40758 -
2019-01-04 03:18:42 +00:00
Károly Balogh
a6cd62b358
haiku: enable usestime for x86_64 as well
...
git-svn-id: trunk@40755 -
2019-01-04 02:46:27 +00:00
Károly Balogh
efba70f82b
haiku: pascal sysinit code for haiku, will be needed for x86_64, nice to have for i386
...
git-svn-id: trunk@40754 -
2019-01-04 02:44:39 +00:00
florian
91a0de27aa
* pass -meabi=5 when calling the assembler in the linux rtl Makefile, non-eabi target are not supported for years already, so this should cause little problems
...
git-svn-id: trunk@40738 -
2019-01-01 19:29:43 +00:00
svenbarth
81fa0924d8
* an exception does not need to inherit from Exception, so declare that as such for the thread queue entry for the sake of clarity
...
git-svn-id: trunk@40652 -
2018-12-25 23:30:38 +00:00
svenbarth
3e0da1ef1c
* fix for Mantis #34640 : don't access the thread queue entry directly after it was added to the queue if it's a Queue()d entry instead of a Synchronize()d one
...
git-svn-id: trunk@40651 -
2018-12-25 23:30:35 +00:00
Jonas Maebe
4f72edcdd5
+ LLVM support for the FMA intrinsics
...
git-svn-id: trunk@40604 -
2018-12-21 20:57:19 +00:00
Jonas Maebe
2330164ee2
+ internal sqrt support for LLVM (faster on all platforms, necessary on
...
platforms that don't have RTL support for it, as the the generic
fpc_sqrt_real just calls runerror)
git-svn-id: trunk@40575 -
2018-12-16 20:44:41 +00:00
michael
d49510cc8c
* Fix bug #0034499
...
git-svn-id: trunk@40548 -
2018-12-14 10:00:44 +00:00
yury
f7efca92ec
* android: Disabled usage of the "pselect6" and "ppoll" syscalls for arm-android. These syscalls are not available on old Android versions (2.3 or older).
...
git-svn-id: trunk@40536 -
2018-12-12 14:04:57 +00:00
yury
a2a59bcb7d
* android: Regenerated syscalls.
...
git-svn-id: trunk@40535 -
2018-12-12 13:47:40 +00:00
michael
93ec37a4bc
Added overloads UintToStr for Delphi compatbibility (bug ID 0034690)
...
git-svn-id: trunk@40529 -
2018-12-12 08:29:24 +00:00
nickysn
da5868b668
+ added method TBits.CopyBits for fast copying
...
git-svn-id: trunk@40524 -
2018-12-11 15:52:09 +00:00
marco
ea2a606b16
* some constants for solaris. Mantis #34668
...
git-svn-id: trunk@40513 -
2018-12-09 16:53:34 +00:00
Jonas Maebe
14f3676b2a
+ llvm_lifetime_start/llvm_lifetime_end intrinsic declarations
...
git-svn-id: trunk@40500 -
2018-12-08 15:31:45 +00:00
florian
32121de8ae
* do not call InitTLS when a compiler is used which does not include the abi tag section
...
git-svn-id: trunk@40468 -
2018-12-04 21:25:48 +00:00
Jonas Maebe
122d0d36d6
+ volatile() expression that marks an expression as volatile
...
* disable matching volatile references in the assembler optimisers, so they
can't be removed (more conservative than needed, but better than removing
too many)
o the CSE optimiser will ignore them by default, because they're an unknown
inline node for it
* also removed no longer used fpc_in_move_x and fpc_in_fillchar_x inline node
identifiers from rtl/inc/innr.inc, and placed fpc_in_unaligned_x at the
right place
git-svn-id: trunk@40465 -
2018-12-04 19:53:20 +00:00
florian
eeadf618b8
+ abi tag for i386
...
* arm abi tag moved into pascal file
git-svn-id: trunk@40454 -
2018-12-02 22:56:12 +00:00
florian
90557f2e62
* properly calcualte aligncount as proposed by Jeppe, should resolve #33323
...
git-svn-id: trunk@40449 -
2018-12-02 14:49:24 +00:00
florian
31ae109a31
* properly initialize phdr and phnum
...
git-svn-id: trunk@40448 -
2018-12-02 08:49:03 +00:00
pierre
c2e46dc8fc
Add classes unit
...
git-svn-id: trunk@40358 -
2018-11-20 22:02:59 +00:00
pierre
04debba9de
Fix arm-android compilation by prepending syscall_nr_ prefix also to __ARM_NR_XXX arm specific linux syscalls
...
git-svn-id: trunk@40300 -
2018-11-13 11:11:49 +00:00
florian
72416edcc4
+ support for tlsm_general on i386-linux
...
git-svn-id: trunk@40281 -
2018-11-11 17:32:20 +00:00
florian
063415fa72
+ i386-linux support for tls-based threadvars
...
git-svn-id: trunk@40272 -
2018-11-07 22:03:02 +00:00
florian
9c041afc7c
* disable generic threadvar handling if section thread vars are available
...
git-svn-id: trunk@40270 -
2018-11-07 22:03:01 +00:00
florian
e949276d9d
* basic implementation for pure pascal programs to allocate tls space
...
git-svn-id: trunk@40268 -
2018-11-07 22:02:59 +00:00
florian
9f16c34329
+ initial work for tls-based threadvar support on arm-linux
...
git-svn-id: trunk@40267 -
2018-11-07 22:02:58 +00:00
yury
e63433c88c
* Fixed obtaining a time zone information for 64-bit android.
...
git-svn-id: trunk@40201 -
2018-11-03 14:33:41 +00:00
yury
d27c16f024
* ICU v3.8 on Android 1.5-2.1 is buggy and can't be unloaded properly.
...
git-svn-id: trunk@40199 -
2018-11-03 13:56:27 +00:00
yury
b717a149b6
* android: Removed cwstring from the uses clause of the unix unit. Use cwstring indirectly. It allows to avoid using cwstring if needed.
...
git-svn-id: trunk@40198 -
2018-11-03 12:34:59 +00:00
yury
a19528efa1
* Fixed warnings.
...
git-svn-id: trunk@40188 -
2018-11-02 19:22:46 +00:00
yury
78a26e53f8
* Fixed warnings.
...
git-svn-id: trunk@40187 -
2018-11-02 19:04:52 +00:00
yury
a077e0dd90
* Fixed comparison.
...
git-svn-id: trunk@40186 -
2018-11-02 19:04:26 +00:00
marco
f8050815ea
* pre shutdown constants + in general those series of constants refreshed
...
git-svn-id: trunk@40096 -
2018-10-30 09:03:46 +00:00
michael
3b1622f10a
* Add GetTypeKind
...
git-svn-id: trunk@40060 -
2018-10-28 10:47:57 +00:00
pierre
f4d19402f4
Add missing dirs_wdosx
...
git-svn-id: trunk@40025 -
2018-10-24 21:11:45 +00:00
pierre
f76e3dc705
Add missing unicode related units to netware OS
...
git-svn-id: trunk@40014 -
2018-10-22 21:14:59 +00:00
florian
33463c8698
* moved align helper so it actually gets inlined
...
git-svn-id: trunk@40011 -
2018-10-21 20:50:21 +00:00
pierre
044c835197
Add explicit typecast to avoid range ccheck error
...
git-svn-id: trunk@40002 -
2018-10-20 22:30:20 +00:00
michael
863ede7dc6
* Add QWord version of Max (Delphi compatibility, bug ID #34364 )
...
git-svn-id: trunk@39995 -
2018-10-20 12:28:56 +00:00
michael
ab159c638c
* Move consts to stdconv
...
git-svn-id: trunk@39994 -
2018-10-20 12:18:16 +00:00
michael
407753ea10
* Add constants for powers of 10 and 2. use integer/int64 where possible
...
git-svn-id: trunk@39992 -
2018-10-20 10:40:12 +00:00