Description: rtl/linux and rtl/unix etc (active) Revisions in this set 51644f497b5a301f39600bb4b799fb3bc606ec73,e949276d9d91fa49e88f014bbb97b8cbf0ea39cd,9c041afc7c11e9d47a1f866e09881237f0817a71,04debba9dea61e81e1b75f3d2254439cd374bebf,31ae109a317d480dec469a000603d82f58d813b7,32121de8aea0dfd64109f73696ed7530285fdbe1,a83bc6263903a51c789545d381bfd86e3ae9f1d9,639adc314f4660859264f647b2b5172847265dcf,5f4a0c7af7b8f605338728aa0274ad1f877e2a75,0100c4abf8df357f5c58e9d70d8b35233e994c51,cb4b085a99c726875ec848162770185a00f388c6,12647c348e57e0a0fe5826705d6e1c2b049e2fe1,fae45b20752f63b270c3d270b0f7588067344802,0a3a35152d74441c8b221e9f19a906a1a091396f,a7a67f3d3c8443304eb268ee78d46d502c1049d0,c8129c52284769ca11e459b405caca11c4f93acc,dc681a75ecdd001fe5f3ce6d245f3c83651e35e5,8e5e8774171802b15e395877621b2c5d13174890,e8ae49012860a2031a52ce2d8ea071c2939f8dc9,bd35c02257c37ef18d28df181583205ce126fa69,c189af0e3d8e1c5293e9b3f0aa11092cd262d976,247f80abfba336b27c28186d9f5fb14abfedfd25,e8b9d8442e43d3e84d2b9b35cb739ac765e48f7e,23111a71ea4316d6b32fe0fc8b0fca1c5960fa97,0e0407ad5793e54afd1046b9933ce1299f17027a,9bd19b050b3b5edce7d6d1cb98c6ec87528e3620,6929da66a87b0185fe1f2d3762a189ed5b44fbf2,3335104da26fd1750f200cbdcbd815a56856b217,3b39ec84e46f32eba0d2d328391f7b67595f8e9a,e7f5b89c2c7cf856951f65c7698f6d2a351852c7,460369405ecbc3200eeaf38350bf8b2e082fd34f,4888c379c433c51d7dfa68adff8d69d785cff9a0,4d25558519f9662785c16ef3717f11e1716c1617,2840e5e1fda6a4d222057f583c6a65cb08a0074d,eb6f503badb9d8f5475ad81f1146466090c98b09,9f60f5093d0754474dfb49550a3842dbbcc431f6,04cbf32b1ba789ff52f5669af195cffddfc39ff3,48cc5250f9c17a1dafa3ecb4ec6b43501d557566,313790502da4de79b8c7b67c1d5e5df59025e923,b49aa071ca8e4d2396afee7a85cdf34695a664d8,277d98431c0aa3a72664b639fcc02124bf870a14,288c7e3c9eeea0b079dafe0f73c98c23426eb968,2b023c62c5bd7877c890a7701b38fd3275d0af93,f316121d53dcb540390ca8fcda64a67e53cf0f17,f80bd9b034171030819d9ff7efb0f45de375c1e4,a36caf90435ae9ebdf620d75efffcbea057c0e07,7ad4694e4bd4f2b369b0599b880ad0b9b3031aca,e154b9933fc030f4f4e894c48c91b026f688f8c0,233d883731ca365b96d9ba4c1e54fa452accab99,7b88d1127ff9e4d011b4ad4cab8dac70e190811f,a33256c1fbd5896ef346b95fb95ef966361afd92,91229dcee9f6b783f7268da54aec3fe416735657,6854f171d1ab1e7bbe3916d29b0e379e21e75f4e,f982317ebd3fbbd180f354b72dad502d8e5f694b,d2b0bcdf1fbc5426b6f4c2331f3ea34cb38f99cc,359bb64aedafca34fee136e053b69a897b9c428a,efe6b32638c26cdd511b8ed35ffa9074817dcf20,83a1f5fbc3f60760e36fa2832648b82690543b45,0055023394e23271b641f9bcfc38606b6b4e4f36,91586331b550f102ee2a90e460807b75177ceb2d,3a0eb110ec513fad178844309b16d66347f7525d,71c314d7d498c6c346f11f5f703272a2307bac1e,5e7a512777b6c1ca9aa544fedcf5c28c7f42b87c,5afa26ddd1e80d78959af421ff64edf756e5ab13,813cf7b45ec3dc7c0b5c4e3fc681ac9026fb56b6,bb97c5ab693b170a31bb7844d2bcff1e809da1f0,b7fe338bbee54f18f2ed4e7bb44883972a5e2fbc,3ac178f519ecb990b425b5bfcc65467f55ef7d0f,a399627aee3c1696a6d34d2005f6577c77f3cefd,d0b1402e103cec251219270215591240103d8bd3,0ed69fc662821756b873ad3bf9e81fd0c26ca9e4,aca327d7873f16e89b3ed89846c1a91b6e2cf0ca,f8c92914c2f33be7a3f53b4278b50792c9c73b13,7baf2461f06eb90429c07950459801e93d286b05,d5b368988f34e631d2e065971713690fb691ebf3,644263277fe49d9be901527f02d8aa0170c840a2,0b2a58027c3171a3ba2962d472653e2f8839e1f2,d42f577a3ff2bd02b6ce709b6c89bf6fc08b32ae,1fce64fa0a780d4b0753eae79c2ae172ca8fb58e,727e25e93eea38a44e493722a9aa74aeb7333f6a,1f328cf362768d56dfe6101661209e6aeffdded5,8c251db2c1bb15d4f9ee8ef84a6998babca199f1,fd83fd5779e5f19373202c57209f648bae072640,0758aa1143a6498532b3d100ed15edd63ca878b6,75c252fd8f754788a4ab2f9ca8da110f6dd6aa86,f1abd2c2f00c69ae25a02df3d06d394c8dfdb546,88ae6721c65e5eb62e16627c6ec9555674c6f04c,6ffa3d4a89adc384b4bcc4459c63b30d1c0d830b,4c2b54ee0d9c3ced0b6ed6d8e9f1535fec82add9,7fa92807882390fd92cf6d082855239579512fe6,4c529287c66689ee5e750abf4e34acab9d439511,9d6a495c0272124f134dbe93ae0c7f9ee0f09b38,0d0317b3af32e7d366acb8000607a1797fa6c5af,74fdf0692caf78d795585b06078f93310d7ae0cf,b9a1a90d6e737b1132b5e3fbc69e580fc4bf9f1c,bf3ced76b244385edbadeea1c9d2c7c19f48c5a5,6084bb6d09aab6c4f337f0df1ae121f0c7149c7e,3e3b96e08878da9b828a3530b0f70bfd2bcf376f,a304962ea04633be422527bbe64c44cf635450b1,0efa4cbc678f8c9fd6baa09eb9386858522bacb4,bcf7701887088598606eca13de251f7d0eab60c7,bad62d51fa1eb41ea7ab811df5b12617abb433a7,2928837225267b3fc95acffe029712c61a6a8c48,f202dda5c5d9c2f8dd82c4d36c376659017eccb4,6ef31c643abc5ce46651ef4f6ddb3ba4ff1e8621,a3a827eba5593f57bae6d0131b18bdd5cd7b071c,fcb5cf42bfd26e076628902778c65f7d6cc3b7ec,512faa71415be47530dff235711c9ea8f49e9a2f,603614e28e22f93723a1e383893cb567eb2840d2,c09e8778bdfc30e9dd669a6ba6d18de952befcaf,bc641cc76be7375eba14e343c300476d5af95f4c,0f0454a0921b31cbf80dc52b83a06f8860d1cd06,25c75b1784d0a0d37337c15810fc7fe462a96bbe,f0b714d5adaa8a660aeaad55d73d6bdbc9805804,3cd2cbcda8d082f06ca29ffd1f22c0f992f19793,c11772decaa00925feb543aac383c01da0ad918b,2cb7e44a1bd86b4a43e7fa777acd8a5d21798d9a,7c9cf75418b9fc60c968820df62a77f162e4d213,774e0f912213dcba17d6f0e0a876d0b243f47df4,9dc75c300538a724d4dcf61b5a9b763dbcedcb7e,81ae7063f31c6857f2c5374dc959f48ee0198ae6,654d75b777565fa55c9694c0c67e16e44e8e00ea,9ee2eee293a157ca05a90344feb82518ed7d7ebe,4dc4d2b2ba3d7bc1262e5cb32d2880893c570eef,54dba5738c9fc27c06516b8c74e228ce29fecea5,185a346744c55b0f3e73cfd962e52bcc1c8f68ee,785e259e627992409f323d8851cc8664ce50b1e5,2efb72bedeaa96b6e9b5937619f380e4bea74843,dc5041d778811fc6c940aeb283952caa16ff89b7,40072fb762a25409f793fab0ab453a01c984177c,c3339e9a51ccf3f4e4a3e00f473d985f5ed2d902,e1b2feac33844bdfa75cc45118b9f83df8bf2767,1caa5dfde89e89fbf779a6867dc31784f5b50e45,e80ce5f61f3857db8956c81de525d41b86aa2ed0,c261d5fdeef1a8304f8de9cfefda31f9afca7af6,abb5294b6e9a9caf553211a291f18266daa9d4b6,06eaec4313692b4b7b56939b3e71d56715f79171,b1a47a5d7d2b7ebad337cc6d9b4fd099e4a7dcb9,a4ca9f53572f88115aae5a7e6d84e0811e939c9e,b1c2023af1f7b395a9b204f3fd63a14ff48825bf,7e5d9680c2f4f18349bab94ee03fcb5205c29a41,d2f5bbac508712e27069d377e0bb3c4bc56828a1,d959e47c830cab1f9246e1d2291511c9cd7c4760,8720ab7d3ddf8ae2604fbd4211226272849e5202,dd01c88f94972d054875c6a3fe134ef345420a1c,ad03158349efdbb34d27c806af7316fd681bb15d,3332a7218c37198df28f08f2c210eceb9ff8d1fb,6fda9b58ba275b3305400ce3e9dd922f515566b9,bea570ead89ecb6b08d012b46fa92a8903522e74,fef8e309caf92fb305d6bb142f0a316bc67ba9d2,1d664955b7156d7ea73b5f2c9bc338c0115d6cdb,fcba79e567518fd8de6ac9b18049d3469260f187,2d9377426d6ad9fa5076f4674ad6c883f59ac742,4e920d2c0003d2fc182a66becc349ab791643ac2,c79b677948d22df9dadf8b705acaa21bb12fd4da,6f4a82ab0715ec2924b8c340d175d1f14d2e5284,5658d036c493ed2beac2c6e0febc651007d74bdd,bbfdc842b8ab27ee72793f9a513bc23d5851b337,9103c9290523162bf8de72fec70d701f51eec2ae,1e8a583cbf96bf083c4d3e38f845d55589142cd3,f947936cf9d595dda27174ae0bcde5bf9e56659d,af9fdf251f93c895246214008decfb4ba19e0781 commit 51644f497b5a301f39600bb4b799fb3bc606ec73 Author: florian Date: Wed Sep 26 20:22:13 2018 +0000 * fixes broken compilation after merging git-svn-id: trunk@39815 - M rtl/linux/system.pp --- commit e949276d9d91fa49e88f014bbb97b8cbf0ea39cd Author: florian Date: Wed Nov 7 22:02:59 2018 +0000 * basic implementation for pure pascal programs to allocate tls space git-svn-id: trunk@40268 - M rtl/linux/arm/prt0.as M rtl/linux/arm/syscall.inc M rtl/linux/system.pp --- commit 9c041afc7c11e9d47a1f866e09881237f0817a71 Author: florian Date: Wed Nov 7 22:03:01 2018 +0000 * disable generic threadvar handling if section thread vars are available git-svn-id: trunk@40270 - M rtl/inc/threadvr.inc M rtl/unix/cthreads.pp --- commit 04debba9dea61e81e1b75f3d2254439cd374bebf Author: pierre Date: Tue Nov 13 11:11:49 2018 +0000 Fix arm-android compilation by prepending syscall_nr_ prefix also to __ARM_NR_XXX arm specific linux syscalls git-svn-id: trunk@40300 - M rtl/linux/arm/sysnr.inc M rtl/linux/system.pp --- commit 31ae109a317d480dec469a000603d82f58d813b7 Author: florian Date: Sun Dec 2 08:49:03 2018 +0000 * properly initialize phdr and phnum git-svn-id: trunk@40448 - M rtl/linux/system.pp --- commit 32121de8aea0dfd64109f73696ed7530285fdbe1 Author: florian Date: Tue Dec 4 21:25:48 2018 +0000 * do not call InitTLS when a compiler is used which does not include the abi tag section git-svn-id: trunk@40468 - M rtl/linux/i386/si_prc.inc --- commit a83bc6263903a51c789545d381bfd86e3ae9f1d9 Author: pierre Date: Thu Apr 25 06:10:43 2019 +0000 Improve syscall number testing script: + Add support for parameters: -v sets verbose variable to 1 VAR=value gets evaluated. * moves to rtl/$os if called at diferent level. + check if there is a incude directive in sysnr.inc file. + Add compilation of C source code with the C variant of the syscall number. + Support 32 and 64-bit version of C compilation for systems allowing 32 and 64-bit executable (like x86_64-linux). + Add 'preprocessing' using AWK to test {$ifdef CPUXXX} macro. + Add summary at end of script. * Rename check_syscall_number to check_c_syscall_from_fpc_rtl * Rename check_syscall_number_reverse to check_c_syscall_in_fpc_rtl * Try to remove most intermediate files. + Generate add_missing_syscalls.inc file if numbers are missing. git-svn-id: trunk@41928 - M rtl/unix/scripts/check_sys.sh --- commit 639adc314f4660859264f647b2b5172847265dcf Author: pierre Date: Thu Apr 25 13:04:39 2019 +0000 Eliminate wrong line (bug report 35441) git-svn-id: trunk@41934 - M rtl/unix/scripts/check_sys.sh --- commit 5f4a0c7af7b8f605338728aa0274ad1f877e2a75 Author: pierre Date: Wed May 1 22:00:06 2019 +0000 * freebsd and openbsd also use sys/syscall.h header + Add AWK parser to removed parts of source not concerning current CPU (only handles CPUXXX like CPUI386) git-svn-id: trunk@41969 - M rtl/unix/scripts/check_sys.sh --- commit 0100c4abf8df357f5c58e9d70d8b35233e994c51 Author: pierre Date: Thu May 2 12:55:51 2019 +0000 More improvements to script testing syscall numbers git-svn-id: trunk@41970 - M rtl/unix/scripts/check_sys.sh --- commit cb4b085a99c726875ec848162770185a00f388c6 Author: pierre Date: Mon May 6 21:08:47 2019 +0000 * Also allow '-' in include file names + Add os_cpu and cpu_source variables * Cope with aarch64 GNU C compiler that does not support -m64 option + Add support for arm test on aarch64 machine * Better accept expressions instead of constants in C #define git-svn-id: trunk@42014 - M rtl/unix/scripts/check_sys.sh --- commit 12647c348e57e0a0fe5826705d6e1c2b049e2fe1 Author: pierre Date: Mon May 6 21:10:12 2019 +0000 Add script to use h2paschk on t_OS.h2paschk file for rtl tests for system header compliance git-svn-id: trunk@42015 - M .gitattributes A rtl/unix/scripts/check_rtl_types.sh --- commit fae45b20752f63b270c3d270b0f7588067344802 Author: pierre Date: Mon May 6 21:13:42 2019 +0000 Add first linux RTL compliance test file t_linux.h2paschk git-svn-id: trunk@42016 - M .gitattributes A rtl/linux/t_linux.h2paschk --- commit 0a3a35152d74441c8b221e9f19a906a1a091396f Author: pierre Date: Mon May 6 22:07:49 2019 +0000 Also remove -m32 option for arm native GNU C compiler git-svn-id: trunk@42017 - M rtl/unix/scripts/check_sys.sh --- commit a7a67f3d3c8443304eb268ee78d46d502c1049d0 Author: pierre Date: Tue May 7 08:13:38 2019 +0000 * Improve handling of command line args setting variables (did not work if it contained spaces) + Group all recognized macros into list_defines in preproc.awk file + Convert Pascal style hexadecimal constants into C style git-svn-id: trunk@42018 - M rtl/unix/scripts/check_sys.sh --- commit c8129c52284769ca11e459b405caca11c4f93acc Author: pierre Date: Thu May 16 08:21:09 2019 +0000 Disable 64-bit version of CPU_SOURCE is 32-bit git-svn-id: trunk@42081 - M rtl/unix/scripts/check_rtl_types.sh --- commit dc681a75ecdd001fe5f3ce6d245f3c83651e35e5 Author: Jonas Maebe Date: Sun Jun 2 18:33:01 2019 +0000 * properly return from the signal handler on ARM/Linux instead of calling HandleErrorAddrFrame directly (fixes psabieh exception handling, and generally is cleaner) git-svn-id: trunk@42166 - M rtl/linux/arm/sighnd.inc --- commit 8e5e8774171802b15e395877621b2c5d13174890 Author: pierre Date: Wed Jun 5 12:00:53 2019 +0000 Fix compilation with release 3.0.4 ppcarm git-svn-id: trunk@42175 - M rtl/linux/arm/sighnd.inc --- commit e8ae49012860a2031a52ce2d8ea071c2939f8dc9 Author: pierre Date: Tue Aug 20 14:25:32 2019 +0000 sparc32 bit needs SA_SIGINFO git-svn-id: trunk@42748 - M rtl/linux/ossysc.inc --- commit bd35c02257c37ef18d28df181583205ce126fa69 Author: florian Date: Sun Sep 15 17:17:30 2019 +0000 * cosmetics: indention git-svn-id: trunk@43010 - M rtl/linux/i386/si_prc.inc --- commit c189af0e3d8e1c5293e9b3f0aa11092cd262d976 Author: florian Date: Thu Oct 10 20:31:31 2019 +0000 * improved software floating point exception handling in the rtl git-svn-id: trunk@43163 - M rtl/arm/arm.inc M rtl/arm/mathu.inc M rtl/arm/thumb.inc M rtl/inc/genmath.inc M rtl/linux/arm/sighnd.inc --- commit 247f80abfba336b27c28186d9f5fb14abfedfd25 Author: pierre Date: Wed Nov 20 22:46:31 2019 +0000 prepare source to also support riscv32 code git-svn-id: trunk@43523 - M rtl/linux/riscv64/si_prc.inc --- commit e8b9d8442e43d3e84d2b9b35cb739ac765e48f7e Author: pierre Date: Wed Nov 20 22:48:06 2019 +0000 Replace obsolete scall by ecall instruction git-svn-id: trunk@43524 - M rtl/linux/riscv32/syscall.inc --- commit 23111a71ea4316d6b32fe0fc8b0fca1c5960fa97 Author: pierre Date: Wed Nov 20 22:48:47 2019 +0000 Add missing and needed syscall_nr_XXX git-svn-id: trunk@43525 - M rtl/linux/riscv32/sysnr.inc --- commit 0e0407ad5793e54afd1046b9933ce1299f17027a Author: pierre Date: Wed Nov 20 22:51:03 2019 +0000 Add si_XXX.inc files, pointing to riscv64 counterparts git-svn-id: trunk@43526 - M .gitattributes A rtl/linux/riscv32/si_c.inc A rtl/linux/riscv32/si_dll.inc A rtl/linux/riscv32/si_prc.inc --- commit 9bd19b050b3b5edce7d6d1cb98c6ec87528e3620 Author: pierre Date: Wed Nov 20 23:04:33 2019 +0000 Also use syscall_nr_fstatat for FpStat function for riscv32 cpu git-svn-id: trunk@43528 - M rtl/linux/ossysc.inc --- commit 6929da66a87b0185fe1f2d3762a189ed5b44fbf2 Author: pierre Date: Wed Jan 8 23:09:21 2020 +0000 + Enable FPU exception handling for m68k processor git-svn-id: trunk@43894 - M rtl/linux/system.pp --- commit 3335104da26fd1750f200cbdcbd815a56856b217 Author: florian Date: Thu Jan 9 20:35:37 2020 +0000 * get paramstr(0) only if really needed git-svn-id: trunk@43898 - M rtl/linux/system.pp --- commit 3b39ec84e46f32eba0d2d328391f7b67595f8e9a Author: pierre Date: Fri Jan 10 22:58:34 2020 +0000 Examine all exception bits in m68k fpsr register to decide which into which run time error it is converted git-svn-id: trunk@43909 - M rtl/linux/m68k/sighnd.inc --- commit e7f5b89c2c7cf856951f65c7698f6d2a351852c7 Author: joost Date: Sun Feb 2 11:06:14 2020 +0000 * Avoid doing a syscall with a nil parameter in fileexists git-svn-id: trunk@44090 - M rtl/unix/sysutils.pp --- commit 460369405ecbc3200eeaf38350bf8b2e082fd34f Author: florian Date: Sun Apr 5 21:12:13 2020 +0000 + xtensa-linux: OS specific system unit header files git-svn-id: trunk@44612 - M .gitattributes A rtl/linux/xtensa/sighndh.inc A rtl/linux/xtensa/stat.inc A rtl/linux/xtensa/syscallh.inc --- commit 4888c379c433c51d7dfa68adff8d69d785cff9a0 Author: pierre Date: Mon Apr 20 09:37:55 2020 +0000 Use same field type and name as in /ust/include/sys/stat.h git-svn-id: trunk@44878 - M rtl/linux/powerpc/stat.inc M rtl/linux/powerpc64/stat.inc --- commit 4d25558519f9662785c16ef3717f11e1716c1617 Author: pierre Date: Mon Apr 20 09:50:07 2020 +0000 * 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 - M rtl/linux/ostypes.inc --- commit 2840e5e1fda6a4d222057f583c6a65cb08a0074d Author: svenbarth Date: Fri May 1 13:11:02 2020 +0000 * fix for Mantis #36895: the new epoll_pwait was missing the size parameter for the sigmask parameter git-svn-id: trunk@45208 - M rtl/linux/linux.pp --- commit eb6f503badb9d8f5475ad81f1146466090c98b09 Author: svenbarth Date: Sun Jun 7 19:09:08 2020 +0000 * fix O_LARGEFILE for Aarch64, RISC-V 32-bit and RISC-V 64-bit git-svn-id: trunk@45613 - M rtl/linux/ostypes.inc --- commit 9f60f5093d0754474dfb49550a3842dbbcc431f6 Author: pierre Date: Wed Jul 22 23:15:03 2020 +0000 F_GetLk/SetLk have different values for sparc/sparc64 git-svn-id: trunk@45829 - M rtl/linux/ostypes.inc M tests/tbs/tb0561a.pp M tests/tbs/tb0561b.pp --- commit 04cbf32b1ba789ff52f5669af195cffddfc39ff3 Author: svenbarth Date: Sat Aug 1 17:26:29 2020 +0000 * rename local import of fpc_geteipasebx git-svn-id: trunk@45979 - M rtl/linux/i386/syscall.inc --- commit 48cc5250f9c17a1dafa3ecb4ec6b43501d557566 Author: svenbarth Date: Sat Aug 1 17:26:34 2020 +0000 * fpc_geteipasebx and fpc_geteipasecx are used as procedures, not functions, so declare them as such git-svn-id: trunk@45980 - M rtl/i386/i386.inc M rtl/linux/i386/si_prc.inc --- commit 313790502da4de79b8c7b67c1d5e5df59025e923 Author: Károly Balogh Date: Sat Aug 15 09:07:30 2020 +0000 * linux-m68k: depend on FPU defines to compile FPU code, instead of CPU68020. also, minor cosmetics git-svn-id: trunk@46447 - M rtl/linux/m68k/sighnd.inc M rtl/linux/m68k/sighndh.inc --- commit b49aa071ca8e4d2396afee7a85cdf34695a664d8 Author: Károly Balogh Date: Wed Sep 9 14:58:45 2020 +0000 * linux: fix some formatting in ostypes.inc, no functional change git-svn-id: trunk@46810 - M rtl/linux/ostypes.inc --- commit 277d98431c0aa3a72664b639fcc02124bf870a14 Author: Károly Balogh Date: Wed Sep 9 15:15:52 2020 +0000 * linux: use ugetrlimit syscall on m68k for rlimits retrieval. this fixes fpgetrlimit() call, and stack checking on Linux/m68k (tstack.pp test), at least on anything newer than kernel 2.4+ (2001) git-svn-id: trunk@46811 - M rtl/linux/osdefs.inc --- commit 288c7e3c9eeea0b079dafe0f73c98c23426eb968 Author: Tomas Hajny Date: Sun Sep 13 22:08:18 2020 +0000 * Do_IsDevice treats pipes and sockets the same way as character devices git-svn-id: trunk@46863 - M rtl/aix/sysos.inc M rtl/beos/sysos.inc M rtl/bsd/sysos.inc M rtl/emx/sysfile.inc M rtl/gba/sysfile.inc M rtl/haiku/sysos.inc M rtl/linux/sysos.inc M rtl/nds/sysfile.inc M rtl/os2/sysfile.inc M rtl/solaris/sysos.inc M rtl/win/sysfile.inc M rtl/win16/sysfile.inc --- commit 2b023c62c5bd7877c890a7701b38fd3275d0af93 Author: pierre Date: Wed Sep 16 20:40:36 2020 +0000 Do not set __USE_LARGEFILE64 macro for sparc CPU, as it does not seem to be used for regular linux kernels git-svn-id: trunk@46882 - M rtl/linux/ptypes.inc --- commit f316121d53dcb540390ca8fcda64a67e53cf0f17 Author: pierre Date: Wed Sep 16 20:44:44 2020 +0000 Add handling of extra parameters, using eval if equal sign is found. + Add TMP_DIR variable and use it. * Only remove temp files if verbose is not set. git-svn-id: trunk@46883 - M rtl/unix/scripts/check_rtl_types.sh --- commit f80bd9b034171030819d9ff7efb0f45de375c1e4 Author: pierre Date: Tue Oct 27 23:11:23 2020 +0000 Fix typo in script comment git-svn-id: trunk@47229 - M rtl/unix/scripts/check_rtl_types.sh --- commit a36caf90435ae9ebdf620d75efffcbea057c0e07 Author: ondrej Date: Tue Nov 3 19:38:04 2020 +0000 Unix LocalToEpoch: fix typo git-svn-id: trunk@47295 - M rtl/unix/unix.pp --- commit 7ad4694e4bd4f2b369b0599b880ad0b9b3031aca Author: ondrej Date: Wed Nov 4 05:52:58 2020 +0000 * remove the BaseUnix dependency added by mistake git-svn-id: trunk@47305 - M rtl/unix/unixutil.pp --- commit e154b9933fc030f4f4e894c48c91b026f688f8c0 Author: pierre Date: Mon Nov 16 22:37:04 2020 +0000 Add some types and records to rtl/linux/t_linux.h2paschk and set macro _LARGEFILE64_SOURCE for __i386__ C code git-svn-id: trunk@47439 - M rtl/linux/t_linux.h2paschk --- commit 233d883731ca365b96d9ba4c1e54fa452accab99 Author: pierre Date: Tue Nov 24 09:39:55 2020 +0000 Correct computation of operatingsystem_parameter_envp, which wrongly pointed to the NIL pointer separating argv from environment variables git-svn-id: trunk@47552 - M rtl/linux/riscv64/si_c.inc M rtl/linux/riscv64/si_prc.inc M rtl/linux/xtensa/si_c.inc M rtl/linux/xtensa/si_prc.inc --- commit 7b88d1127ff9e4d011b4ad4cab8dac70e190811f Author: florian Date: Sat Nov 28 13:41:44 2020 +0000 * remove unused file git-svn-id: trunk@47619 - M .gitattributes D rtl/linux/m68k/cprt21.as --- commit a33256c1fbd5896ef346b95fb95ef966361afd92 Author: ondrej Date: Sun Nov 29 10:53:23 2020 +0000 * cwstring: try to load the iconv library with .6 suffix as well git-svn-id: trunk@47630 - M rtl/unix/cwstring.pp --- commit 91229dcee9f6b783f7268da54aec3fe416735657 Author: ondrej Date: Sun Nov 29 12:08:55 2020 +0000 * cwstring: open iconv with the transliterate flag instead of setting it later with iconvctl because it may be unavailable git-svn-id: trunk@47631 - M rtl/unix/cwstring.pp --- commit 6854f171d1ab1e7bbe3916d29b0e379e21e75f4e Author: ondrej Date: Sun Nov 29 14:59:18 2020 +0000 * revert r47631: cwstring: open iconv with the transliterate flag instead of setting it later with iconvctl because it may be unavailable git-svn-id: trunk@47633 - M rtl/unix/cwstring.pp --- commit f982317ebd3fbbd180f354b72dad502d8e5f694b Author: ondrej Date: Sun Nov 29 17:09:19 2020 +0000 * cwstring: open iconv with the transliterate flag if iconvctl is not available git-svn-id: trunk@47635 - M rtl/unix/cwstring.pp --- commit d2b0bcdf1fbc5426b6f4c2331f3ea34cb38f99cc Author: florian Date: Thu Jan 7 22:44:49 2021 +0000 + linux implementation of System.GetCPUCount git-svn-id: trunk@48106 - M rtl/linux/ossysc.inc M rtl/linux/ostypes.inc M rtl/linux/system.pp --- commit 359bb64aedafca34fee136e053b69a897b9c428a Author: svenbarth Date: Sat Jan 9 15:58:13 2021 +0000 * if the Linux target is compiled with FPC_USE_LIBC the initialization of TLS is not required (according to one comment by Florian), so disable all related code in that case (as for example the syscall numbers are not available then) git-svn-id: trunk@48120 - M rtl/linux/i386/si_prc.inc M rtl/linux/si_impl.inc M rtl/linux/system.pp M rtl/linux/x86_64/si_prc.inc --- commit efe6b32638c26cdd511b8ed35ffa9074817dcf20 Author: svenbarth Date: Sat Jan 9 15:58:18 2021 +0000 + add declaration of FpSchedGetAffinity when the Linux target is compiled with FPC_USE_LIBC git-svn-id: trunk@48121 - M rtl/unix/oscdeclh.inc --- commit 83a1f5fbc3f60760e36fa2832648b82690543b45 Author: pierre Date: Tue Jan 19 22:28:37 2021 +0000 Also set __stkptr inside cprt0.as startup assembly source git-svn-id: trunk@48222 - M rtl/linux/mips/cprt0.as M rtl/linux/mips/prt0.as --- commit 0055023394e23271b641f9bcfc38606b6b4e4f36 Author: pierre Date: Tue Jan 19 22:30:59 2021 +0000 Also set __stkptr inside cprt0.as and dllprt0.as startup assembly sources git-svn-id: trunk@48223 - M rtl/linux/m68k/cprt0.as M rtl/linux/m68k/dllprt0.as --- commit 91586331b550f102ee2a90e460807b75177ceb2d Author: florian Date: Thu Feb 4 20:57:11 2021 +0000 * x86_64-linux: assembler helpers syscalls do not need a stackframe git-svn-id: trunk@48512 - M rtl/linux/x86_64/syscall.inc --- commit 3a0eb110ec513fad178844309b16d66347f7525d Author: florian Date: Mon Feb 8 21:41:04 2021 +0000 * FPC_VERSION => FPC_FULLVERSION git-svn-id: trunk@48547 - M rtl/linux/arm/sighnd.inc --- commit 71c314d7d498c6c346f11f5f703272a2307bac1e Author: florian Date: Wed Feb 10 20:46:15 2021 +0000 * another FPC_VERSION => FPC_FULLVERSIOn fix * switch back to 32 Bit mode if no thumb code is generated git-svn-id: trunk@48630 - M rtl/linux/arm/sighnd.inc --- commit 5e7a512777b6c1ca9aa544fedcf5c28c7f42b87c Author: florian Date: Sat Feb 13 21:26:15 2021 +0000 * arm-linux: sighnd.inc must check for CPUTHUMB and CPUTHUMB2 git-svn-id: trunk@48670 - M rtl/linux/arm/sighnd.inc --- commit 5afa26ddd1e80d78959af421ff64edf756e5ab13 Author: florian Date: Tue Feb 23 20:39:25 2021 +0000 * fix compilation for CPUs without thumb git-svn-id: trunk@48794 - M rtl/linux/arm/sighnd.inc --- commit 813cf7b45ec3dc7c0b5c4e3fc681ac9026fb56b6 Author: florian Date: Sun Mar 7 22:28:18 2021 +0000 o RiscV64 glibc startup code fixed: * there is no _init/_fini, call libc_csu_* instead * fix loading of global_pointer git-svn-id: trunk@48904 - M rtl/linux/riscv64/si_c.inc --- commit bb97c5ab693b170a31bb7844d2bcff1e809da1f0 Author: florian Date: Mon Mar 8 22:07:07 2021 +0000 + RiscV: set threadvarblocksize * sanity check if threadvarblocksize is really set git-svn-id: trunk@48925 - M rtl/unix/cthreads.pp --- commit b7fe338bbee54f18f2ed4e7bb44883972a5e2fbc Author: florian Date: Tue Mar 9 21:07:51 2021 +0000 * mips and xtensa compilation fixed git-svn-id: trunk@48928 - M rtl/unix/cthreads.pp --- commit 3ac178f519ecb990b425b5bfcc65467f55ef7d0f Author: florian Date: Thu Mar 11 21:10:04 2021 +0000 * RiscV: corrected setup of gp git-svn-id: trunk@48938 - M rtl/linux/riscv64/si_c.inc --- commit a399627aee3c1696a6d34d2005f6577c77f3cefd Author: florian Date: Fri Mar 12 21:27:51 2021 +0000 + RiscV: initial implementation of gprof support * cleanup git-svn-id: trunk@48945 - M .gitattributes M rtl/linux/Makefile M rtl/linux/Makefile.fpc M rtl/linux/riscv64/si_c.inc A rtl/linux/riscv64/si_g.inc --- commit d0b1402e103cec251219270215591240103d8bd3 Author: svenbarth Date: Sun May 2 12:46:39 2021 +0000 * fix for Mantis #37252: apply patch by Bi0T1N to implement TThread.NameThreadForDebugging for Mac OS X 10.6 and newer (older versions don't provide the required functions) git-svn-id: trunk@49323 - M rtl/darwin/pthread.inc M rtl/unix/cthreads.pp --- commit 0ed69fc662821756b873ad3bf9e81fd0c26ca9e4 Author: pierre Date: Sat May 29 21:25:16 2021 +0000 Fix compilation with 3.2.2 release for arm and i386 CPUs git-svn-id: trunk@49411 - M rtl/linux/system.pp --- commit aca327d7873f16e89b3ed89846c1a91b6e2cf0ca Author: florian Date: Tue Jun 29 21:09:31 2021 +0000 + added baud rate constants for arm as proposed by Piotr Kardasz in #39101 git-svn-id: trunk@49570 - M rtl/linux/termios.inc --- commit f8c92914c2f33be7a3f53b4278b50792c9c73b13 Author: florian Date: Mon Sep 6 23:05:35 2021 +0200 * indention fixed M rtl/linux/termios.inc --- commit 7baf2461f06eb90429c07950459801e93d286b05 Author: florian Date: Wed Oct 20 20:03:02 2021 +0200 * check paramstr argument for negative values, resolves #39410 M rtl/aix/system.pp M rtl/beos/system.pp M rtl/bsd/system.pp M rtl/haiku/system.pp M rtl/linux/system.pp M rtl/nds/system.pp M rtl/solaris/system.pp M rtl/wii/system.pp --- commit d5b368988f34e631d2e065971713690fb691ebf3 Author: Jonas Maebe Date: Thu Dec 16 21:10:19 2021 +0100 LLVM: add Read/WritePort* implementations Fixes Unix graph compilation on x86 with LLVM M rtl/unix/x86.pp --- commit 644263277fe49d9be901527f02d8aa0170c840a2 Author: florian Date: Wed Jan 5 20:52:35 2022 +0100 * clean up of assembler files not used anymore M rtl/linux/Makefile M rtl/linux/Makefile.fpc D rtl/linux/x86_64/cprt0.as D rtl/linux/x86_64/dllprt0.as D rtl/linux/x86_64/gprt0.as D rtl/linux/x86_64/prt0.as --- commit 0b2a58027c3171a3ba2962d472653e2f8839e1f2 Author: florian Date: Wed Jan 5 21:01:39 2022 +0100 * powerpc64-linux: unused assembler loader files removed M rtl/linux/Makefile M rtl/linux/Makefile.fpc D rtl/linux/powerpc64/cprt0.as D rtl/linux/powerpc64/dllprt0.as D rtl/linux/powerpc64/gprt0.as D rtl/linux/powerpc64/prt0.as --- commit d42f577a3ff2bd02b6ce709b6c89bf6fc08b32ae Author: florian Date: Sun Feb 6 21:55:46 2022 +0100 + additional skeleton files for mips64 A rtl/linux/mips64/sighndh.inc A rtl/linux/mips64/stat.inc A rtl/linux/mips64/syscall.inc A rtl/linux/mips64/syscallh.inc A rtl/linux/mips64/sysnr.inc A rtl/linux/mips64el/sighndh.inc A rtl/linux/mips64el/stat.inc A rtl/linux/mips64el/syscall.inc A rtl/linux/mips64el/syscallh.inc A rtl/linux/mips64el/sysnr.inc A rtl/mips64/math.inc A rtl/mips64/setjumph.inc A rtl/mips64el/setjumph.inc --- commit 1fce64fa0a780d4b0753eae79c2ae172ca8fb58e Author: Pierre Muller Date: Fri Feb 11 23:26:57 2022 +0000 Disable range and overflow checks inside detect_linuxvcs procedure M rtl/linux/linuxvcs.pp --- commit 727e25e93eea38a44e493722a9aa74aeb7333f6a Author: florian Date: Sat Apr 2 15:39:17 2022 +0200 * make __lib_csu* weak symbols on m68k-linux M rtl/linux/m68k/cprt0.as --- commit 1f328cf362768d56dfe6101661209e6aeffdded5 Author: Jonas Maebe Date: Sat Jun 25 17:29:48 2022 +0200 Darwin: use recent versions of stat(fs) records when available When the RTL is built for Mac OS X 10.6 or newer, use the new versions and the corresponding alternate system library functions. Also extracted the Darwin stat record definition to reduce the ifdef hell. M rtl/bsd/ostypes.inc M rtl/darwin/ptypes.inc M rtl/unix/oscdeclh.inc M rtl/unix/unxdeclh.inc --- commit 8c251db2c1bb15d4f9ee8ef84a6998babca199f1 Author: Jonas Maebe Date: Sun Jul 10 21:31:13 2022 +0200 Darwin: fix compilation on macOS/AArch64 after 1f328cf3 No function suffixes there since there's no backward compatibility issue. M rtl/unix/oscdeclh.inc M rtl/unix/unxdeclh.inc --- commit fd83fd5779e5f19373202c57209f648bae072640 Author: Karoly Balogh Date: Wed Aug 31 22:14:06 2022 +0200 m68k-linux: try to be as ColdFire compatible in the startup code as possible, so explicitly use jsr, otherwise this might compile to a long bsr, that is not CF compatible (except cfv4) M rtl/linux/m68k/prt0.as --- commit 0758aa1143a6498532b3d100ed15edd63ca878b6 Author: Jonas Maebe Date: Mon Oct 17 19:43:01 2022 +0000 FPU exception mask: generlised system unit interface M rtl/aarch64/aarch64.inc M rtl/aarch64/cpuh.inc M rtl/aarch64/mathu.inc M rtl/aix/system.pp M rtl/arm/arm.inc M rtl/arm/cpuh.inc M rtl/arm/mathu.inc M rtl/arm/thumb.inc M rtl/arm/thumb2.inc M rtl/avr/avr.inc M rtl/i386/cpuh.inc M rtl/i386/i386.inc M rtl/i386/math.inc M rtl/i8086/cpuh.inc M rtl/i8086/i8086.inc M rtl/i8086/math.inc M rtl/inc/dynlib.inc M rtl/inc/generic.inc M rtl/inc/mathh.inc M rtl/inc/system.inc M rtl/inc/thread.inc M rtl/java/jsystem.inc M rtl/java/jsystemh.inc M rtl/jvm/cpuh.inc M rtl/jvm/jvm.inc M rtl/linux/powerpc/sighnd.inc M rtl/linux/powerpc64/sighnd.inc M rtl/m68k/cpuh.inc M rtl/m68k/m68k.inc M rtl/mips/cpuh.inc M rtl/mips/mathu.inc M rtl/mips/mips.inc M rtl/mips64/cpuh.inc M rtl/powerpc/cpuh.inc M rtl/powerpc/mathu.inc M rtl/powerpc/powerpc.inc M rtl/powerpc64/cpuh.inc M rtl/powerpc64/mathu.inc M rtl/powerpc64/powerpc64.inc A rtl/ppcgen/ppcfpuex.inc A rtl/ppcgen/ppcmathu.inc M rtl/riscv/riscv.inc M rtl/riscv32/cpuh.inc M rtl/riscv32/riscv32.inc M rtl/riscv64/cpuh.inc M rtl/riscv64/mathu.inc M rtl/riscv64/riscv64.inc M rtl/sparc/cpuh.inc M rtl/sparc/mathu.inc M rtl/sparc/sparc.inc M rtl/sparc64/cpuh.inc M rtl/sparc64/mathu.inc M rtl/sparc64/sparc64.inc M rtl/wasm32/cpuh.inc M rtl/wasm32/wasm32.inc M rtl/x86_64/cpuh.inc M rtl/x86_64/math.inc M rtl/x86_64/x86_64.inc M rtl/xtensa/cpuh.inc M rtl/xtensa/xtensa.inc M rtl/z80/cpuh.inc M rtl/z80/z80.inc A tests/webtbs/tw38230.pp --- commit 75c252fd8f754788a4ab2f9ca8da110f6dd6aa86 Author: Michaël Van Canneyt Date: Sun Nov 13 23:46:52 2022 +0100 * Extra linux fcntl constants M rtl/linux/ostypes.inc --- commit f1abd2c2f00c69ae25a02df3d06d394c8dfdb546 Author: Jonas Maebe Date: Wed Nov 30 22:50:07 2022 +0100 Linux: fix pthread types Remove legacy implementation-specific fields (they don't match the current glibc fields anymore since a long time) and fix alignment fields (they are union fields that overlap with the rest of the record). All platforms now use the modern opaque array-based definitions. M rtl/linux/pmutext.inc M rtl/linux/ptypes.inc --- commit 88ae6721c65e5eb62e16627c6ec9555674c6f04c Author: Jonas Maebe Date: Sat Dec 3 20:59:59 2022 +0100 Linux mutex: restored the __m_kind field This particular field is at the same offset on all architectures with the same bit width, and is guaranteed by glibc to remain at this offset for backward compatibility with static initialisers. Resolves #40021 M rtl/linux/pmutext.inc --- commit 6ffa3d4a89adc384b4bcc4459c63b30d1c0d830b Author: Michael VAN CANNEYT Date: Thu Dec 22 09:28:05 2022 +0100 * Char -> AnsiChar M rtl/unix/bunxh.inc M rtl/unix/bunxovl.inc M rtl/unix/bunxovlh.inc M rtl/unix/cwstraix.inc M rtl/unix/cwstring.pp M rtl/unix/dl.pp M rtl/unix/dos.pp M rtl/unix/dynlibs.inc M rtl/unix/genfunch.inc M rtl/unix/genfuncs.inc M rtl/unix/oscdecl.inc M rtl/unix/oscdeclh.inc M rtl/unix/syscgen.inc M rtl/unix/sysdir.inc M rtl/unix/sysfile.inc M rtl/unix/sysunixh.inc M rtl/unix/sysutils.pp M rtl/unix/timezone.inc M rtl/unix/unix.pp M rtl/unix/unixutil.pp M rtl/unix/unxdeclh.inc M rtl/unix/unxovl.inc M rtl/unix/x86.pp --- commit 4c2b54ee0d9c3ced0b6ed6d8e9f1535fec82add9 Author: Michael VAN CANNEYT Date: Thu Dec 22 09:37:03 2022 +0100 * Char -> AnsiChar M rtl/linux/bunxsysc.inc M rtl/linux/errnostr.inc M rtl/linux/fpcylix.pp M rtl/linux/i386/si_c.inc M rtl/linux/i386/si_c21.inc M rtl/linux/i386/si_uc.inc M rtl/linux/i386/syscall.inc M rtl/linux/linux.pp M rtl/linux/linuxvcs.pp M rtl/linux/mips64/si_c.inc M rtl/linux/osmacro.inc M rtl/linux/ossysc.inc M rtl/linux/ostypes.inc M rtl/linux/pmutext.inc M rtl/linux/powerpc64/si_c.inc M rtl/linux/powerpc64/si_dll.inc M rtl/linux/powerpc64/si_g.inc M rtl/linux/powerpc64/si_prc.inc M rtl/linux/pthread.inc M rtl/linux/ptypes.inc M rtl/linux/riscv64/si_c.inc M rtl/linux/riscv64/si_g.inc M rtl/linux/si_intf.inc M rtl/linux/sparc64/si_c.inc M rtl/linux/sysosh.inc M rtl/linux/system.pp M rtl/linux/termio.pp M rtl/linux/termios.inc M rtl/linux/unxsysc.inc M rtl/linux/unxsysch.inc M rtl/linux/x86_64/si_c.inc M rtl/linux/x86_64/si_g.inc M rtl/linux/xtensa/si_c.inc --- commit 7fa92807882390fd92cf6d082855239579512fe6 Author: Michael VAN CANNEYT Date: Thu Dec 22 11:12:36 2022 +0100 * Char -> AnsiChar M rtl/dragonfly/console.pp M rtl/dragonfly/errnostr.inc M rtl/dragonfly/pthread.inc M rtl/dragonfly/ptypes.inc M rtl/dragonfly/si_intf.inc M rtl/dragonfly/sysctlh.inc M rtl/dragonfly/termios.inc M rtl/dragonfly/unxsysc.inc M rtl/dragonfly/x86_64/si_c.inc M rtl/dragonfly/x86_64/signal.inc --- commit 4c529287c66689ee5e750abf4e34acab9d439511 Author: Michaël Van Canneyt Date: Fri Jan 6 10:54:54 2023 +0100 * string -> shortstring M rtl/emx/system.pas M rtl/inc/flt_core.inc M rtl/inc/systemh.inc M rtl/inc/text.inc M rtl/netware/dynlibs.inc M rtl/os2/system.pas M rtl/unix/sysunixh.inc --- commit 9d6a495c0272124f134dbe93ae0c7f9ee0f09b38 Author: Michael VAN CANNEYT Date: Fri Jan 6 11:01:59 2023 +0100 * string -> shortstring M rtl/linux/suuid.inc M rtl/linux/system.pp --- commit 0d0317b3af32e7d366acb8000607a1797fa6c5af Author: Michael VAN CANNEYT Date: Fri Jan 6 11:17:22 2023 +0100 * string -> shortstring M rtl/linux/termio.pp --- commit 74fdf0692caf78d795585b06078f93310d7ae0cf Author: Michael VAN CANNEYT Date: Fri Jan 6 11:20:30 2023 +0100 * string -> shortstring M rtl/unix/bunxovl.inc M rtl/unix/genfunch.inc M rtl/unix/genfuncs.inc M rtl/unix/termiosh.inc M rtl/unix/timezone.inc M rtl/unix/ttyname.inc --- commit b9a1a90d6e737b1132b5e3fbc69e580fc4bf9f1c Author: Michael VAN CANNEYT Date: Fri Jan 6 12:23:26 2023 +0100 * String -> ansistring M rtl/unix/sysutils.pp --- commit bf3ced76b244385edbadeea1c9d2c7c19f48c5a5 Author: Michaël Van Canneyt Date: Fri Jan 6 17:16:20 2023 +0100 * Remove use of internal conversion routines M rtl/unix/cwstring.pp --- commit 6084bb6d09aab6c4f337f0df1ae121f0c7149c7e Author: Michael VAN CANNEYT Date: Sat Jan 7 19:59:02 2023 +0100 * Some forgotten string -> shortstring instances M rtl/inc/lineinfo.pp M rtl/inc/lnfodwrf.pp M rtl/unix/dos.pp M rtl/unix/timezone.inc --- commit 3e3b96e08878da9b828a3530b0f70bfd2bcf376f Author: florian Date: Tue Mar 21 22:37:40 2023 +0100 * fix of Erroneous reading of the value of the StackLength variable at program start based on issue report by Sergey Larin, resolves #40211 M rtl/linux/x86_64/si_c.inc M rtl/linux/x86_64/si_g.inc M rtl/linux/x86_64/si_prc.inc A tests/webtbs/tw40211.pp --- commit a304962ea04633be422527bbe64c44cf635450b1 Author: Pierre Muller Date: Fri Apr 14 23:44:12 2023 +0000 Try to implement linux si_uc.inc for xtensa CPU M rtl/linux/Makefile M rtl/linux/Makefile.fpc A rtl/linux/xtensa/si_uc.inc --- commit 0efa4cbc678f8c9fd6baa09eb9386858522bacb4 Author: Pierre Muller Date: Fri Apr 21 20:29:24 2023 +0000 Attempt to use local _init and _fini procedures M rtl/linux/xtensa/si_uc.inc --- commit bcf7701887088598606eca13de251f7d0eab60c7 Author: Jinyang He Date: Tue Jun 20 17:48:02 2023 +0800 Support use statx syscall in fpstat and fpfstat A rtl/linux/loongarch64/cp_new_stat.inc M rtl/linux/osdefs.inc M rtl/linux/ossysc.inc M rtl/linux/ostypes.inc --- commit bad62d51fa1eb41ea7ab811df5b12617abb433a7 Author: Jinyang He Date: Tue Jun 20 18:07:37 2023 +0800 fix when FPC_USE_LIBC is disabled not call PASCALMAIN M rtl/linux/loongarch64/si_prc.inc --- commit 2928837225267b3fc95acffe029712c61a6a8c48 Author: Jinyang He Date: Wed Jun 21 09:50:45 2023 +0800 fix store stacklength but not its addr in info M rtl/linux/loongarch64/si_c.inc M rtl/linux/loongarch64/si_g.inc M rtl/linux/loongarch64/si_prc.inc --- commit f202dda5c5d9c2f8dd82c4d36c376659017eccb4 Author: Jinyang He Date: Wed Jun 21 10:45:42 2023 +0800 Use prlimit64 in FpSetRLimit and FpSetRLimit M rtl/linux/osdefs.inc M rtl/linux/ossysc.inc --- commit 6ef31c643abc5ce46651ef4f6ddb3ba4ff1e8621 Author: Jinyang He Date: Wed Jun 21 10:47:30 2023 +0800 Set STACK_MARGIN_MAX to four times of pagesize on LoongArch64 It fixed a test named tstack. Actually, Linux user get the stacktop is incorrect in current. The value of stack pointer when enter the procedure is thought as it is in the highest stack page. But if the parameters is enough large, lager than 16k, most of arch will also fail this test. Since the LoongArch default pagesize is 16k, it fail often because stack-layout-randomization causes the stackpointer underflow to next page. I had tried fixed it in rtl/linux/[arch]/si_*. But because the codes is unworthy and hardly the parameters is enough large, just expand STACK_MARGIN_MAX for simplicity. M rtl/inc/system.inc --- commit a3a827eba5593f57bae6d0131b18bdd5cd7b071c Author: Michaël Van Canneyt Date: Wed Jun 21 11:55:31 2023 +0200 * Fix for i386 breakage after merge request !433 M rtl/linux/loongarch64/cp_new_stat.inc M rtl/linux/ossysc.inc M rtl/linux/ostypes.inc --- commit fcb5cf42bfd26e076628902778c65f7d6cc3b7ec Author: Michaël Van Canneyt Date: Wed Jun 21 11:59:37 2023 +0200 * Additional fix M rtl/linux/loongarch64/si_prc.inc --- commit 512faa71415be47530dff235711c9ea8f49e9a2f Author: Pierre Muller Date: Wed Jul 19 16:14:26 2023 +0200 Restore usage of fpexecve function inside ExecuteProcess as set by commit 305d34a8f6f M rtl/unix/sysutils.pp --- commit 603614e28e22f93723a1e383893cb567eb2840d2 Author: Pierre Muller Date: Wed Aug 2 14:18:26 2023 +0200 Adapt USE_STATX code to FPC_DOTTEDUNITS M rtl/unix/sysutils.pp --- commit c09e8778bdfc30e9dd669a6ba6d18de952befcaf Author: Michaël Van Canneyt Date: Mon Aug 21 23:19:04 2023 +0200 * Small improvement in inittls. Fixes issue 40408 M rtl/linux/system.pp --- commit bc641cc76be7375eba14e343c300476d5af95f4c Author: Pierre Muller Date: Fri Sep 15 15:20:16 2023 +0000 Use frame register $r22 (aliased as $fp) inside SignalToRunerror for loongarch64 CPU to fix backtrace dumps M rtl/linux/loongarch64/sighnd.inc --- commit 0f0454a0921b31cbf80dc52b83a06f8860d1cd06 Author: Pierre Muller Date: Tue Sep 19 21:53:26 2023 +0000 Modify references to old syslinux unit in comments M rtl/linux/arm/syscall.inc M rtl/linux/i386/syscall.inc M rtl/linux/mips/syscall.inc M rtl/linux/mips64/syscall.inc M rtl/linux/powerpc/syscall.inc M rtl/linux/powerpc64/syscall.inc M rtl/linux/sparc/syscall.inc M rtl/linux/sparc64/syscall.inc M rtl/linux/x86_64/syscall.inc M rtl/linux/xtensa/syscall.inc M rtl/netware/sysfile.inc M rtl/netwlibc/sysfile.inc M rtl/unix/dos.pp --- commit 25c75b1784d0a0d37337c15810fc7fe462a96bbe Author: Michaël Van Canneyt Date: Fri Nov 3 17:01:03 2023 +0100 * Ensure null-terminated strings. Patch by modersohn, fixes issue #40499 M rtl/unix/cwstring.pp --- commit f0b714d5adaa8a660aeaad55d73d6bdbc9805804 Author: Michaël Van Canneyt Date: Fri Nov 10 14:13:13 2023 +0100 * Add pthread_mutex_timedlock, sem_timedwait may be needed in future M rtl/freebsd/pthread.inc M rtl/linux/pthread.inc --- commit 3cd2cbcda8d082f06ca29ffd1f22c0f992f19793 Author: florian Date: Sun Dec 3 23:27:56 2023 +0100 * GetEpochTime (not used though it seems) should return time_t M rtl/unix/sysutils.pp --- commit c11772decaa00925feb543aac383c01da0ad918b Author: Sven/Sarah Barth Date: Thu Jan 4 22:22:35 2024 +0100 * ensure that the SysCall unit is also usable when FPC_USE_LIBC is defined M rtl/unix/syscall.pp --- commit 2cb7e44a1bd86b4a43e7fa777acd8a5d21798d9a Author: Pierre Muller Date: Fri Jan 5 17:46:49 2024 +0100 Fix compilation of syscall unit for Linux with -dFPC_USE_LIBC option M rtl/unix/syscall.pp --- commit 7c9cf75418b9fc60c968820df62a77f162e4d213 Author: Pierre Muller Date: Sat Jan 6 14:33:42 2024 +0100 Fix syscall unit compilation for i386-linux using -dFPC_USE_LIBC M rtl/linux/i386/syscall.inc M rtl/linux/system.pp M rtl/unix/syscall.pp --- commit 774e0f912213dcba17d6f0e0a876d0b243f47df4 Author: florian Date: Sun Jan 7 13:53:05 2024 +0100 + support for fputimens on non-linux OSes * reworked fputimens support on linux + FileSetDate for all unix OSes M rtl/bsd/bunxsysc.inc M rtl/linux/bunxsysc.inc M rtl/linux/linux.pp M rtl/unix/bunxh.inc M rtl/unix/oscdeclh.inc M rtl/unix/sysutils.pp --- commit 9dc75c300538a724d4dcf61b5a9b763dbcedcb7e Author: Pierre Muller Date: Sun Jan 7 14:40:04 2024 +0100 Avoid double declaration of seterrno M rtl/unix/syscall.pp --- commit 81ae7063f31c6857f2c5374dc959f48ee0198ae6 Author: Pierre Muller Date: Mon Jan 15 15:17:54 2024 +0100 Add new DragonFly OS syscall number up to release 6.4.0 (v6.4.0 tag on https://gitweb.dragonflybsd.org/dragonfly.git) M rtl/dragonfly/sysnr.inc --- commit 654d75b777565fa55c9694c0c67e16e44e8e00ea Author: florian Date: Mon Jan 15 21:56:09 2024 +0100 * fix bootstrapping with with 3.2.2 and -dFPC_USE_LIBC M rtl/linux/x86_64/si_c.inc --- commit 9ee2eee293a157ca05a90344feb82518ed7d7ebe Author: florian Date: Mon Jan 15 21:56:40 2024 +0100 * fix utimensat and utimensat if the rtl is compiled with -dFPC_USE_LIBC M rtl/linux/linux.pp --- commit 4dc4d2b2ba3d7bc1262e5cb32d2880893c570eef Author: florian Date: Wed Jan 17 22:56:26 2024 +0100 * use TTimespecArr instead of tkernel_timespecs in sysutils M rtl/unix/sysutils.pp --- commit 54dba5738c9fc27c06516b8c74e228ce29fecea5 Author: florian Date: Wed Jan 17 23:24:43 2024 +0100 * cleaned up TTimespecArr declarations M rtl/aix/ostypes.inc M rtl/beos/ostypes.inc M rtl/bsd/ostypes.inc M rtl/haiku/ostypes.inc M rtl/linux/ostypes.inc M rtl/solaris/ostypes.inc M rtl/unix/bunxh.inc --- commit 185a346744c55b0f3e73cfd962e52bcc1c8f68ee Author: florian Date: Thu Jan 18 22:19:42 2024 +0100 * fix darwin compilation after TTimespecArr changes M rtl/unix/oscdeclh.inc --- commit 785e259e627992409f323d8851cc8664ce50b1e5 Author: florian Date: Fri Jan 19 23:45:07 2024 +0100 * compilation on linux with FPC_USE_LIBC fixed M rtl/linux/ostypes.inc --- commit 2efb72bedeaa96b6e9b5937619f380e4bea74843 Author: Pierre Muller Date: Sun Jan 21 10:23:35 2024 +0100 Use call to seterrno function inside FpSysCall functions for powerpc cpu on linux OS M rtl/linux/powerpc/syscall.inc --- commit dc5041d778811fc6c940aeb283952caa16ff89b7 Author: florian Date: Sun Jan 21 11:32:13 2024 +0100 * fix compilation for mipsel-android (hopefully) M rtl/linux/bunxsysc.inc M rtl/linux/linux.pp --- commit 40072fb762a25409f793fab0ab453a01c984177c Author: florian Date: Mon Jan 22 22:11:29 2024 +0100 * defines fixed M rtl/linux/bunxsysc.inc M rtl/linux/linux.pp --- commit c3339e9a51ccf3f4e4a3e00f473d985f5ed2d902 Author: Michaël Van Canneyt Date: Sun Jan 28 11:19:51 2024 +0100 * Prevent file handle leak M rtl/unix/sysutils.pp --- commit e1b2feac33844bdfa75cc45118b9f83df8bf2767 Author: Michaël Van Canneyt Date: Fri Feb 23 14:29:57 2024 +0100 * Set monitor structures in place A rtl/inc/monitor.inc M rtl/inc/objpas.inc M rtl/inc/objpash.inc M rtl/linux/system.pp --- commit 1caa5dfde89e89fbf779a6867dc31784f5b50e45 Author: Pierre Muller Date: Wed Mar 20 17:31:38 2024 +0000 Re-implement (for debugging purposes) buildrtl.pp unit for Linux OS (not used in regular RTL compilation) M rtl/linux/Makefile.fpc M rtl/linux/buildrtl.pp --- commit e80ce5f61f3857db8956c81de525d41b86aa2ed0 Author: Michaël Van Canneyt Date: Tue Jun 18 14:51:34 2024 +0200 * Allow to disable monitor M rtl/aix/system.pp M rtl/bsd/system.pp M rtl/linux/system.pp M rtl/nativent/system.pp M rtl/solaris/system.pp M rtl/wasi/system.pp M rtl/win32/system.pp M rtl/win64/system.pp M rtl/wince/system.pp --- commit c261d5fdeef1a8304f8de9cfefda31f9afca7af6 Author: Rika Ichinose Date: Thu Jun 20 00:53:19 2024 +0300 Fix reading past the end of the string in Unix.FSearch. M rtl/unix/unix.pp --- commit abb5294b6e9a9caf553211a291f18266daa9d4b6 Author: Pierre Muller Date: Sun Sep 29 08:13:43 2024 +0000 Add CC_OPT for riscv processors M rtl/unix/scripts/check_sys.sh --- commit 06eaec4313692b4b7b56939b3e71d56715f79171 Author: Michaël Van Canneyt Date: Sat Oct 26 23:41:28 2024 +0200 * Fix compilation under unicode rtl M packages/fcl-fpterm/src/fpterm.controller.pas M packages/fcl-fpterm/src/fpterm.inputoutputconnection.unixpty.pas M packages/fcl-fpterm/src/fpterm.pseudoterminal.unix.pas M rtl/unix/unix98pty.pp --- commit b1a47a5d7d2b7ebad337cc6d9b4fd099e4a7dcb9 Author: Pierre Muller Date: Thu Jan 16 17:01:33 2025 +0000 Use '__global_pointer$' special linker symbol to set gp, because its value can be different from __BSS_END__ - 0x800. Details from binutils-2.40/ld/emulparams/elf32lriscv-defs.sh // We must cover as much of sdata as possible if it exists. If sdata+bss is // smaller than 0x1000 then we should start from bss end to cover as much of // the program as possible. But we can't allow gp to cover any of rodata, as // the address of variables in rodata may change during relaxation, so we start // from data in that case. OTHER_END_SYMBOLS="${CREATE_SHLIB-__BSS_END__ = .; __global_pointer$ = MIN(__SDATA_BEGIN__ + 0x800, MAX(__DATA_BEGIN__ + 0x800, __BSS_END__ - 0x800));}" M rtl/linux/riscv64/si_c.inc M rtl/linux/riscv64/si_g.inc M rtl/linux/riscv64/si_prc.inc --- commit a4ca9f53572f88115aae5a7e6d84e0811e939c9e Author: florian Date: Sat Jan 18 23:03:44 2025 +0100 * upated syscalls + RiscV specific syscalls added M rtl/linux/riscv32/sysnr.inc M rtl/linux/riscv64/sysnr.inc M rtl/linux/sysnr-gen.inc --- commit b1c2023af1f7b395a9b204f3fd63a14ff48825bf Author: florian Date: Sun Jan 19 18:42:04 2025 +0100 + support for RiscV hwprobe syscall + test M rtl/linux/linux.pp A tests/test/units/linux/thwprobe.pp --- commit 7e5d9680c2f4f18349bab94ee03fcb5205c29a41 Author: Pierre Muller Date: Mon Jan 20 22:48:39 2025 +0100 Fix compilation of riscvXX-linux targets with -dFPC_USE_LIBC M rtl/linux/linux.pp --- commit d2f5bbac508712e27069d377e0bb3c4bc56828a1 Author: Pierre Muller Date: Wed Jan 22 18:29:19 2025 +0000 Riscv64 linux also needs _STAT_VER_LINUX to be zero for correct libc rtl behavior M rtl/linux/ostypes.inc --- commit d959e47c830cab1f9246e1d2291511c9cd7c4760 Author: Pierre Muller Date: Thu Jan 23 15:47:44 2025 +0000 Fix _FPC_xtensa_exit first parameter passing M rtl/linux/xtensa/si_c.inc M rtl/linux/xtensa/si_dll.inc M rtl/linux/xtensa/si_prc.inc M rtl/linux/xtensa/si_uc.inc --- commit 8720ab7d3ddf8ae2604fbd4211226272849e5202 Author: florian Date: Sun Jun 8 14:23:16 2025 +0200 * fix rlim_t for i386 and other 32 bit CPUs supporting 64 bit fs calls M rtl/linux/ostypes.inc --- commit dd01c88f94972d054875c6a3fe134ef345420a1c Author: Michaël Van Canneyt Date: Wed Jul 23 20:17:42 2025 +0200 * Patch for inotify_event struct. Fixes issue #40860 M rtl/linux/linux.pp --- commit ad03158349efdbb34d27c806af7316fd681bb15d Author: Pierre Muller Date: Mon Sep 1 07:44:37 2025 -0700 Avoid range check error in FindGetFileInfo function on AIX OS and change type of local variable LinAttr to match argument type of fpS_ISDIR function M rtl/unix/dos.pp --- commit 3332a7218c37198df28f08f2c210eceb9ff8d1fb Author: florian Date: Sat Nov 15 20:04:03 2025 +0100 + constants for more RiscV extensions added M rtl/linux/linux.pp M tests/test/units/linux/thwprobe.pp --- commit 6fda9b58ba275b3305400ce3e9dd922f515566b9 Author: Michaël Van Canneyt Date: Sun Dec 7 11:13:02 2025 +0100 * Add intrinsics unit for ARM platforms M rtl/unix/classes.pp M rtl/win32/classes.pp M rtl/win64/classes.pp M rtl/wince/classes.pp --- commit bea570ead89ecb6b08d012b46fa92a8903522e74 Author: Pierre Muller Date: Sun Dec 7 13:08:15 2025 +0000 Replace unused AARCH macro by AARCH64 M rtl/unix/classes.pp M rtl/win32/classes.pp M rtl/win64/classes.pp M rtl/wince/classes.pp --- commit fef8e309caf92fb305d6bb142f0a316bc67ba9d2 Author: Pierre Muller Date: Thu Dec 18 07:37:42 2025 -0800 Only add intrinsics unit dependency for trunk branch M rtl/unix/classes.pp --- commit 1d664955b7156d7ea73b5f2c9bc338c0115d6cdb Author: Pierre Muller Date: Thu Dec 18 15:24:35 2025 +0000 Add intrinsics unit dependency for powerpc and powerpc64 CPUs M rtl/unix/classes.pp --- commit fcba79e567518fd8de6ac9b18049d3469260f187 Author: Curtis Hamilton Date: Sat Dec 27 23:19:48 2025 -0500 files update M rtl/freebsd/Makefile.fpc M rtl/freebsd/powerpc64/cprt0.as M rtl/unix/classes.pp --- commit 2d9377426d6ad9fa5076f4674ad6c883f59ac742 Author: Michaël Van Canneyt Date: Thu Jan 1 16:02:31 2026 +0100 * Correct some fixes of typos M rtl/inc/pagemem.pp M rtl/linux/bunxsysc.inc --- commit 4e920d2c0003d2fc182a66becc349ab791643ac2 Author: Pierre Muller Date: Mon Jan 12 21:29:09 2026 +0100 Use '$if declared(fpfutimens)' to set USE_FUTIMES macro M rtl/unix/sysutils.pp --- commit c79b677948d22df9dadf8b705acaa21bb12fd4da Author: Michaël Van Canneyt Date: Fri Mar 6 21:48:16 2026 +0100 * Faster (and correct) TThread.GetSystemTimes. Fixes issue #40597 M rtl/unix/classes.pp --- commit 6f4a82ab0715ec2924b8c340d175d1f14d2e5284 Author: Michaël Van Canneyt Date: Wed Mar 18 20:13:54 2026 +0100 * Correct type for INVALID_FILE_HANDLE. Fixes issue #41671 M rtl/unix/sysutils.pp --- commit 5658d036c493ed2beac2c6e0febc651007d74bdd Author: Rika Ichinose Date: Wed Apr 1 13:23:53 2026 +0300 Make use of SysOSAlloc zeroing on Unix. M rtl/unix/sysheap.inc --- commit bbfdc842b8ab27ee72793f9a513bc23d5851b337 Author: Jonas Maebe Date: Sat Apr 4 17:30:17 2026 +0200 cstring: fix another missing 0-termination after bf3ced76b resolves #41652 M rtl/unix/cwstring.pp --- commit 9103c9290523162bf8de72fec70d701f51eec2ae Author: Jonas Maebe Date: Sat Apr 4 17:30:17 2026 +0200 cstring: fix another missing 0-termination after bf3ced76b resolves #41652 M rtl/unix/cwstring.pp --- commit 1e8a583cbf96bf083c4d3e38f845d55589142cd3 Author: Pierre Muller Date: Sun Apr 12 12:07:01 2026 +0000 Use _init_tls instead of init_tls on x86_64-dragonfly M rtl/dragonfly/x86_64/si_c.inc --- commit f947936cf9d595dda27174ae0bcde5bf9e56659d Author: Pierre Muller Date: Sun Apr 12 20:45:32 2026 +0000 Force linking of C library in x86_64-dragonfly si_c.inc M rtl/dragonfly/x86_64/si_c.inc --- commit af9fdf251f93c895246214008decfb4ba19e0781 Author: Pierre Muller Date: Fri Apr 17 14:46:04 2026 +0000 Change abitag section name to follow what DragonFly 6.4 gcc does M rtl/dragonfly/x86_64/cprt0.as M rtl/dragonfly/x86_64/dllprt0.as M rtl/dragonfly/x86_64/gprt0.as M rtl/dragonfly/x86_64/prt0.as ================================================================ (inactive) Revisions in this set a06c034189304457633b01adbc978231674b7498 commit a06c034189304457633b01adbc978231674b7498 Author: florian Date: Fri Jan 20 23:30:52 2023 +0100 * cleanup of outdated defines M rtl/inc/systemh.inc M rtl/linux/system.pp M rtl/solaris/system.pp M rtl/win/syswin.inc ---