florian
17158c3587
* mmap2 expects that offset is divided by 4096
...
git-svn-id: trunk@44198 -
2020-02-16 20:14:28 +00:00
florian
2b7447c78d
* EPoll_Event is packed only on x86-64, not other 64 Bit CPUs, resolves #34416
...
* epoll_pwait expects the SigSet size as sixth parameter (kernel syscall only)
+ simple epoll* test
git-svn-id: trunk@44093 -
2020-02-02 14:23:51 +00:00
florian
3cd4168ab3
+ introduce TOSTimestamp
...
git-svn-id: trunk@44033 -
2020-01-25 14:14:41 +00:00
marco
ee760a60f4
* changed copyright to Sven since he is the first one with an implementation.
...
Florian added the file, but as empty skeleton
git-svn-id: trunk@43965 -
2020-01-17 17:51:20 +00:00
marco
edb07af423
* more GPL -> GPL with modification.
...
git-svn-id: trunk@43964 -
2020-01-17 15:01:23 +00:00
marco
3053f8c2e8
* many syscallh header files had GPL license instead of modified. I owned the copyright, or in one case, Thomas did, but it was a full copy of mine. -> changed to modified
...
* removed the remark about calling convention from several implementations. Oldfpccall no longer used.
git-svn-id: trunk@43962 -
2020-01-17 12:07:50 +00:00
pierre
3b39ec84e4
Examine all exception bits in m68k fpsr register to decide which into which run time error it is converted
...
git-svn-id: trunk@43909 -
2020-01-10 22:58:34 +00:00
florian
3335104da2
* get paramstr(0) only if really needed
...
git-svn-id: trunk@43898 -
2020-01-09 20:35:37 +00:00
pierre
6929da66a8
+ Enable FPU exception handling for m68k processor
...
git-svn-id: trunk@43894 -
2020-01-08 23:09:21 +00:00
florian
df6cf6637d
* fplstat needs to pass AT_SYMLINK_NOFOLLOW if the newfstatat syscall is used, reported by bald zhang, resolves #36528
...
git-svn-id: trunk@43880 -
2020-01-06 21:35:13 +00:00
florian
49d4371784
* duplicate syscall number removed, resolves #36508
...
git-svn-id: trunk@43849 -
2020-01-03 10:44:57 +00:00
florian
d425a85f8d
+ Linux.fpstatx, resolves #36501
...
git-svn-id: trunk@43837 -
2020-01-02 14:10:31 +00:00
florian
295041e523
* updated linux syscall numbers
...
git-svn-id: trunk@43835 -
2020-01-02 11:08:40 +00:00
florian
f5496c9d11
* improved build unit lazarus project for linux
...
git-svn-id: trunk@43618 -
2019-12-01 08:41:26 +00:00
florian
3edc0560b0
* patch by Benjamin Rosseaux: TEvent.WaitFor on *nix uses Monotonic Clock now
...
git-svn-id: trunk@43589 -
2019-11-25 20:58:18 +00:00
pierre
9bd19b050b
Also use syscall_nr_fstatat for FpStat function for riscv32 cpu
...
git-svn-id: trunk@43528 -
2019-11-20 23:04:33 +00:00
pierre
b990c59693
+ riscv32 cpu: Use SYSINIT_UNITS instead of LOADERS
...
* mips/mipsel cpus: pass -xgot on to AS call for LOADERS,
if OPT contains -ao-xgot.
git-svn-id: trunk@43527 -
2019-11-20 22:57:49 +00:00
pierre
0e0407ad57
Add si_XXX.inc files, pointing to riscv64 counterparts
...
git-svn-id: trunk@43526 -
2019-11-20 22:51:03 +00:00
pierre
23111a71ea
Add missing and needed syscall_nr_XXX
...
git-svn-id: trunk@43525 -
2019-11-20 22:48:47 +00:00
pierre
e8b9d8442e
Replace obsolete scall by ecall instruction
...
git-svn-id: trunk@43524 -
2019-11-20 22:48:06 +00:00
pierre
247f80abfb
prepare source to also support riscv32 code
...
git-svn-id: trunk@43523 -
2019-11-20 22:46:31 +00:00
florian
f5d5e84649
* more libunits
...
git-svn-id: trunk@43494 -
2019-11-16 14:04:46 +00:00
florian
18c5881e60
* update sharedlibs variable
...
git-svn-id: trunk@43488 -
2019-11-16 11:04:28 +00:00
pierre
a09e40945c
Regenerate all Makefile's after commit #43472
...
git-svn-id: trunk@43478 -
2019-11-15 14:47:02 +00:00
florian
7e3acda739
* TIOCtlRequest is declared as unsigned long according to man 2 ioctl
...
git-svn-id: trunk@43427 -
2019-11-09 18:27:21 +00:00
florian
c7fb1b8db7
* update dependencies of sysutils
...
git-svn-id: trunk@43315 -
2019-10-27 12:45:20 +00:00
florian
c189af0e3d
* improved software floating point exception handling in the rtl
...
git-svn-id: trunk@43163 -
2019-10-10 20:31:31 +00:00
florian
245b58c249
+ support for arm attributes
...
* abi notes fixed
git-svn-id: trunk@43157 -
2019-10-09 17:45:40 +00:00
florian
56d91b4ca7
+ support tls threadvars with the internal assembler
...
git-svn-id: trunk@43070 -
2019-09-25 21:19:03 +00:00
florian
f6667a5143
* we have to use __tls_get_addr from the dyn. linker lib else tls on programs with pure pascal dyn. libraries fail
...
git-svn-id: trunk@43069 -
2019-09-25 21:19:01 +00:00
florian
719ff5fb4c
* converted _FPC_libc21_haltproc into a pascal subroutine so stack alignment is kept
...
git-svn-id: trunk@43013 -
2019-09-15 17:17:32 +00:00
florian
bd35c02257
* cosmetics: indention
...
git-svn-id: trunk@43010 -
2019-09-15 17:17:30 +00:00
michael
ee6c426e05
* Fix bug ID #0035596 : better detection of vcs device
...
git-svn-id: trunk@42766 -
2019-08-23 06:45:11 +00:00
pierre
5ed7bd35df
Update all trunk/fpcsrc Makefile's after commit 42749
...
git-svn-id: trunk@42750 -
2019-08-20 15:58:10 +00:00
pierre
e8ae490128
sparc32 bit needs SA_SIGINFO
...
git-svn-id: trunk@42748 -
2019-08-20 14:25:32 +00:00
florian
f0213a2c46
+ make use of the mremap syscall of linux to re-allocate large memory blocks faster
...
git-svn-id: trunk@42713 -
2019-08-16 20:47:37 +00:00
Jonas Maebe
faf75095cd
* synchronised with trunk till r42189
...
git-svn-id: branches/debug_eh@42190 -
2019-06-07 18:24:38 +00:00
svenbarth
90278f4859
+ add fpmprotect function to complete fpmmap/fpmunmap
...
git-svn-id: trunk@42181 -
2019-06-06 20:46:01 +00:00
pierre
8e5e877417
Fix compilation with release 3.0.4 ppcarm
...
git-svn-id: trunk@42175 -
2019-06-05 12:00:53 +00:00
Jonas Maebe
dc681a75ec
* 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 -
2019-06-02 18:33:01 +00:00
Jonas Maebe
1b6425176b
* synchronised with trunk till r42049
...
git-svn-id: branches/debug_eh@42050 -
2019-05-12 18:44:05 +00:00
pierre
83d72bdf19
Use TIOCtlRequest type for local variable nr inside TCSetAttr function
...
git-svn-id: trunk@42024 -
2019-05-10 07:23:31 +00:00
pierre
ebf2e277ab
Update syscall number for sparc and sparc64 based on results from unix/scripts/check_sys.sh
...
git-svn-id: trunk@42019 -
2019-05-07 11:26:44 +00:00
pierre
fae45b2075
Add first linux RTL compliance test file t_linux.h2paschk
...
git-svn-id: trunk@42016 -
2019-05-06 21:13:42 +00:00
Jonas Maebe
3a1fb45315
* synchronised with trunk till r41976
...
git-svn-id: branches/debug_eh@41977 -
2019-05-02 19:44:41 +00:00
pierre
ae5a9e033a
Add flags field to TStatfs record
...
git-svn-id: trunk@41973 -
2019-05-02 12:59:11 +00:00
pierre
ce1ba76ce5
Add st_ctime_nsec field for stat powerpc record
...
git-svn-id: trunk@41972 -
2019-05-02 12:57:51 +00:00
pierre
0690df1733
Update syscall numbers for powerpc-linux and powerpc64-linux
...
git-svn-id: trunk@41971 -
2019-05-02 12:56:56 +00:00
pierre
66401652fd
* 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 -
2019-04-25 06:23:37 +00:00
Jonas Maebe
128bf046b4
* regenerated Makefiles with LLVM bitcode installation support
...
git-svn-id: branches/debug_eh@41914 -
2019-04-20 18:56:45 +00:00