Commit Graph

1731 Commits

Author SHA1 Message Date
florian
d35d69b851 + introduce TOSTimestamp
git-svn-id: trunk@44033 -
(cherry picked from commit 3cd4168ab3)
2023-12-16 17:10:56 +01:00
florian
dcde27b8c6 * renamed new syscall wrapper in linux to be consist with the others
git-svn-id: trunk@48479 -
(cherry picked from commit b4a1c27c58)
2023-12-16 12:15:48 +01:00
florian
5ea32418d8 + futimens syscall
* make use of futimens syscall in sysutils unit
  + tests

git-svn-id: trunk@48472 -
(cherry picked from commit b8ab06aae7)
2023-12-16 12:14:02 +01:00
florian
8be1d885e8 + linux.fputimensat which properly uses the _tim64 version if needed and available
+ test

git-svn-id: trunk@48470 -
(cherry picked from commit 0c77536f11)
2023-12-16 12:13:17 +01:00
florian
ed5bbbb70e * fixed comments in sysnr.inc files
git-svn-id: trunk@47426 -
(cherry picked from commit b2a67d4656)
2023-12-16 11:17:05 +01:00
Károly Balogh
ebf15a8401 arm-linux: enable epoll_pwait syscall number. this fixes the ARM Linux build after r44666
git-svn-id: trunk@44675 -
(cherry picked from commit afe8a7596a)
2023-12-16 11:16:55 +01:00
florian
6156cf4e2c * duplicate syscall number removed, resolves #36508
git-svn-id: trunk@43849 -
(cherry picked from commit 49d4371784)
2023-12-16 11:16:11 +01:00
florian
e4896d6c1c * updated linux syscall numbers
git-svn-id: trunk@43835 -
(cherry picked from commit 295041e523)
2023-12-16 11:15:26 +01:00
pierre
62ea323ed1 Update syscall number for sparc and sparc64 based on results from unix/scripts/check_sys.sh
git-svn-id: trunk@42019 -
(cherry picked from commit ebf2e277ab)
2023-12-16 11:15:13 +01:00
pierre
dbc3df32cc Add st_ctime_nsec field for stat powerpc record
git-svn-id: trunk@41972 -
(cherry picked from commit ce1ba76ce5)
2023-12-16 11:15:00 +01:00
pierre
3a1ed4f8ed Update syscall numbers for powerpc-linux and powerpc64-linux
git-svn-id: trunk@41971 -
(cherry picked from commit 0690df1733)
2023-12-16 11:14:43 +01:00
pierre
54f8a84dbc * Update syscall list for i386 and x86_64 cpus,
based on values found on gcc121 machine,
     CentOS Linux release 7.6.1810 (Core)
   * Commented out values not accepted by GNU C compiler.
     For i386: madvise1(219), security(223),set_zone_reclaim(251)
     New last number: 382(pkey_free).
     For x86_64: 331(pkey_free).

git-svn-id: trunk@41929 -
(cherry picked from commit 66401652fd)
2023-12-16 11:14:26 +01:00
florian
d4a7e0c8c7 + Linux.fpstatx, resolves #36501
git-svn-id: trunk@43837 -
(cherry picked from commit d425a85f8d)
2023-12-16 11:11:18 +01:00
florian
2d5b6b2be8 - removed cvs remainders ($Id$ and $Log$ tags)
git-svn-id: trunk@47119 -
(cherry picked from commit 80394fc6e8)
2023-12-16 10:55:15 +01:00
florian
655352f0e9 * mmap2 expects that offset is divided by 4096
git-svn-id: trunk@44198 -
(cherry picked from commit 17158c3587)
2023-09-30 16:14:51 +02:00
florian
46a316791c * powerpc64-linux: libc_csu_* are not available anymore in newer glibc,
make them dummy calls, x86_64-linux does the same for years

(cherry picked from commit abee68df92)
2022-11-20 11:20:55 +01:00
florian
b12bb768ca * all references to libc_csu_ cleaned, should resolve #39295
(cherry picked from commit b00fe0e4e4)
2022-11-20 11:20:44 +01:00
florian
26fb75ed77 * mips(el)-linux: provide __libc_csu_* as weak symbols
(cherry picked from commit 7ff6d78543)
2022-11-20 11:20:04 +01:00
florian
4480f65e98 * powerpc-linux: provide also local __libc_csu_* routines
(cherry picked from commit 143c2ec232)
2022-11-20 11:19:29 +01:00
florian
c949b97c42 * some more use of __libc_csu_* removed
(cherry picked from commit cb2704dfb2)
2022-11-19 23:48:43 +01: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
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
Pierre Muller
52bda8fa7c Add _IO_stdin_used global
(cherry picked from commit ae3c0a2151)
2022-03-09 21:45:41 +01:00
Pierre Muller
4789afb4b0 Regenerated Makefile's after cherry-pick adding soft fpu related units 2022-02-01 14:02:07 -07:00
Jonas Maebe
667938c6c9 * add missing unixutils -> baseunix dependency
git-svn-id: trunk@47302 -
(cherry picked from commit 24e188f0d2)
2021-10-09 21:13:32 +00:00
florian
083b7da54e * @PLT is needed for calls to link it properly with pic code
git-svn-id: trunk@46209 -


(cherry picked from commit b60ac4c2db)
2021-09-29 16:20:47 +00:00
Jonas Maebe
7c75193865 * add missing unixtype dependencies
git-svn-id: trunk@46989 -
(cherry picked from commit de095258a7)
2021-09-04 10:27:30 +02:00
florian
61e9be551a * update dependencies of sysutils
git-svn-id: trunk@43315 -
(cherry picked from commit c7fb1b8db7)
2021-09-04 10:27:23 +02:00
florian
4995677b0f --- Zusammenführung
-- Zusammenführen von r45995 in ».«:
U    rtl/linux/i386/sighnd.inc
U    rtl/linux/x86_64/sighnd.inc
A    tests/webtbs/tw37468.pp
-- Aufzeichnung der Informationen für Zusammenführung von r45995 in ».«:
 U   .
-- Zusammenführen von r46207 in ».«:
U    rtl/linux/i386/sighndh.inc
-- Aufzeichnung der Informationen für Zusammenführung von r46207 in ».«:
 G   .
-- Zusammenführen von r46208 in ».«:
G    rtl/linux/i386/sighnd.inc
-- Aufzeichnung der Informationen für Zusammenführung von r46208 in ».«:
 G   .
-- Zusammenführen von r46210 in ».«:
U    rtl/aix/sighnd.inc
U    rtl/beos/i386/sighnd.inc
U    rtl/go32v2/dpmiexcp.pp
U    rtl/haiku/i386/sighnd.inc
U    rtl/haiku/x86_64/sighnd.inc
U    rtl/i8086/math.inc
U    rtl/inc/genmath.inc
U    rtl/linux/m68k/sighnd.inc
U    rtl/linux/powerpc/sighnd.inc
U    rtl/linux/powerpc64/sighnd.inc
U    rtl/linux/sparc/sighnd.inc
U    rtl/linux/sparc64/sighnd.inc
G    rtl/linux/x86_64/sighnd.inc
U    rtl/netbsd/arm/sighnd.inc
U    rtl/netbsd/m68k/sighnd.inc
U    rtl/netbsd/powerpc/sighnd.inc
U    rtl/netbsd/x86_64/sighnd.inc
U    rtl/openbsd/i386/sighnd.inc
U    rtl/openbsd/x86_64/sighnd.inc
U    rtl/os2/system.pas
U    rtl/solaris/i386/sighnd.inc
U    rtl/solaris/sparc/sighnd.inc
U    rtl/solaris/x86_64/sighnd.inc
U    rtl/win32/system.pp
U    rtl/win64/system.pp
U    tests/webtbs/tw37468.pp
U    rtl/wince/system.pp
-- Aufzeichnung der Informationen für Zusammenführung von r46210 in ».«:
 G   .
-- Zusammenführen von r46992 in ».«:
G    rtl/linux/x86_64/sighnd.inc
A    tests/webtbs/tw37468b.pp
-- Aufzeichnung der Informationen für Zusammenführung von r46992 in ».«:
 G   .
-- Zusammenführen von r47114 in ».«:
G    rtl/linux/x86_64/sighnd.inc
G    rtl/linux/i386/sighnd.inc
A    tests/webtbs/tw37926.pp
-- Aufzeichnung der Informationen für Zusammenführung von r47114 in ».«:
 G   .
-- Zusammenführen von r47117 in ».«:
G    rtl/linux/i386/sighnd.inc
G    rtl/linux/x86_64/sighnd.inc
G    rtl/linux/m68k/sighnd.inc
-- Aufzeichnung der Informationen für Zusammenführung von r47117 in ».«:
 G   .

git-svn-id: branches/fixes_3_2@47906 -
2020-12-30 14:07:17 +00:00
florian
91382b5deb * manually merged parts of r42260 to enable further merges
git-svn-id: branches/fixes_3_2@47905 -
2020-12-30 13:53:10 +00:00
svenbarth
74a1b6406e --- Merging r45159 into '.':
U    rtl/nativent/systhrd.inc
U    rtl/os2/systhrd.inc
U    rtl/win/systhrd.inc
--- Recording mergeinfo for merge of r45159 into '.':
 U   .
--- Merging r45160 into '.':
U    rtl/amicommon/athreads.pp
U    rtl/beos/bethreads.pp
U    rtl/inc/thread.inc
U    rtl/inc/threadh.inc
G    rtl/nativent/systhrd.inc
U    rtl/netware/systhrd.inc
U    rtl/netwlibc/systhrd.inc
U    rtl/objpas/classes/classes.inc
U    rtl/objpas/classes/classesh.inc
G    rtl/os2/systhrd.inc
U    rtl/unix/cthreads.pp
G    rtl/win/systhrd.inc
--- Recording mergeinfo for merge of r45160 into '.':
 G   .
--- Merging r45206 into '.':
U    rtl/win/sysos.inc
G    rtl/win/systhrd.inc
U    rtl/win/syswin.inc
--- Recording mergeinfo for merge of r45206 into '.':
 G   .
--- Merging r45207 into '.':
U    rtl/linux/pthread.inc
--- Recording mergeinfo for merge of r45207 into '.':
 G   .
--- Merging r45233 into '.':
G    rtl/linux/pthread.inc
G    rtl/unix/cthreads.pp
--- Recording mergeinfo for merge of r45233 into '.':
 G   .
--- Merging r45237 into '.':
G    rtl/unix/cthreads.pp
G    rtl/win/systhrd.inc
--- Recording mergeinfo for merge of r45237 into '.':
 G   .

git-svn-id: branches/fixes_3_2@47806 -
2020-12-17 22:44:26 +00:00
florian
d0f65b36ab --- Recording mergeinfo for merge of r39871 into '.':
U   .
--- Recording mergeinfo for merge of r42891 into '.':
 U   .
--- Merging r43167 into '.':
U    compiler/aarch64/cgcpu.pas
U    rtl/aarch64/aarch64.inc
--- Recording mergeinfo for merge of r43167 into '.':
 U   .
--- Recording mergeinfo for merge of r45788 into '.':
 G   .
--- Merging r46870 into '.':
U    rtl/linux/aarch64/sighnd.inc
U    rtl/linux/aarch64/sighndh.inc
--- Recording mergeinfo for merge of r46870 into '.':
 G   .
--- Merging r46872 into '.':
G    rtl/linux/aarch64/sighnd.inc
--- Recording mergeinfo for merge of r46872 into '.':
 G   .
--- Merging r46913 into '.':
U    compiler/systems/t_linux.pas
--- Recording mergeinfo for merge of r46913 into '.':
 G   .

git-svn-id: branches/fixes_3_2@47037 -
2020-10-03 09:22:40 +00:00
pierre
0830edbde5 Regenerate all Makefile's after ios introduction and macos->macosclassic changes inside utils/fpcm/fpcmake.ini
git-svn-id: branches/fixes_3_2@46923 -
2020-09-23 09:47:20 +00:00
Jonas Maebe
b6eafa3039 * regenerated Makefiles
git-svn-id: branches/fixes_3_2@46868 -
2020-09-15 19:54:06 +00:00
michael
23a9a30bb7 * Undo 46567, missing dependencies
git-svn-id: branches/fixes_3_2@46579 -
2020-08-23 09:14:27 +00:00
michael
61ae4eea1f * Merging revisions r44666 from trunk:
------------------------------------------------------------------------
    r44666 | michael | 2020-04-09 23:27:22 +0200 (Thu, 09 Apr 2020) | 1 line
    
    * Fix bug #35914: add epoll_pwait, epoll_create1
    ------------------------------------------------------------------------

git-svn-id: branches/fixes_3_2@46567 -
2020-08-23 09:07:28 +00:00
pierre
c39c8c1794 Merge commits 41973, 43427 and 45937
------------------------------------------------------------------------
r41973 | pierre | 2019-05-02 12:59:11 +0000 (Thu, 02 May 2019) | 1 line

Add flags field to TStatfs record
------------------------------------------------------------------------
--- Merging r41973 into '.':
U    rtl/linux/ptypes.inc
--- Recording mergeinfo for merge of r41973 into '.':
 U   .
------------------------------------------------------------------------
r43427 | florian | 2019-11-09 18:27:21 +0000 (Sat, 09 Nov 2019) | 1 line

  * TIOCtlRequest is declared as unsigned long according to man 2 ioctl
------------------------------------------------------------------------
--- Merging r43427 into '.':
G    rtl/linux/ptypes.inc
--- Recording mergeinfo for merge of r43427 into '.':
 G   .
------------------------------------------------------------------------
r45837 | pierre | 2020-07-23 21:03:19 +0000 (Thu, 23 Jul 2020) | 1 line

 Define __USE_LARGEFILE64 for sparc-linux, and adapt filed ffree type to that macro
------------------------------------------------------------------------
--- Merging r45837 into '.':
G    rtl/linux/ptypes.inc
--- Recording mergeinfo for merge of r45837 into '.':
 G   .

git-svn-id: branches/fixes_3_2@46284 -
2020-08-06 08:40:16 +00:00
pierre
27960785a6 Merge commit 45836
------------------------------------------------------------------------
r45836 | pierre | 2020-07-23 20:59:03 +0000 (Thu, 23 Jul 2020) | 1 line

 Fix error in assembly startup code for sparc linux
------------------------------------------------------------------------
--- Merging r45836 into '.':
U    rtl/linux/sparc/prt0.as
--- Recording mergeinfo for merge of r45836 into '.':
 U   .

git-svn-id: branches/fixes_3_2@45851 -
2020-07-25 12:44:49 +00:00
marco
522350a85d * fixes to 3.2.1
git-svn-id: branches/fixes_3_2@45662 -
2020-06-20 16:47:24 +00:00
michael
85fdf6d52a * Fix bug ID #37172 (fixes branch)
git-svn-id: branches/fixes_3_2@45584 -
2020-06-03 20:54:31 +00:00
marco
7201fbe85e # revisions: 43880,44093
git-svn-id: branches/fixes_3_2@45533 -
2020-05-30 16:02:35 +00:00
marco
42a7ca2a92 --- Merging r43589 into '.':
U    rtl/linux/pthread.inc
U    rtl/unix/cthreads.pp
--- Recording mergeinfo for merge of r43589 into '.':
 U   .

# revisions: 43589
r43589 | florian | 2019-11-25 21:58:18 +0100 (Mon, 25 Nov 2019) | 1 line
Changed paths:
   M /trunk/rtl/linux/pthread.inc
   M /trunk/rtl/unix/cthreads.pp

  * patch by Benjamin Rosseaux: TEvent.WaitFor on *nix uses Monotonic Clock now

git-svn-id: branches/fixes_3_2@45460 -
2020-05-22 10:35:15 +00:00
marco
897ae85a0e revs 43962,43963,43964,43965,43969
* license clarifications. Accidental GPL removed. Introduced by me during
    *nix reform in a few .incs and those templates got copied around (os* sysc*)
  * clarify OS2/EMX license to actually name the license rather than 
    saying "NOT GPL" and refering to EMX.

git-svn-id: branches/fixes_3_2@43970 -
2020-01-18 12:32:05 +00:00
marco
b4f641ba85 --- Merging r43618 into '.':
U    rtl/linux/buildrtl.lpi
U    rtl/linux/buildrtl.pp
--- Recording mergeinfo for merge of r43618 into '.':
 U   .
--- Merging r43669 into '.':
U    utils/mkinsadd.pp
--- Recording mergeinfo for merge of r43669 into '.':
 G   .

# revisions: 43618,43669

git-svn-id: branches/fixes_3_2@43957 -
2020-01-16 13:36:11 +00:00
florian
7cdb39b3f9 -- Aufzeichnung der Informationen für Zusammenführung von r43005 in ».«:
G   .
-- Aufzeichnung der Informationen für Zusammenführung von r43006 in ».«:
 G   .
-- Aufzeichnung der Informationen für Zusammenführung von r43007 in ».«:
 G   .
-- Aufzeichnung der Informationen für Zusammenführung von r43008 in ».«:
 G   .
-- Zusammenführen von r43000 in ».«:
U    compiler/pp.pas
-- Aufzeichnung der Informationen für Zusammenführung von r43000 in ».«:
 G   .
-- Zusammenführen von r43011 in ».«:
U    rtl/inc/system.inc
-- Aufzeichnung der Informationen für Zusammenführung von r43011 in ».«:
 G   .
-- Zusammenführen von r43012 in ».«:
U    rtl/i386/i386.inc
-- Aufzeichnung der Informationen für Zusammenführung von r43012 in ».«:
 G   .
-- Zusammenführen von r43013 in ».«:
U    rtl/linux/i386/si_c21.inc
-- Aufzeichnung der Informationen für Zusammenführung von r43013 in ».«:
 G   .
-- Zusammenführen von r43014 in ».«:
U    compiler/systems/i_linux.pas
-- Aufzeichnung der Informationen für Zusammenführung von r43014 in ».«:
 G   .
-- Zusammenführen von r43176 in ».«:
U    compiler/i386/cpupi.pas
U    compiler/i386/n386cal.pas
U    compiler/ncgcal.pas
U    compiler/ncgutil.pas
G    compiler/systems/i_linux.pas
U    compiler/systems.inc
C    compiler/systems.pas
G    tests/webtbs/tw7808.pp
-- Aufzeichnung der Informationen für Zusammenführung von r43176 in ».«:
 G   .
Konfliktübersicht:
  Textkonflikte: 1
Konfliktübersicht:
  Textkonflikte: 1

git-svn-id: branches/fixes_3_2@43434 -
2019-11-09 22:07:33 +00:00
marco
89e051bac9 # revisions: 41828,41830,41831,41832,41833,41834,41835,41836,41837,41838,41839,41841,41842,42025,42031,42032,42033,42034,42035,42036,42065,42066,42067,42068,42069,42070,42071,42072,42073,42089,42150,42151,42181,42182,42183,42184,42185,42219,42220,42221,42222
git-svn-id: branches/fixes_3_2@43400 -
2019-11-05 16:17:53 +00:00