florian
5ed2475c85
* InitThread variant without parameters as user threads normally cannot know the max. stack size
...
git-svn-id: trunk@43068 -
2019-09-25 21:19:01 +00:00
pierre
ee22dbe589
Handle change of memory base address after call to SysTryResizeMem
...
git-svn-id: trunk@43062 -
2019-09-24 12:44:01 +00:00
svenbarth
a00be912aa
* fix regression introduced with r42240: packed sets for the Integer based variants of SetToString/StringToSet need to be shifted on Big Endian systems
...
git-svn-id: trunk@43048 -
2019-09-21 14:36:19 +00:00
pierre
912bc1e65b
+ Add math unit dependency to types$(PPUEXT) rule.
...
* Fix missing close-brace in several types$(PPUEXT) rules.
git-svn-id: trunk@43042 -
2019-09-19 20:49:12 +00:00
pierre
5cc4f0be20
Fix bug report #36081 : fix cycling starting with i386-linux 3.0.4 release compiler
...
git-svn-id: trunk@43029 -
2019-09-18 07:45:47 +00:00
florian
94832d5eea
* fixed define
...
git-svn-id: trunk@43027 -
2019-09-17 18:42:40 +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
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
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
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
marco
01bc1ed80e
* fix for mantis #36064 , pack printdlg only ifndef win64
...
git-svn-id: trunk@42976 -
2019-09-12 07:50:34 +00:00
Jeppe Johansen
05c4f45596
* Fix exitcode handling for avrsim target. Patch by Christo Crause
...
git-svn-id: trunk@42940 -
2019-09-07 20:21:16 +00:00
florian
ed688aceee
* remove packed from tdynarray, it is not needed and especially 64 bit CPUs which require proper aligment, suffer from it
...
git-svn-id: trunk@42920 -
2019-09-04 20:45:23 +00:00
florian
078595be4c
+ support for software floating point exception handling on AArch64 (-CE)
...
git-svn-id: trunk@42891 -
2019-09-01 17:26:11 +00:00
marco
8dddf8a525
* patch from Ondrej, TVerticalAlignment & TTopBottom
...
git-svn-id: trunk@42813 -
2019-08-25 09:37:21 +00:00
svenbarth
7e1607e095
* correct alignment for the property table
...
git-svn-id: trunk@42808 -
2019-08-24 23:08:36 +00:00
svenbarth
2dc771b7ba
* TClassData also needs alignment dummies
...
git-svn-id: trunk@42807 -
2019-08-24 23:08:33 +00:00
svenbarth
2002650a23
* small corrections (grammar, casing, typo) for the comment for TCallConv
...
git-svn-id: trunk@42802 -
2019-08-24 23:08:17 +00:00
michael
91ba1214d2
* Allow context when sorting lists (patch from Ondrej Pokorny, bug ID #0035962 )
...
git-svn-id: trunk@42798 -
2019-08-24 10:46:51 +00:00
svenbarth
c1e3c61af3
* don't call the memory manager's functions, but instead call the Sys* functions directly
...
git-svn-id: trunk@42797 -
2019-08-24 10:37:20 +00:00
svenbarth
f88a98e976
* heaptrc should not rely on the original SysAllocMem calling the heaptrace memory manager's functions
...
git-svn-id: trunk@42796 -
2019-08-24 10:37:16 +00:00
svenbarth
00a418f589
* also correctly align the pointer for the record elements inside FPC_COPY
...
git-svn-id: trunk@42781 -
2019-08-23 21:57:17 +00:00
svenbarth
db2a5285a9
* fix for Mantis #35988 : the internal heap uses directly the Sys* functions, not the memory manager
...
git-svn-id: trunk@42774 -
2019-08-23 14:59:15 +00:00
svenbarth
8e8ffa0511
* fix a rather annoying typo
...
git-svn-id: trunk@42772 -
2019-08-23 14:59:10 +00:00
michael
ee6c426e05
* Fix bug ID #0035596 : better detection of vcs device
...
git-svn-id: trunk@42766 -
2019-08-23 06:45:11 +00:00
svenbarth
707e05d131
* check for CPUM68k instead of M68K; the latter should only be defined when building the compiler, so I wonder how that ever worked...
...
git-svn-id: trunk@42765 -
2019-08-22 20:45:48 +00:00
svenbarth
0c46460548
* m68k has slightly different alignment requirements, so that aligntoptr might result in incorrect addresses for a record's element entries, thus we introduce a separate AlignTypeData function that handles this correctly
...
git-svn-id: trunk@42764 -
2019-08-22 20:45:45 +00:00
pierre
5ed7bd35df
Update all trunk/fpcsrc Makefile's after commit 42749
...
git-svn-id: trunk@42750 -
2019-08-20 15:58:10 +00:00
pierre
e8ae490128
sparc32 bit needs SA_SIGINFO
...
git-svn-id: trunk@42748 -
2019-08-20 14:25:32 +00:00
pierre
6f2b027e51
Avoid range check error for functions returning THandle type by using unusedhandle system constant
...
git-svn-id: trunk@42742 -
2019-08-19 20:23:31 +00:00
Jonas Maebe
693e72ade3
* Darwin now uses Mach VM calls for memory allocation instead of mmap/munmap
...
+ added sysrealloc support for Darwin (Darwin does not have mremap)
git-svn-id: trunk@42729 -
2019-08-18 15:55:07 +00:00
florian
f0213a2c46
+ make use of the mremap syscall of linux to re-allocate large memory blocks faster
...
git-svn-id: trunk@42713 -
2019-08-16 20:47:37 +00:00
svenbarth
10af6fe2fb
* fix for Mantis #35965 : correct alignment also for the class info used to retrieve the unit name
...
+ added test
git-svn-id: trunk@42697 -
2019-08-15 13:29:19 +00:00
florian
c418d63c16
+ create defines with FPU capabilites
...
+ make use of FPU capability defines in the rtl
git-svn-id: trunk@42681 -
2019-08-13 22:12:49 +00:00
pierre
8015bfb5a0
Fix arm specific failure in tw12048
...
git-svn-id: trunk@42657 -
2019-08-12 12:17:00 +00:00
marco
fdef3241f9
* some make 3.82 fixes from mantis #35927
...
git-svn-id: trunk@42610 -
2019-08-09 13:02:27 +00:00
pierre
008c1436d8
Fix bug report 35937 by simple assembly code change and add test
...
git-svn-id: trunk@42603 -
2019-08-08 14:10:21 +00:00
svenbarth
3d585db43d
* fix for Mantis #35906 : use more accurate modified time from the FindData on Windows for the Timestamp
...
git-svn-id: trunk@42559 -
2019-08-02 13:16:17 +00:00
pierre
3195b64599
Add .NOTPARALLEL for beos and haiku RTLs
...
git-svn-id: trunk@42555 -
2019-08-02 11:21:43 +00:00
pierre
d6d3e171ce
Try to fix alignment issues in RTTI code for 64-bit targets which require proper alignment
...
git-svn-id: trunk@42549 -
2019-08-01 14:46:56 +00:00
Jeppe Johansen
1b698d319f
- Fix bug in software overflow checking for longint's.
...
- AVR: Fix overflow checking for HW multiplications
git-svn-id: trunk@42531 -
2019-07-30 13:42:26 +00:00
florian
b3ed34592f
+ software handling of exceptions on arm
...
* reworked software handling of exceptions so they can be check lazily
git-svn-id: trunk@42525 -
2019-07-28 21:06:36 +00:00
florian
1a67ffdd22
* fix alignment of ParamList
...
* fix test for architectures using aligned rtti
git-svn-id: trunk@42516 -
2019-07-28 12:43:15 +00:00
Jonas Maebe
b0683edfcb
* simplified random(int64) code
...
git-svn-id: trunk@42513 -
2019-07-28 12:03:46 +00:00
florian
23585ded15
* fix access to ParamFlags of the tkMethod branch of type data for CPUs requiring proper alignment
...
git-svn-id: trunk@42511 -
2019-07-28 11:55:19 +00:00