The sources of the Free Pascal compiler, RTL, packages and utilities. See https://www.freepascal.org/ for more info.
Go to file
Jinyang He 6ef31c643a 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.
2023-06-21 07:27:36 +00:00
.gitlab Add two more templates to show the possibilities 2021-10-06 17:26:28 +00:00
compiler * Check that system unit is actually loaded before using it to search for system symbols 2023-06-19 15:33:15 +02:00
installer Add aarch64-iphonesim target 2023-03-27 18:45:00 +00:00
packages set default result in TPCUWriter.IsExternalEl 2023-06-21 03:57:58 +00:00
rtl Set STACK_MARGIN_MAX to four times of pagesize on LoongArch64 2023-06-21 07:27:36 +00:00
tests * fix #40221: don't allow a conversion from an anonymous function to a procvar type if compare_defs_ext already rejected them 2023-06-16 17:28:50 +02:00
utils * search for i386-linux-gcc also by trying i686-linux- as prefix as 2023-06-20 23:16:16 +02:00
.gitattributes Use pascal hunk for diff output for pascal source files 2021-09-06 23:31:20 +02:00
.gitconfig * + .gitconfig with configuration for better diffing, needs a 2021-09-18 14:26:18 +02:00
.gitignore * improve .gitignore 2022-09-19 23:11:12 +02:00
.gitlab-ci.yml + use linux tag in gitlab-ci.yml 2022-02-04 22:18:33 +01:00
fpmake_add1.inc
fpmake_proc1.inc
fpmake.pp
LICENSE
Makefile Add aarch64-iphonesim target 2023-03-27 18:45:00 +00:00
Makefile.fpc add ppsuf so that we can compiler loongarch fpc now 2023-02-05 19:18:48 +00:00
README.md

FPC Source code repository

Synopsis

This repository contains the sources of the Free Pascal compiler distribution.

It contains

  • The compiler sources in the directory compiler.
  • The run-time library in the directory rtl.
  • The packages distributed with the compiler in the directory packages.
  • Several utilities in the directory utils.
  • The compiler testsuite in the directory tests.

License

The compiler is licensed under GPL v2, the run-time files are licensed under modified LGPL. Both can be found in the LICENSE file, and the file rtl/COPYING.txt

Documentation

Extensive documentation can be found on the documentation website.