Commit Graph

55586 Commits

Author SHA1 Message Date
Sven/Sarah Barth
7c731fc3e6 * fix #39869: correctly check whether the recorded token stream still needs to be parsed (the replay depth of the scanner needs to be *larger* than what it was before starting the playback)
+ added test

(cherry picked from commit 61debb1559)
2022-08-26 16:10:43 +02:00
marcoonthegit
3a399845e4 * fixed ambiguity between pipe(2) with two params and pipe(3) with one that broke -dFPC_USE_LIBC
(cherry picked from commit f341baeaa7)
2022-08-22 17:45:40 +02:00
florian
9b2ba834a6 * properly calcualte aligncount as proposed by Jeppe, should resolve #33323
git-svn-id: trunk@40449 -
(cherry picked from commit 90557f2e62)
2022-08-18 14:49:04 +00:00
florian
58bcbe8188 * use g_concatcopy_unaligned on MIPS if needed
(cherry picked from commit 9c72ab651d)
2022-08-16 22:00:53 +02:00
Florian Klämpfl
3f15b21e6c * cosmetics
(cherry picked from commit 9348f58e70)
2022-08-16 22:00:48 +02:00
Pierre Muller
79ebedde8e Fix compilation from 32-bit CPU by avoiding use of aint variable in for loop
(cherry picked from commit c2ffd51c63)
2022-08-16 22:00:42 +02:00
Sven/Sarah Barth
affd8b02d9 * fix #39664: ensure that the 8- and 16-bit signed overloads of IntToHex return the correct number of digits
+ added test

(cherry picked from commit d32134dd1a)
2022-08-10 13:40:17 +02:00
florian
7c5a81abac * building on PowerPC fixed
git-svn-id: branches/debug_eh@41366 -
(cherry picked from commit c0c14d5362)
2022-08-07 22:03:24 +02:00
florian
377193e72f + gcc_except_table section
+ support exception related sections in the default LD linker script

git-svn-id: branches/debug_eh@41285 -

(cherry picked from commit 27ab140dd9)
2022-08-06 14:16:18 +02:00
Pierre Muller
619491e852 Fix searching of gstrip binary in cross-environment for solaris OS target
(cherry picked from commit fecdaeed0d)
2022-08-02 17:53:24 +02:00
pierre
b64165e0eb Use default linker script and only add FPC specific sections for Linux OS
git-svn-id: trunk@47374 -
(cherry picked from commit bcd52d66ee)
2022-07-20 19:45:25 +00:00
Pierre Muller
682c53ff6b Pseudo-commit to add cherry-pick information about: Avoid null array size field for aarch64-linux TUContext
(cherry picked from commit cdfe3aa1eb)
2022-07-13 13:36:24 +00:00
Pierre Muller
c069b97668 Pseudo commit to insert cherry-pick information about: Fix compilation of sparc64-linux rtl with -dFPC_USE_LIBC
(cherry picked from commit 28d32b2010)
2022-07-13 13:35:12 +00:00
Pierre Muller
db50354ac6 Fix compilation of m68k-linux rtl with -dFPC_USE_LIBC
(cherry picked from commit 870d612e15)
2022-07-12 20:36:30 +00:00
Pierre Muller
07e3224feb Avoid null array size field for aarch64-linux TUContext 2022-07-12 20:33:06 +00:00
Pierre Muller
f3ee4aa56e Fix compilation of sparc64-linux rtl with -dFPC_USE_LIBC 2022-07-12 20:32:55 +00:00
Pierre Muller
ab184895cc Fix compilation of sparc-linux rtl with -dFPC_USE_LIBC
(cherry picked from commit 1433c4f2f8)
2022-07-12 20:32:41 +00:00
Pierre Muller
560f906628 Fix compilation for x86_64-linux target using libc with -dFPC_USE_LIBC option
(cherry picked from commit 84c04f36f3)
2022-07-12 20:32:17 +00:00
Michaël Van Canneyt
9185095155 * Patches from Pascal Riekenberg, some small corrections
(cherry picked from commit 6f6a003414)
2022-06-29 21:53:53 +02:00
Joost van der Sluis
f589acc8f7 * Fixed padding of CFI-structures on non-32bit architectures
(cherry picked from commit 3434d10968)
2022-06-29 11:09:43 +02:00
Sven/Sarah Barth
ab5f200a61 * fix #39548: correctly declare the function result of SysAllocStringLen()
(cherry picked from commit e39f7ec8a0)
2022-06-26 18:58:13 +02:00
marcoonthegit
72769d9560 * typo fix in last commit
(cherry picked from commit c4be74abf3)
2022-06-26 18:56:42 +02:00
marcoonthegit
b40ebe5d99 * Also set clock12 to false if ampm is before %I. bug #39760 and fix from liao bozhi
(cherry picked from commit 009816cbc5)
2022-06-26 18:56:24 +02:00
marcoonthegit
d85a33474e * Improve Delphi compatibility of TEvent(object) constructors, while keeping also backwards compat by adding default parameters.
(cherry picked from commit 616538c251)
2022-06-20 19:54:34 +02:00
marcoonthegit
b76535ebe4 * TStringlist constructor with ownsobjects parameter, Delphi compatible + empty constructor to avoid compiler getting confused
(cherry picked from commit 2457016671)
2022-06-20 19:54:11 +02:00
marcoonthegit
2aa8da16c5 * add GetDateFormatEx, from bug #35118 by 440bx
(cherry picked from commit db9375d23f)
2022-06-20 12:18:04 +02:00
marcoonthegit
f289275932 * also remove .git dirs.
(cherry picked from commit ca332f1002)
2022-06-20 12:17:38 +02:00
marcoonthegit
8c8178443d * add overload to getenvironmentvariable so that it is also found when windows is before sysutils in the uses list. bug #39448
(cherry picked from commit c203097ec2)
2022-06-20 12:17:21 +02:00
marcoonthegit
dda26e2c01 * typo fix in last commit.
(cherry picked from commit dcb3906741)
2022-06-20 11:08:42 +02:00
marcoonthegit
a97beb3fd5 * add IEquatable<T>, requested on forum.
(cherry picked from commit d38c881828)
2022-06-20 11:00:32 +02:00
marcoonthegit
8fae763673 * fix ipv6_ constants in unxsockh. bug 29111 Apparently changed since 2005
(cherry picked from commit 41704feab4)
2022-06-20 11:00:03 +02:00
marcoonthegit
4d9fbd2faf * fix bit setting macros in windows unit. Should fix bug #39272.
(bit setting only allowed setting bits to one, not zero, and not added).

(cherry picked from commit b42bc966ac)
2022-06-20 10:59:44 +02:00
marcoonthegit
ea03f9c3d2 * fix TreeView_GetItemRect reported by 440bx on forum
(cherry picked from commit 4a8ddc50b3)
2022-06-20 10:59:16 +02:00
marcoonthegit
d9bac3a47d * restore old behaviour for non freebsd for _syscall
(cherry picked from commit e384e36e84)
2022-06-19 17:20:13 +02:00
marcoonthegit
c75945a32b * add parameter (=0) to getdirentries, hopefully fixes occasional EFAULT loops.
probably the random value of the register caused problems, already in the patch from bug #37220

(cherry picked from commit adf1a0642f)
2022-06-19 15:24:47 +02:00
marcoonthegit
4f07bff6ac * commented statat for non freebsd, and fixed a typo.
(cherry picked from commit 43010ed471)
2022-06-19 13:37:52 +02:00
pierre
001a37aa97 Update dev_t, ino_t and nlink_t types to cunit64
git-svn-id: trunk@41968 -
(cherry picked from commit 429bd929e8)
2022-06-18 15:03:54 +02:00
Pierre Muller
02b969cc59 Fix freebsd rtl compilation failure after better type check of variant element inside record case clause
(cherry picked from commit 4b196ece47)
2022-06-18 15:03:31 +02:00
pierre
87961ec9ea FreeBSD fixes for stat and dirent records
git-svn-id: trunk@41967 -
(cherry picked from commit 5fb61dc386)
2022-06-18 14:58:56 +02:00
marcoonthegit
69eb400d54 * commit ACM's fpc.diff, resolves mantis #37220 and FreeBSD 12/13 syscall port
(cherry picked from commit 99e3789fa3)
2022-06-18 14:08:07 +02:00
marcoonthegit
bd4b14a28b * manually merged part of d8021a1102 that prohibits later merges 2022-06-18 14:06:43 +02:00
marcoonthegit
622472d891 * prt0 for x86_64
(cherry picked from commit 4118173e1d)
2022-06-18 13:47:06 +02:00
marcoonthegit
d604cadab0 * fix ident patch script and i386/cprt0.as
(cherry picked from commit 61f559ff56)
2022-06-18 13:46:30 +02:00
marcoonthegit
ae6945b120 * change note section to be more 12 conformant
(cherry picked from commit b201d0a752)
2022-06-18 13:45:24 +02:00
marcoonthegit
f1c11cea44 * set freebsd to ld.bfd
(cherry picked from commit fb7565fc6c)
2022-06-18 13:44:38 +02:00
marcoonthegit
ce01ac7695 * FreeBSD version to 12 in trunk
(cherry picked from commit b36b610424)
2022-06-18 13:43:25 +02:00
florian
be560dadf8 * manual fixes to get .weak support in fixes 2022-04-18 23:00:40 +02:00
florian
0afa5dc4aa + support .weak in the internal assembler
(cherry picked from commit 191dd0c637)

# Conflicts:
#	compiler/assemble.pas
2022-04-18 22:50:53 +02:00
florian
3dc09bbedd * provide __libc_csu_init and __libc_csu_fini as weak symbols
(cherry picked from commit 35a7490ae1)
2022-04-18 22:45:08 +02:00
florian
9bd665d069 * pic'fied startup code
(cherry picked from commit baa28faa19)
2022-04-18 22:44:57 +02:00