Commit Graph

2053 Commits

Author SHA1 Message Date
Pierre Muller
2d6a0d59f0 Regenerate several rtl Makefile's after: Add unicodedata unit to rsts entry 2025-04-08 21:48:12 +00:00
Pierre Muller
f86068b0e1 Add unicodedata unit to rsts entry 2025-04-08 21:46:52 +00:00
Pierre Muller
7b11f25a26 Regenerate also all rtl Makefile's after: Change resource string extension variable RSTEXT to '.rsj' 2025-04-08 21:37:18 +00:00
Pierre Muller
3bf5c67485 Revert "Add missing dependency on types unit for math unit"
This reverts commit 1f01ba4bc0.
2025-04-03 12:07:18 +00:00
Pierre Muller
1f01ba4bc0 Add missing dependency on types unit for math unit 2025-04-03 11:58:59 +00:00
Nikolay Nikolov
97fde50101 * regen makefiles 2025-03-10 22:39:51 +02:00
Nikolay Nikolov
bf0c724d80 * regen makefiles 2025-02-28 15:12:20 +02:00
Nikolay Nikolov
12c494cc0f * update makefiles 2025-02-28 15:12:19 +02:00
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
Pierre Muller
d959e47c83 Fix _FPC_xtensa_exit first parameter passing 2025-01-23 15:52:11 +00:00
Pierre Muller
7e5d9680c2 Fix compilation of riscvXX-linux targets with -dFPC_USE_LIBC 2025-01-20 22:48:39 +01:00
florian
b1c2023af1 + support for RiscV hwprobe syscall
+ test
2025-01-19 18:42:04 +01:00
florian
a4ca9f5357 * upated syscalls
+ RiscV specific syscalls added
2025-01-18 23:04:07 +01:00
Pierre Muller
b1a47a5d7d 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));}"
2025-01-16 17:20:14 +00:00
Pierre Muller
930596bd85 Fix directories for some source files, based on suggestion by Alfred Glänzer in #40995 2024-11-19 22:12:31 +00:00
Nikolay Nikolov
37b7835b12 + added unit unix98pty. Only enabled for linux, for now, but can be enabled in the future on other unix-likes. 2024-10-19 16:11:25 +03:00
Kirill Kranz
52651a7ede First compiler Build 2024-09-29 16:56:18 +03:00
Rika Ichinose
ce5a632432 Remove the rest of the VER3_0 conditionals. 2024-09-01 17:13:39 +00:00
florian
e225b41e3e * properly define esp32 helper unit names in inc/Makefile.rtl 2024-07-09 22:23:19 +02:00
Michaël Van Canneyt
e80ce5f61f * Allow to disable monitor 2024-06-18 14:51:34 +02:00
Pierre Muller
3d2d27cf67 Makefile regenerated after 'nothreads unit depends on objpas because of objfpc mode' commit 2024-05-20 15:14:05 +00:00
Michaël Van Canneyt
10d740298d * Added nothreads unit for fake thread support. Currently only WASI 2024-05-19 16:14:45 +02:00
florian
cf6b38c35f * regenerated Makefiles after last commit 2024-03-23 22:30:37 +01:00
Pierre Muller
d0f08ef259 Regenerate RTL Makefile's after RP2040UNIT variable addition, and debug buildrtl.pp unit for Linux OS 2024-03-20 17:33:14 +00:00
Pierre Muller
1caa5dfde8 Re-implement (for debugging purposes) buildrtl.pp unit for Linux OS (not used in regular RTL compilation) 2024-03-20 17:31:38 +00:00
Pierre Muller
603dd63b39 Fix make variable name error: OBJPAS_DEPS_SPU => OBJPAS_DEPS_CPU 2024-03-11 14:23:25 +00:00
Michaël Van Canneyt
e1b2feac33 * Set monitor structures in place 2024-02-24 18:11:23 +01:00
Pierre Muller
2efb72bede Use call to seterrno function inside FpSysCall functions for powerpc cpu on linux OS 2024-02-24 00:05:20 +03:00
Pierre Muller
57e74e0c8b Regenerated Makefile's after: Add linux dependency on syscall unit for libc on i386 and x86_64 2024-01-29 11:20:47 +00:00
florian
40072fb762 * defines fixed 2024-01-22 22:14:06 +01:00
florian
dc5041d778 * fix compilation for mipsel-android (hopefully) 2024-01-21 11:32:28 +01: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
florian
9ee2eee293 * fix utimensat and utimensat if the rtl is compiled with -dFPC_USE_LIBC 2024-01-15 21:56:40 +01:00
florian
654d75b777 * fix bootstrapping with with 3.2.2 and -dFPC_USE_LIBC 2024-01-15 21:56:09 +01:00
florian
774e0f9122 + support for fputimens on non-linux OSes
* reworked fputimens support on linux
  + FileSetDate for all unix OSes
2024-01-14 22:23:11 +01:00
Pierre Muller
3edd92dab1 Examinc OPT and CROSSOPT instead of FPCOPT in [prerules] to check if syscall unit needs objpas dependency 2024-01-07 23:23:49 +01:00
Pierre Muller
37ffd4051a Add dependency on objpas unit for syscall unit compiled with -dFPC_USE_LIBC 2024-01-06 17:06:51 +01:00
Pierre Muller
7c9cf75418 Fix syscall unit compilation for i386-linux using -dFPC_USE_LIBC 2024-01-06 17:06:51 +01:00
Karoly Balogh
679f2f75b3 human68k: regenerated Makefiles 2023-11-30 23:43:27 +00:00
Michaël Van Canneyt
f0b714d5ad * Add pthread_mutex_timedlock, sem_timedwait may be needed in future 2023-11-10 14:13:23 +01:00
Michaël Van Canneyt
7bd8ac25d4 * Regen Makefiles with correct defines for some lineinfo units 2023-11-08 18:15:52 +01:00
Michaël Van Canneyt
ebed69e858 * Fix name of lineinfo 2023-11-08 17:12:37 +01:00
Michaël Van Canneyt
ab3b7f8f69 * Do not use namespace prefix for lnfodwarf 2023-11-08 17:08:03 +01:00
Michaël Van Canneyt
2ad272f03f * Correct dependency of (System.)Character, or resulting unit is unusable 2023-11-02 12:10:36 +01:00
Pierre Muller
71c6b6be0c Add also DOSDIR and CLASSESDIR 2023-10-09 11:38:14 +02:00
Pierre Muller
2815273cf0 Set SYSUTILSDIR to unix dir in linux Makefile.fpc 2023-10-09 11:19:21 +02:00
Pierre Muller
08f9aaa6e6 Regenerate Makefile's with centralized SYSTEMUNIT variable 2023-10-09 01:02:28 +02:00
Pierre Muller
cb2d675732 Remove OS specific SYSTEMUNIT variable setting 2023-10-09 01:02:28 +02:00
Pierre Muller
ca0fbc1de6 Regenerate Makefile's after system rule changes 2023-09-29 17:44:35 +02:00