Pierre Muller
d2f5bbac50
Riscv64 linux also needs _STAT_VER_LINUX to be zero for correct libc rtl behavior
2025-01-23 22:38:07 +00:00
florian
785e259e62
* compilation on linux with FPC_USE_LIBC fixed
2024-01-19 23:45:07 +01:00
florian
54dba5738c
* cleaned up TTimespecArr declarations
2024-01-17 23:25:03 +01:00
Michael VAN CANNEYT
4c2b54ee0d
* Char -> AnsiChar
2023-07-14 17:26:09 +02:00
Michaël Van Canneyt
a3a827eba5
* Fix for i386 breakage after merge request !433
2023-06-21 11:55:31 +02:00
Jinyang He
bcf7701887
Support use statx syscall in fpstat and fpfstat
2023-06-21 07:27:36 +00:00
Jinyang He
92e60d2107
add loongarch64 linux rtl support
2023-02-05 19:18:48 +00:00
Pierre Muller
0641ea33d1
Both _STAT_VER_KERNEL and _STAT_VER_LINUX are equal to zero for aarch64-linux
2023-01-09 10:29:38 +01:00
Michaël Van Canneyt
75c252fd8f
* Extra linux fcntl constants
2022-11-13 23:46:59 +01:00
florian
d2b0bcdf1f
+ linux implementation of System.GetCPUCount
...
git-svn-id: trunk@48106 -
2021-01-07 22:44:49 +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
pierre
9f60f5093d
F_GetLk/SetLk have different values for sparc/sparc64
...
git-svn-id: trunk@45829 -
2020-07-22 23:15:03 +00:00
florian
d6d92e3666
* revert part of r44879: flock must use kernel_off_t: off_t breaks e.g. i386
...
git-svn-id: trunk@45810 -
2020-07-19 19:54:22 +00:00
svenbarth
eb6f503bad
* fix O_LARGEFILE for Aarch64, RISC-V 32-bit and RISC-V 64-bit
...
git-svn-id: trunk@45613 -
2020-06-07 19:09:08 +00:00
pierre
4d25558519
* Use off_t type for l_start and l_end fields instead of kernel_off_t
...
+ Distinguish rlim_t type depending on fs32bit macro being set or not.
git-svn-id: trunk@44879 -
2020-04-20 09:50:07 +00:00
florian
1dd914ffc8
+ initial xtensa-linux rtl
...
git-svn-id: trunk@44636 -
2020-04-07 21:01:07 +00:00
florian
d425a85f8d
+ Linux.fpstatx, resolves #36501
...
git-svn-id: trunk@43837 -
2020-01-02 14:10:31 +00:00
Jeppe Johansen
6352328f3a
Update packages with information about RiscV.
...
Fix g_external_wrapper, since it uses a register.
Fixed calling of gas.
Ported cprt0.
git-svn-id: branches/laksen/riscv_new@39475 -
2018-07-20 10:40:28 +00:00
pierre
1ff7f061ff
Sparc64 uses the same value as sparc for O_APPEND
...
git-svn-id: trunk@36782 -
2017-07-24 10:01:14 +00:00
michael
52cd572cec
* Use specific type for TFPSet elements
...
git-svn-id: trunk@36710 -
2017-07-09 14:47:27 +00:00
marco
c335a3ea6e
* change TDIR fields to longint. Should have been abandonned long ago.
...
git-svn-id: trunk@34041 -
2016-06-30 18:51:05 +00:00
Jonas Maebe
4fa2edc638
+ Linux/AArch64 RTL support (patch by Edmund Grimley Evans)
...
o uses new generic Linux syscall numbers, used for recent architectures
git-svn-id: trunk@30895 -
2015-05-23 21:04:08 +00:00
svenbarth
fe49a4b60c
Fix Fp*Stat calls when compiling with FPC_USE_LIBC for x86_64-linux.
...
rtl/linux/ostypes.inc:
* correctly define the _STAT_VER_* constants for x86_64 (the ifdefs are based on those in the C header; for other platforms this needs to be checked)
git-svn-id: trunk@29241 -
2014-12-09 21:23:39 +00:00
Jonas Maebe
5b58162d6b
* increased the size of tdirent to
...
a) compensate for the fact that the kernel assumes it's a multiple of 8
bytes
b) reduce the number of system calls we have to perform when walking a
directory
(fixes mantis #24885 and probably also #20125 and #23732 )
git-svn-id: trunk@26150 -
2013-11-27 22:57:17 +00:00
pierre
61acf7de97
* Fix O_ constants for mips cpu
...
git-svn-id: trunk@21630 -
2012-06-17 12:40:14 +00:00
pierre
594a0e6217
* Adapt to mipsel compiler defining cpumipsel and cpumipsel32 but not cpumips anymore, one missing
...
git-svn-id: trunk@21543 -
2012-06-08 09:43:09 +00:00
pierre
651589c9a4
* Adapt to mipsel compiler defining cpumipsel and cpumipsel32 but not cpumips anymore
...
git-svn-id: trunk@21542 -
2012-06-08 09:34:36 +00:00
pierre
6a985f1ece
* Patch from Fuxin Zhang: Mips specific MAP_XXX constants
...
git-svn-id: trunk@21529 -
2012-06-07 23:04:51 +00:00
Jonas Maebe
715c819ff7
- removed "packed" from record types that should/need not be packed
...
git-svn-id: trunk@19613 -
2011-11-08 23:13:16 +00:00
Jonas Maebe
36aa39cc38
o fixed several Linux ipc bugs, based on patch by Ruben Chaer/
...
Pablo Alfaro (mantis #14075 , also fixes #13363 ):
* ipc msgtyp is clong, not cint
* TIPC_Perm and TSEMid_ds are different on 64 bit systems
* fixed passing semun arguments (have to be passed by value, not reference)
* fixed the order of parameters to msg* syscalls, and don't use
TIPC_Kludge for msgrcv syscall (only for ipccall.inc variants)
* use new operation variants on 64 bit platforms in ipccall.inc
* introduced use kernel_mode/uid/gid_t types for use by the Linux ipc
records
* fixed type of TSEMid_ds.sem_base for Darwin
* added {$packrecords c} to ipc unit, and {$packrecords 4} around
certain structs for Darwin as in the C headers
* fixed passing semun argument to semctl for libc platforms (by
value, not reference)
git-svn-id: trunk@16336 -
2010-11-13 16:58:23 +00:00
Jonas Maebe
53ad1bcabe
* fixed linux flock type by defining and using a kernel_off_t type
...
whose size depends on whether the run time environment is 32 or
64 bit (mantis #13647 )
+ added flock64 type for 32 bit systems (usable with special 64 bit
fcntl operations)
git-svn-id: trunk@13119 -
2009-05-09 19:47:59 +00:00
marco
8056591845
* marked domain field of Linux record with "platform" directive. under IFNDEF 2.2, do not merge
...
git-svn-id: trunk@12342 -
2008-12-11 17:42:36 +00:00
micha
4594758ae5
+ add poll support for unix
...
git-svn-id: trunk@12128 -
2008-11-16 17:05:47 +00:00
ivost
69bd90996b
* added S_IRWXG and S_IRWXU constants to ostypes.inc of linux (defined in sys/stat.h)
...
git-svn-id: trunk@11797 -
2008-09-16 22:57:07 +00:00
daniel
74ad03e264
* Remove double definition of O_LARGEFILE for powerpc-linux and give it
...
the correct value: $10000
git-svn-id: trunk@8123 -
2007-07-22 07:47:34 +00:00
florian
6250a3ccb9
* proper definition of O_LARGEFILE for all cpu platforms
...
git-svn-id: trunk@8120 -
2007-07-21 19:45:44 +00:00
marco
fd6f6cf7e9
* fix for 8801. mmap constants inconsistancy. Old constants are aliased for compat. non portable moved to OS specific units (merge)
...
git-svn-id: trunk@7265 -
2007-05-04 21:23:02 +00:00
daniel
59a972ec9c
* Change dd_nextoff to cardinal to prevent upscaling of calculations to 64-bit.
...
git-svn-id: trunk@6962 -
2007-03-23 15:53:04 +00:00
ivost
79b02de351
* fixed type defintion putsname
...
git-svn-id: trunk@6688 -
2007-03-01 08:34:12 +00:00
tom_at_work
704f8dae14
* fixed rtl compilation with -dFPC_USE_LIBC by providing a more generic fpprctl() call (including libc variant) and moving related constants slightly
...
git-svn-id: trunk@6134 -
2007-01-22 22:21:32 +00:00
micha
0043aff24d
* fix linux/sysutils 64 bit file handling: make off_t 64 bit
...
git-svn-id: trunk@5152 -
2006-11-01 16:32:12 +00:00
micha
b14c83a7e1
* stat records differ too much: use stat include file
...
git-svn-id: trunk@5126 -
2006-10-31 15:45:22 +00:00
micha
59e2c82080
* fix stat for 64 bit CPUs
...
git-svn-id: trunk@5120 -
2006-10-31 13:01:20 +00:00
micha
9238003e4f
+ 64 bit file support for linux
...
git-svn-id: trunk@5116 -
2006-10-31 11:20:21 +00:00
daniel
dc043e1ed3
* Now right.
...
git-svn-id: trunk@3813 -
2006-06-05 21:46:05 +00:00
daniel
6d4b583709
+ Add S_IRWXU
...
git-svn-id: trunk@3812 -
2006-06-05 21:42:36 +00:00
marco
4eb1f8d407
* iovec
...
git-svn-id: trunk@2528 -
2006-02-12 14:00:46 +00:00
marco
2a1d81db28
* fdset is now array of unsigned.
...
git-svn-id: trunk@2347 -
2006-01-26 21:11:37 +00:00
tom_at_work
1b4b42fdd6
* added CheckInitialStkLen() function which checks whether the given stack size value is valid on the OS when creating a thread, fixing stack checking
...
git-svn-id: trunk@1722 -
2005-11-11 12:16:08 +00:00
tom_at_work
b8f34684ec
- fixed TFDSet type for 64 bit compatibility
...
git-svn-id: trunk@1618 -
2005-11-01 21:08:07 +00:00