Commit Graph

2001 Commits

Author SHA1 Message Date
Pierre Muller
c01649c7d8 Regenerate Makefile's after inc/Makefile.rtl change 2023-08-04 17:29:30 +02:00
Pierre Muller
cefa2745b8 Regenerate Makefile's after inc/Makefile.rtl change 2023-08-04 17:16:24 +02:00
Pierre Muller
e354e8322f Regenerate Makefile's after inc/Makefile.rtl change 2023-08-04 16:33:00 +02:00
Pierre Muller
4bd9ad7dee Regenerated Makefile's after change in inc/Makefile.rtl 2023-08-04 14:48:16 +02:00
Pierre Muller
84c8a68492 Regenerated Makefile's after change in inc/Makefile.rtl 2023-08-04 12:30:48 +02:00
Pierre Muller
d1dca0a815 Regenerated Makefile's after HEAPTRCUNIT change in inc/Makefile.rtl 2023-08-04 11:01:19 +02:00
Pierre Muller
d4172b48bc Regenerated Makefile's after change in inc/Makefile.rtl 2023-08-04 11:00:14 +02:00
Pierre Muller
ec0b830bba Regenerate Makefile's after 21b02cb56b 2023-08-02 22:36:20 +02:00
Pierre Muller
6577cd16e2 Regenerate Makefile's after 0c7c75435d 2023-08-02 15:22:26 +02:00
Pierre Muller
9c68cc9378 Update Makefile's after commit 93c116ff19 2023-08-02 14:22:34 +02:00
Pierre Muller
34169d4fbd Regenerated Makefile's after adding WINDIRSDIR variable 2023-08-02 12:58:30 +02:00
Pierre Muller
2f97637b0f Regenerate Makefile's after change in inc/Makefile.rtl 2023-08-02 11:25:58 +02:00
Pierre Muller
6cbb73034f Avoid overwriting of already set DOS_DEPS_OS and DYNLIBS_DEPS_OS variables for linux RTL 2023-08-01 19:30:29 +02:00
Pierre Muller
5004889c3c Update Makefile's after cpu unit dependency fix 2023-08-01 10:04:24 +02:00
Michaël Van Canneyt
f65e6cfebe * Additional dependency for unit unit 2023-08-01 07:52:48 +02:00
Pierre Muller
1bfcd45307 Regnerated Makefile's after dependency fixes for debug info units 2023-07-31 14:59:32 +02:00
Michaël Van Canneyt
681dfc91ac * Fix typo 2023-07-30 18:55:28 +02:00
Michaël Van Canneyt
ba79c04af2 * Extra dependencies for dos, solves hopefully jenkins problem ? 2023-07-30 17:46:36 +02:00
Michaël Van Canneyt
681a00a76f * Fixes based on feedback of team, fixes issue #40368 2023-07-30 11:19:47 +02:00
Michaël Van Canneyt
82bc431bf4 * Remove double system unit target 2023-07-28 13:22:52 +02:00
Michaël Van Canneyt
27ce569b0b * Fix EOL escapes, regenerate makefiles 2023-07-28 12:49:13 +02:00
Michaël Van Canneyt
fb93b59966 * Dynlibs dependency 2023-07-27 23:23:21 +02:00
Michaël Van Canneyt
2d562c1560 * dos unit deps 2023-07-27 22:57:42 +02:00
Michaël Van Canneyt
64226a0ab1 * Add dependencies, fix jenkins build 2023-07-27 20:42:10 +02:00
Michael VAN CANNEYT
ccfa38c68e * Dotted RTL compiles 2023-07-27 19:04:03 +02:00
Michaël Van Canneyt
f0ef6b08ed * Regenerated makefiles with subtarget support 2023-07-24 16:16:37 +02:00
Michael VAN CANNEYT
0d0317b3af * string -> shortstring 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
9d6a495c02 * string -> shortstring 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
4c2b54ee0d * Char -> AnsiChar 2023-07-14 17:26:09 +02:00
Michaël Van Canneyt
fcb5cf42bf * Additional fix 2023-06-21 11:59:37 +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
f202dda5c5 Use prlimit64 in FpSetRLimit and FpSetRLimit 2023-06-21 07:27:36 +00:00
Jinyang He
2928837225 fix store stacklength but not its addr in info 2023-06-21 07:27:36 +00:00
Jinyang He
bad62d51fa fix when FPC_USE_LIBC is disabled not call PASCALMAIN 2023-06-21 07:27:36 +00:00
Jinyang He
bcf7701887 Support use statx syscall in fpstat and fpfstat 2023-06-21 07:27:36 +00:00
Pierre Muller
0efa4cbc67 Attempt to use local _init and _fini procedures 2023-05-11 01:02:04 +00:00
Pierre Muller
a304962ea0 Try to implement linux si_uc.inc for xtensa CPU 2023-05-11 01:02:04 +00:00
Dmytro Bogatskyy
327aac7f24 Add aarch64-iphonesim target 2023-03-27 18:45:00 +00:00
florian
3e3b96e088 * fix of Erroneous reading of the value of the StackLength variable at program start based on issue report by Sergey Larin, resolves #40211 2023-03-21 22:37:40 +01:00
Pierre Muller
be1cc68a99 Change libc statx function to weakexternal
Test if statx is nil before call
2023-03-12 16:28:58 +01:00
Jinyang He
783bbb66f9 Update Makefiles 2023-02-05 19:18:48 +00:00
Jinyang He
92e60d2107 add loongarch64 linux rtl support 2023-02-05 19:18:48 +00:00
florian
a06c034189 * cleanup of outdated defines 2023-01-20 23:31:04 +01: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
Jonas Maebe
88ae6721c6 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
2022-12-03 21:17:18 +01:00
Jonas Maebe
f1abd2c2f0 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.
2022-12-01 22:43:26 +01:00
Michaël Van Canneyt
75c252fd8f * Extra linux fcntl constants 2022-11-13 23:46:59 +01:00
Jonas Maebe
0758aa1143 FPU exception mask: generlised system unit interface 2022-10-17 19:43:01 +00:00
Karoly Balogh
fd83fd5779 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) 2022-08-31 22:14:15 +02:00
Pierre Muller
cdfe3aa1eb Avoid null array size field for aarch64-linux TUContext 2022-06-18 14:53:16 +02:00
Pierre Muller
28d32b2010 Fix compilation of sparc64-linux rtl with -dFPC_USE_LIBC 2022-06-08 00:12:20 +02:00
Pierre Muller
1433c4f2f8 Fix compilation of sparc-linux rtl with -dFPC_USE_LIBC 2022-06-08 00:10:48 +02:00
Nikolay Nikolov
8c562995d7 * regenerate makefiles with latest fpcmake 2022-05-24 14:01:59 +03:00
florian
143c2ec232 * powerpc-linux: provide also local __libc_csu_* routines 2022-04-17 21:26:15 +02:00
florian
7ff6d78543 * mips(el)-linux: provide __libc_csu_* as weak symbols 2022-04-11 22:22:34 +02:00
florian
a20a7e3497 * define __libc_csu_* symbols as weak symbols on aarch64-linux 2022-04-10 23:19:34 +02:00
florian
35a7490ae1 * provide __libc_csu_init and __libc_csu_fini as weak symbols 2022-04-09 21:12:28 +02:00
florian
727e25e93e * make __lib_csu* weak symbols on m68k-linux 2022-04-02 16:03:49 +02:00
florian
cb2704dfb2 * some more use of __libc_csu_* removed 2022-03-31 22:32:28 +02:00
Pierre Muller
497dd20a08 Regenerate Makefile's with trunk fpcmake 2022-03-27 08:23:22 +00:00
inoussa
163d2ab344 Unicode' unicodenumtable.pas removed : update Makefile.fpc. 2022-03-26 21:17:54 +00:00
Pierre Muller
2f28c5596f Regenerate all Makefile's to fix problem on x86_64 linux 2022-03-07 23:46:15 +00:00
Pierre Muller
ad2ac98858 Update Makefile's 2022-03-07 22:35:29 +00:00
Pierre Muller
ae3c0a2151 Add _IO_stdin_used global 2022-03-06 12:14:51 +00:00
Pierre Muller
4da4c96349 Regenerate Makefile's with mips gcc fixes and new enabled mips64-linux target 2022-02-15 15:45:15 +00:00
Pierre Muller
1fce64fa0a Disable range and overflow checks inside detect_linuxvcs procedure 2022-02-11 23:27:07 +00:00
florian
d42f577a3f + additional skeleton files for mips64 2022-02-06 21:57:01 +01:00
florian
c1ef094457 + startup code skeleton for MIPS64 2022-02-06 13:50:32 +01:00
Nikolay Nikolov
b407b67ca1 * regenerate all makefiles with latest fpcmake 2022-01-19 07:08:32 +02:00
florian
b00fe0e4e4 * all references to libc_csu_ cleaned, should resolve #39295 2022-01-05 21:42:17 +01:00
florian
abee68df92 * powerpc64-linux: libc_csu_* are not available anymore in newer glibc,
make them dummy calls, x86_64-linux does the same for years
2022-01-05 21:33:32 +01:00
florian
0b2a58027c * powerpc64-linux: unused assembler loader files removed 2022-01-05 21:01:39 +01:00
florian
644263277f * clean up of assembler files not used anymore 2022-01-05 20:52:35 +01:00
Robert Roland
53e5a4a03a Adding aaarch64-embedded target
This adds support for aarch64-embedded, specifically for the Raspberry Pi 3.

Uses UART0 at 115200 baud 8N1 for console IO.
2022-01-05 12:29:00 +00:00
Pierre Muller
271ba59cf1 All Makefile's regenerated 2021-11-25 22:13:32 +00:00
florian
65ef6f1f37 * regenerated Makefiles 2021-11-24 22:50:37 +01:00
florian
baa28faa19 * pic'fied startup code 2021-10-25 21:39:24 +02:00
florian
7baf2461f0 * check paramstr argument for negative values, resolves #39410 2021-10-20 20:04:32 +02:00
florian
f8c92914c2 * indention fixed 2021-09-06 23:05:35 +02:00
florian
aca327d787 + added baud rate constants for arm as proposed by Piotr Kardasz in #39101
git-svn-id: trunk@49570 -
2021-06-29 21:09:31 +00:00
nickysn
433050a2c4 * set EXEEXT to .wasm for the WASI target in fpcmake
git-svn-id: trunk@49552 -
2021-06-24 00:16:00 +00:00
pierre
0ed69fc662 Fix compilation with 3.2.2 release for arm and i386 CPUs
git-svn-id: trunk@49411 -
2021-05-29 21:25:16 +00:00
Jonas Maebe
500e29e5e2 * regenerated with FreeBSD/AArch64 support
git-svn-id: trunk@49159 -
2021-04-10 08:19:40 +00:00
florian
e4cc8af8fc * Makefiles regenerated
git-svn-id: trunk@49124 -
2021-04-05 15:39:07 +00:00
nickysn
e42330a7ad * synchronized with trunk
git-svn-id: branches/wasm@48949 -
2021-03-13 21:47:24 +00:00
florian
62ea31f255 * riscv64-linux: generate PIC for all units as it is required for shared libraries
git-svn-id: trunk@48948 -
2021-03-13 16:33:31 +00:00
florian
a399627aee + RiscV: initial implementation of gprof support
* cleanup

git-svn-id: trunk@48945 -
2021-03-12 21:27:51 +00:00
pierre
e8fbe6696b Update Makefile's after commits 48929/48930
git-svn-id: trunk@48940 -
2021-03-12 13:23:41 +00:00
florian
3ac178f519 * RiscV: corrected setup of gp
git-svn-id: trunk@48938 -
2021-03-11 21:10:04 +00:00
nickysn
f8052134e3 * synchronized with trunk
git-svn-id: branches/wasm@48906 -
2021-03-08 00:52:43 +00:00
florian
813cf7b45e 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 -
2021-03-07 22:28:18 +00:00
nickysn
940738a3a1 * synchronized with trunk
git-svn-id: branches/wasm@48846 -
2021-03-01 13:21:24 +00:00
florian
5afa26ddd1 * fix compilation for CPUs without thumb
git-svn-id: trunk@48794 -
2021-02-23 20:39:25 +00:00
nickysn
d7df2d45c6 * synchronized with trunk
git-svn-id: branches/wasm@48680 -
2021-02-14 23:47:42 +00:00
florian
5e7a512777 * arm-linux: sighnd.inc must check for CPUTHUMB and CPUTHUMB2
git-svn-id: trunk@48670 -
2021-02-13 21:26:15 +00:00
nickysn
a74024e7d5 * synchronized with trunk
git-svn-id: branches/wasm@48654 -
2021-02-12 01:54:24 +00:00
florian
71c314d7d4 * another FPC_VERSION => FPC_FULLVERSIOn fix
* switch back to 32 Bit mode if no thumb code is generated

git-svn-id: trunk@48630 -
2021-02-10 20:46:15 +00:00
florian
3a0eb110ec * FPC_VERSION => FPC_FULLVERSION
git-svn-id: trunk@48547 -
2021-02-08 21:41:04 +00:00
nickysn
cf3b883bce * synchronized with trunk
git-svn-id: branches/wasm@48513 -
2021-02-04 21:34:40 +00:00
florian
91586331b5 * x86_64-linux: assembler helpers syscalls do not need a stackframe
git-svn-id: trunk@48512 -
2021-02-04 20:57:11 +00:00