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
florian
6db696a782
* define __libc_csu_* symbols as weak symbols on aarch64-linux
...
(cherry picked from commit a20a7e3497
)
2022-04-11 20:46:02 +02:00
Sven/Sarah Barth
9b467007ea
* fix #32034 and fix #39656 : in a for-in-loop with an array constructor enforce the type of the loop variable for the elements
...
+ added tests
(cherry picked from commit 815734c47a
)
2022-04-09 15:05:54 +02:00
Sven/Sarah Barth
d8aa721f88
* free the placeholder for the count of the dynamic array in end_dynarray_const() and document it as such
...
(cherry picked from commit 1180589046
)
2022-04-09 15:05:32 +02:00
Pierre Muller
d9ac2f58ad
Revert "Add trunk only system_CPU_OS values to ensure that the same integervlaue is uused for system_aarch64_darwin"
...
This reverts commit 313643ea1c
.
2022-03-24 21:23:18 +00:00
Pierre Muller
f320acd7e3
Revert "build fix of ppudump after 313643ea1c4d"
...
This reverts commit 25166cf7ca
.
2022-03-24 21:23:02 +00:00
Karoly Balogh
25166cf7ca
build fix of ppudump after 313643ea1c
2022-03-24 09:56:43 +01:00
Pierre Muller
313643ea1c
Add trunk only system_CPU_OS values to ensure that the same integervlaue is uused for system_aarch64_darwin
2022-03-24 07:25:51 +00:00
Jonas Maebe
6827c4810d
PPC64: fix wrong ifdef for SYSV ABI
...
The TOC is used by PPC64, not by PPC32. Resolves #39571
(cherry picked from commit 14289173bb
)
2022-03-20 13:45:16 +01:00
Jonas Maebe
076c9b06c1
PPC64: don't save TOC in pure assembler routines
...
Fix by Pierre
(cherry picked from commit 0fcc57fb4b
)
2022-03-20 13:45:16 +01:00
Jonas Maebe
89bf3fe5ea
PowerPC32 SysV: fix abis_ppc_toc declaration
...
No TOC on those platforms (as mentioned in tcgppcgen.get_rtoc_offset), so also
exclude from this constant
(cherry picked from commit 2ee45c7ed8
)
2022-03-20 13:45:15 +01:00
Jonas Maebe
04717861ac
TOC handling: clean up
...
Also fix on 32 bits PowerPC
(cherry picked from commit 629c1de460
)
2022-03-20 13:45:15 +01:00
florian
c565900c41
* patch by J. Gareth Moreton: handle register allocations correctly in MovMov2Mov 3, resolves #38703
...
git-svn-id: trunk@49128 -
(cherry picked from commit 503fc85dff
)
2022-03-13 19:07:52 +01:00
florian
6d97cff2e3
* added eliglible and blocked information to the current repository
2022-03-12 19:39:10 +01:00
Pierre Muller
224e83f67a
Regenerated after fpcmake.inc change
2022-03-10 14:52:28 +01:00
Pierre Muller
52bda8fa7c
Add _IO_stdin_used global
...
(cherry picked from commit ae3c0a2151
)
2022-03-09 21:45:41 +01:00
Tomas Hajny
3c93c77902
* align shortname to previous releases
...
(cherry picked from commit 8602a29383
)
# Conflicts:
# utils/json2pas/fpmake.pp
2022-03-05 23:51:14 +01:00
Tomas Hajny
f9f6146ed3
* make shortname really short
...
git-svn-id: trunk@48838 -
(cherry picked from commit 0aae9dd375
)
2022-03-04 23:01:16 +01:00
Tomas Hajny
e31036b5d6
* include installer building in zipinstall make target when building for relevant OS targets
...
(cherry picked from commit d70bb6a8c2
)
2022-03-04 22:56:42 +01:00
florian
db49020205
* patch from Debian package by Abou Al Montacir: Change path of localization fies to fit Debian standard, http://bugs.debian.org/73368
...
(cherry picked from commit 5bdf60376a
)
2022-03-04 22:53:01 +01:00
florian
896f33681f
* patch from Debian packages by Paul Gevers, fixes spelling
...
(cherry picked from commit 19ff0fe9e5
)
2022-03-04 22:52:30 +01:00
Jonas Maebe
3ac4270c23
ppc platforms: fix missing TOC restoration room
...
PPC platforms that use a TOC can never use a tail call to call a different
routine that potentially accesses globals, as it may use a different TOC and
then the linker must be able to insert an instruction after the branch to
restore the original TOC register value on "return". Even if FPC code itself
does not use the TOC register, it's still required since
1) the linker does not know this, and
2) the FPC code might still be called from other code that does use it
(cherry picked from commit 68b5ca633c
)
2022-03-04 21:33:08 +01:00
Jonas Maebe
edbe69c3ef
ppc64: fix rtoc handling
...
Save on procedure entry if it performs a call, rather than (only) before every
indirect call
(cherry picked from commit 83c18df69a
)
2022-03-04 21:33:08 +01:00
florian
59b078fce3
* compilation hopefully fixed
...
(cherry picked from commit 9314bbbf08
)
2022-03-04 21:33:08 +01:00
Jonas Maebe
73e8d5b39e
Linux/PPC64: fix missing TOC loads
...
Routines loading a global symbol need the TOC register
(cherry picked from commit 2de72c8541
)
2022-03-04 21:33:08 +01:00
florian
084e3e7b9a
* use high level interface wrappers for powerpc64 if pic is generated as the abi does not support branches between functions located in different tocs which might happen for inter-module branches
...
(cherry picked from commit 12f48c230b
)
2022-03-04 21:33:08 +01:00
Jonas Maebe
65733801e5
.gitattributes: restore after accidental deletion
2022-02-13 14:56:05 +01:00
Jonas Maebe
1c3fc6e2df
* don't convert the fpu parameters size from tcgsize -> int -> float_tcgsize
...
if not required, to avoid translating OS_C64 into OS_F64 (fix for x86
test failures after r45205)
git-svn-id: trunk@45221 -
(cherry picked from commit 3f6ad30b69
)
2022-02-13 12:02:28 +01:00
Jonas Maebe
8a31764a7b
* support floating point parameters split over multiple locations, including
...
integer registers, for homogeneous records/arrays on ppc64le (related to
mantis #36934 )
git-svn-id: trunk@45205 -
(cherry picked from commit 722ad1ff7b
)
2022-02-13 12:01:36 +01:00
Jonas Maebe
28b2b299da
* ppc64le: fix storing homogeneous 64 bit float parameters in case they are
...
split over just FPU registers and memory (related to mantis #36934 )
git-svn-id: trunk@45204 -
(cherry picked from commit 05923af386
)
2022-02-13 12:01:14 +01:00
florian
3ef2ab1019
* cleaning up tcgsize: it makes no sense to declare every combination and type
...
the different vector types must be either handled in the high level cg or
by using the shuffle parameter
git-svn-id: trunk@43860 -
(cherry picked from commit b7c6e01b03
)
2022-02-13 12:00:45 +01:00
svenbarth
dba65567f1
* use the sizes of the floatx80 and float128 structs for arrays having their size to avoid problems with padding on different platforms
...
git-svn-id: trunk@47198 -
(cherry picked from commit 16eb670e67
)
2022-02-02 17:12:31 +01:00