florian 2f1eb9be18 * support R_SUBMMX in spilling_create_store, resolves #39672 3 anni fa
..
aarch64 9813eb9048 AArch64 asm reader: add support for fpcmp(e) conditions 3 anni fa
arm 27fb9086aa * cleanup: cs_opt_loopunroll is a generic optimization for a long time already 3 anni fa
armgen a6921fff7b + Aarch64: SxthSxtw2Sxth optimization 4 anni fa
avr 6df2eb5fd4 Extra code generation options for shift with compile time constant. 3 anni fa
generic ff3acfb8cd * cleanup of 2.7.0 defines 4 anni fa
html fa0d3d79e0 no message 23 anni fa
i386 0e4188749b * started with change information for AVX-512 3 anni fa
i8086 0e4188749b * started with change information for AVX-512 3 anni fa
jvm 27fb9086aa * cleanup: cs_opt_loopunroll is a generic optimization for a long time already 3 anni fa
llvm 04ebdf8df8 Fix compilation for x86_64 llvm variant 4 anni fa
m68k 57107c3310 m68k: opcode table updates based on vasm 1.9 (used with permission) 3 anni fa
mips 27fb9086aa * cleanup: cs_opt_loopunroll is a generic optimization for a long time already 3 anni fa
msg 85c648e603 Check mf_symansistr is compatible with current compiler mode and issue a message before failing PPU loading 3 anni fa
powerpc 27fb9086aa * cleanup: cs_opt_loopunroll is a generic optimization for a long time already 3 anni fa
powerpc64 27fb9086aa * cleanup: cs_opt_loopunroll is a generic optimization for a long time already 3 anni fa
ppcgen 629c1de460 TOC handling: clean up 3 anni fa
riscv c2c7982a22 Fix check that third parameter of ADDI hp1 instruction is a constant 4 anni fa
riscv32 27fb9086aa * cleanup: cs_opt_loopunroll is a generic optimization for a long time already 3 anni fa
riscv64 27fb9086aa * cleanup: cs_opt_loopunroll is a generic optimization for a long time already 3 anni fa
sparc 27fb9086aa * cleanup: cs_opt_loopunroll is a generic optimization for a long time already 3 anni fa
sparc64 27fb9086aa * cleanup: cs_opt_loopunroll is a generic optimization for a long time already 3 anni fa
sparcgen 03f4685455 + sanity checks in mips and sparc register allocator 4 anni fa
systems 366d1332d1 * nicer casing 3 anni fa
utils 2f28c5596f Regenerate all Makefile's to fix problem on x86_64 linux 3 anni fa
wasm32 27fb9086aa * cleanup: cs_opt_loopunroll is a generic optimization for a long time already 3 anni fa
x86 2f1eb9be18 * support R_SUBMMX in spilling_create_store, resolves #39672 3 anni fa
x86_64 0e4188749b * started with change information for AVX-512 3 anni fa
xtensa 27fb9086aa * cleanup: cs_opt_loopunroll is a generic optimization for a long time already 3 anni fa
z80 27fb9086aa * cleanup: cs_opt_loopunroll is a generic optimization for a long time already 3 anni fa
COPYING.txt e5a1231931 * updated FSF address (mantis #30198, patch by Paul Gevers) 9 anni fa
MPWMake 43c50d0a32 Remove unused, obsolete -dBROWSERLOG option 4 anni fa
Makefile 8512d7ac8f Add x86_64 CPU to list requiring fpux80 support 3 anni fa
Makefile.fpc 8512d7ac8f Add x86_64 CPU to list requiring fpux80 support 3 anni fa
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 17 anni fa
aasmbase.pas 01dc62b127 + introduced the use of asm labels for WebAssembly. Resolve them in 4 anni fa
aasmcfi.pas 5d28e2156b + support for generating Dwarf CFI using .cfi_* directives 6 anni fa
aasmcnst.pas 1180589046 * free the placeholder for the count of the dynamic array in end_dynarray_const() and document it as such 3 anni fa
aasmdata.pas e56b58c2b0 * factored out checks whether a procdef's symbol needs to be global, and 6 anni fa
aasmdef.pas 04984e9af9 * also generate indirect symbols for AB_PRIVATE_EXTERN symbols as these might be used from a unit in another package due to inlining 6 anni fa
aasmsym.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would 6 anni fa
aasmtai.pas 738a0a35de Add section directive for subroutines for embedded and freertos systems. 3 anni fa
aggas.pas c3e94051a1 Use '.rodata' for read-only data section for aarch64 CPU 4 anni fa
aopt.pas 9ec85f940e * do not remove register deallocations/allocation pairs if the register is written 4 anni fa
aoptbase.pas 1f8a9c708e * use RegistersInterfere instead of SuperRegistersEqual in TAoptBase.RegInOp and TAoptBase.RegInRef 5 anni fa
aoptda.pas b1dff29cbf * removed unused units 8 anni fa
aoptobj.pas 50a37d00e7 Debugging code in AllocRegBetween is now safer and more accurate, and p2 can no longer be nil 4 anni fa
aoptutils.pas bae583118a * patch by J. Gareth Moreton: x86 JccMovJmpMov2MovSetcc improvement, resolves #38761 4 anni fa
assemble.pas 191dd0c637 + support .weak in the internal assembler 3 anni fa
blockutl.pas a051b8d225 - remmoved doregister parameter from t*sym constructors, as the registration 6 anni fa
browcol.pas 1a9e246c29 * added is_normal_fieldvarsym() helper and use it 6 anni fa
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 17 anni fa
ccharset.pas cb44d7d4e2 * some cleanup 6 anni fa
cclasses.pas 986a6feb95 Allocate THashSet item and its key together when FOwnKeys=true. 4 anni fa
cepiktimer.pas 99d88b91a9 * do not include fpcdefs in the cepiktimer unit 5 anni fa
cfidwarf.pas ca399f3c71 * don't generate high-level CFI statements when the selected assembler 4 anni fa
cfileutl.pas e7d1a77f9a * rename the ARM/AArch64-Darwin targets to ARM/AArch64-iOS 5 anni fa
cg64f32.pas 2dc0995067 - Bug fix to new ADD/SUB optimisation where conditions are concerned 4 anni fa
cgbase.pas 8006900e8e - clean up 4 anni fa
cgexcept.pas fe57cd3536 * fix LLVM after r48828 4 anni fa
cghlcpu.pas 67b8aceaee * synchronized with privatetrunk till r30095 11 anni fa
cgobj.pas 67a1d52806 JccAdd2SetccAdd modified to make use of GetIntRegisterBetween 4 anni fa
cgutils.pas 9b4033fa80 Fast mod 3 anni fa
cmsgs.pas a34f531661 + implemented support for codepage aware compiler messages. It can be enabled 8 anni fa
comphook.pas 4b157a1498 + print full file path if -vb is passed even if no line number is known, resolves #39419 4 anni fa
compiler.pas 88959bdda7 * m68k-sinclairql: fix the inclusion of the target proper 4 anni fa
compinnr.pas 54299874d3 + implemented memory.grow and memory.size intrinsics and implemented SysOSAlloc 5 anni fa
comprsrc.pas 971d7baa8a * patch by Cyrax: Quote path - which is passed to Windres or alike program, resolves #36526 3 anni fa
comptty.pas 682e29c4ff + enable colored output on darwin, resolves #38693 4 anni fa
constexp.pas a6d6f93887 * revert accidently committed code 3 anni fa
cprofile.pas 6612bb4434 * proper naming 6 anni fa
crefs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 12 anni fa
cresstr.pas ff3acfb8cd * cleanup of 2.7.0 defines 4 anni fa
cscript.pas f5e5f9645c Add fForceUseForwardSlash to TLinkRes class, used for vlink linker on hosts using backslashes 4 anni fa
cstreams.pas e4ee8fa6a2 * patch by Rika to pass some strings by reference, resolves #39338 4 anni fa
cutils.pas abc4a0a4e6 * patch by Rika: another improvement of cutils.newalignment, part of #39496 4 anni fa
dbgbase.pas 2808873d1b * Reworked the optimization of unused $parentfp for nested routines. 5 anni fa
dbgcodeview.pas 04727844b5 * Fixed value of the LF_PAD13 enum element. 5 anni fa
dbgdwarf.pas e547284588 * Section-offsets have 64 bits in the Dwarf-64 format 3 anni fa
dbgstabs.pas acf2567bda Second trial to fix commit 48688 4 anni fa
dbgstabx.pas 3d81dd0b00 * ReplaceForbiddenAsmSymbolChars renamed ApplyAsmSymbolRestrictions, because now it also applies the 5 anni fa
defcmp.pas 094a353d87 + add ability to strictly compare defs with generic constraints (this is needed for declarations, while for normal code we're rather relaxed) 3 anni fa
defutil.pas b91fc3a0d3 * fixed passing of singleton record parameters, containing a float in WebAssembly 4 anni fa
dirparse.pas 93be88b270 * reverted r47862 5 anni fa
dwarfbase.pas 6817cea33b + missing unit 7 anni fa
elfbase.pas 245b58c249 + support for arm attributes 6 anni fa
entfile.pas e9e8013316 + some basic stuff for MIPS64 3 anni fa
export.pas b1dff29cbf * removed unused units 8 anni fa
expunix.pas 1a0ffbc82b * fixed llvm compiler compilation with -O3/-Oodfa 7 anni fa
finput.pas 243c967967 Commit of new debug feature implemented by J. Gareth Moreton 6 anni fa
fmodule.pas 2a5023508a + add support for forward declarations of generic classes and interfaces (any implicit pointer type really); fixes #34128 3 anni fa
fpcdefs.inc 00a287e77d Fix compilation of mips64 compiler by simple use of 'make mips64' 3 anni fa
fpchash.pas a4672fbd1c o based on a patch by Rika, resolves #39401: 4 anni fa
fpcp.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 5 anni fa
fpkg.pas e8ede4c3e2 Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: 9 anni fa
fppu.pas 85c648e603 Check mf_symansistr is compatible with current compiler mode and issue a message before failing PPU loading 3 anni fa
gendef.pas 3af74d2fd2 + implement initial compiler support for Win64 on Aarch64 5 anni fa
globals.pas e9e8013316 + some basic stuff for MIPS64 3 anni fa
globstat.pas 04bbfd1746 * fix for Mantis #27378: save and (more importantly) restore verbosity when switching a unit 7 anni fa
globtype.pas 2a93e65511 * seperator => separator 4 anni fa
hlcg2ll.pas 67d80d414b * do not copy parameters onto the stack using FPU registers if the type is 3 anni fa
hlcgobj.pas 33db5200e6 * building for LLVM fixed 3 anni fa
htypechk.pas a7de0b365b Avoid invalid typecast error when using -CR option 4 anni fa
impdef.pas 4431ba2c08 merged/updated AROS/i386 target to trunk from AROS branch, to support Marcus Sackrow's work on AROS support which will hopefully benefit all Amiga-like targets (classic, MorphOS) on the long run. Compiler only, RTL comes in the next run. 11 anni fa
import.pas b1dff29cbf * removed unused units 8 anni fa
ldscript.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 anni fa
link.pas 59fca3a01d * Increased the bounds of TBooleanArray to prevent a range check error while linking Lazarus. 4 anni fa
macho.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler 6 anni fa
machoutils.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler 6 anni fa
msgidx.inc 85c648e603 Check mf_symansistr is compatible with current compiler mode and issue a message before failing PPU loading 3 anni fa
msgtxt.inc 85c648e603 Check mf_symansistr is compatible with current compiler mode and issue a message before failing PPU loading 3 anni fa
nadd.pas 81c8078735 * reorder string expressions with parentheses so fpc_*_concat_multi can be used efficiently, resolved #39479 3 anni fa
nbas.pas 3e98429418 Revert " * patch by J. Gareth Moreton: Nothing (NOP) node optimisation, resolves #38194" 4 anni fa
ncal.pas d198fc46cb * just copy value parameters to a temp. when inlining instead of 3 anni fa
ncgadd.pas bbece3e668 * MIPS64 can 3 anni fa
ncgbas.pas c78e9557f8 * Added support for the old Turbo Pascal INLINE(data/data/...) statement. 4 anni fa
ncgcal.pas 8d864559b7 * overleft cosmetics 3 anni fa
ncgcnv.pas 940ac567a5 * Patch by J. Gareth "Kit" Moreton (issue #39343). Added missing allocation 4 anni fa
ncgcon.pas 6d75992674 * fix proposed by Christo Crause: properly handle pointer constant nodes on avr, resolves #38321 5 anni fa
ncgflw.pas b78761efd3 * Removed obsolete OLDREGVARS ifdefs. 4 anni fa
ncghlmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 anni fa
ncginl.pas c59b6a5d8d * High() and Length() for dynamic arrays deal with sizesinttype instead of ossinttype (on AVR the former is 16-bit while the later is 8-bit thus this is an important distinction) 4 anni fa
ncgld.pas 0a383d8c0f * fixed WebAssembly method pointer assignment 4 anni fa
ncgmat.pas 2dc0995067 - Bug fix to new ADD/SUB optimisation where conditions are concerned 4 anni fa
ncgmem.pas a5f6505edc * fix range checking for zero based strings, resolves #39323 4 anni fa
ncgnstfl.pas d14fd51d0b * fix potential crash with copied goto nodes on nestedparentfp platforms 6 anni fa
ncgnstld.pas cf9596421b * fixed crashes on platforms using parentfpstructs with generic routines 6 anni fa
ncgnstmm.pas 627fcb4354 * Do not use the LOC_VOID location to indicate unused parameters. 5 anni fa
ncgobjc.pas b1dff29cbf * removed unused units 8 anni fa
ncgopt.pas b1dff29cbf * removed unused units 8 anni fa
ncgrtti.pas 1e37eef3d2 * use an anonymous symbol for the record operator table as its typing is different for each incarnation anyway 4 anni fa
ncgset.pas c06a3f2ca3 Avoid range check error inside tcgcasenode.pass_generate_code method 4 anni fa
ncgutil.pas 5ca2356638 * take care of po_noreturn in more cases 5 anni fa
ncgvmt.pas 629c1de460 TOC handling: clean up 3 anni fa
ncnv.pas 29a5d3267c * moved warning about suspicious comp assignment to type check pass, catches also 4 anni fa
ncon.pas 3da54dcf9f Symbolic constants: don't range check on use 3 anni fa
nflw.pas 815734c47a * fix #32034 and fix #39656: in a for-in-loop with an array constructor enforce the type of the loop variable for the elements 3 anni fa
ngenutil.pas 2a93e65511 * seperator => separator 4 anni fa
ngtcon.pas b1f85792d7 Symbolic constants: don't range check on in use in typed constants 3 anni fa
ninl.pas cecb24344c Merge branch 'main' into val_range_check 4 anni fa
nld.pas 07698050e5 * Before r35961 (back in 2017) some simple assignment optimizations, such as "x:=x+y" to "inc(x,y)", were performed when -O2 in tassignmentnode.simplify. In r35961 these optimizations were moved to a separate pass which is enabled only when -O3 by cs_opt_use_load_modify_store. This separate pass can benefit from other optimization. But worse code is generated with -O2 since then. 4 anni fa
nmat.pas 34630c2ef9 * properly set types for currency divisions, resolves #38717 3 anni fa
nmem.pas 43b4b34395 * disallow offsetof trick for types involving implicit dereferences, resolves #39667 partially 3 anni fa
nobj.pas 4ba19f5418 * add support for creating non-address-only procvars to 5 anni fa
nobjc.pas 68eb921d46 * broken compilation after r39347 fixed 7 anni fa
node.pas d96600a02d * Removed unused and confusing tnode.parent and tnode.concattolist(). 4 anni fa
nopt.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would 6 anni fa
nset.pas 3094f75690 * WebAssembly code generation for 'case' nodes changed to use labels 4 anni fa
nutils.pas e0a1bc6675 + optimize (a and b) or (c and not(b)) into c xor ((c xor a) and b) 4 anni fa
objcasm.pas 6404478ea4 * cleanup of VER3_0 defines 4 anni fa
objcdef.pas b1dff29cbf * removed unused units 8 anni fa
objcgutl.pas e7d1a77f9a * rename the ARM/AArch64-Darwin targets to ARM/AArch64-iOS 5 anni fa
objcutil.pas b1dff29cbf * removed unused units 8 anni fa
ogbase.pas e26b298885 * patch by Rika: Better Align()'s #2, resolves #39512 4 anni fa
ogcoff.pas 77e3a402da Set string length before calling move to avoid problems with global data analysis on systems using C library 4 anni fa
ogelf.pas 17e3c31b7e Fix gotpcrel relocation for TESTQ x86_64 instruction 4 anni fa
oglx.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 anni fa
ogmacho.pas a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the 5 anni fa
ogmap.pas a5ab1c03ea * avoid 8-bit truncation of the sizes in the internal linker map 5 anni fa
ognlm.pas a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the 5 anni fa
ogomf.pas cc3cbbb7b9 * fix x86 compilation after my last commit 4 anni fa
ogrel.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 5 anni fa
ogwasm.pas c9e8bfd118 Add internalerror if ogwasm tries to write unset Func/Global or TagIndex of TWasmObjSymbol 3 anni fa
omfbase.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 5 anni fa
optbase.pas b5659df425 + CalcUseSum: calculates a sum of all use sets of the current node and its children 6 anni fa
optconstprop.pas e350264db1 + propagate constants across call nodes 5 anni fa
optcse.pas 5921fa9a62 + store references to global variables in registers if benefical (currrently used for aarch64 only) 4 anni fa
optdead.pas b1dff29cbf * removed unused units 8 anni fa
optdeadstore.pas 08817f1aed * fixes to deadstore optimization 4 anni fa
optdfa.pas 0634d5349d * add const 4 anni fa
options.pas 28964711d7 * sorted defines in the compiler: mips64 is defined on all 64 Bit mips platforms, mips64el for little endian, misp64eb for big endian 3 anni fa
optloadmodifystore.pas 07698050e5 * Before r35961 (back in 2017) some simple assignment optimizations, such as "x:=x+y" to "inc(x,y)", were performed when -O2 in tassignmentnode.simplify. In r35961 these optimizations were moved to a separate pass which is enabled only when -O3 by cs_opt_use_load_modify_store. This separate pass can benefit from other optimization. But worse code is generated with -O2 since then. 4 anni fa
optloop.pas 7388735b11 * Strength reduction optimization: - Use a temp for complex loop start values to prevent double evaluation. 4 anni fa
opttail.pas dd6e6eb26a * disable tail recursion optimisation if there is a copy-back parameter 5 anni fa
optutils.pas 92771760b7 Get rid of some global variables. 4 anni fa
optvirt.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 5 anni fa
owar.pas d0beacc35f * return the correct size for files in ar archive. This is required by the REL 5 anni fa
owbase.pas d0beacc35f * return the correct size for files in ar archive. This is required by the REL 5 anni fa
owomflib.pas e49025a086 More -CriotR fixes: 7 anni fa
parabase.pas b777dc21d7 * fix PowerPC compilation 6 anni fa
paramgr.pas 6404478ea4 * cleanup of VER3_0 defines 4 anni fa
parser.pas c3fb1e3a65 * initialize current_settings as early as possible so cs_debugswitch is set correctly if needed 4 anni fa
pass_1.pas 9d95e6159e * fix typo in comment 4 anni fa
pass_2.pas 8b7c5666a2 * Renamed fc_block_with_exit to fc_no_direct_exit to expand its usage. 5 anni fa
pbase.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 5 anni fa
pcp.pas a4672fbd1c o based on a patch by Rika, resolves #39401: 4 anni fa
pdecl.pas 3f14a19d3e * fix typos in comments, no code changes 3 anni fa
pdecobj.pas 9e3f647333 * var, type, threadvar, const sections require also in classes etc. at least one declaration, resolves #39599 3 anni fa
pdecsub.pas 4718029fe0 * do not throw an error if syscall is used with a syntax not applicable for the current 3 anni fa
pdecvar.pas ae89261008 * prevent that a absolute symbol references itself, resolves #39604 3 anni fa
pexports.pas d854d18bd9 * instead of blindly consuming whatever comes next trigger an explicit error if the parsed expression does not match for "INDEX ordexpr" or "NAME strexpr" 5 anni fa
pexpr.pas 1a8444087a * ensure that result of factor_handle_sym is initialized 4 anni fa
pgentype.pas 2a5023508a + add support for forward declarations of generic classes and interfaces (any implicit pointer type really); fixes #34128 3 anni fa
pgenutil.pas 2a5023508a + add support for forward declarations of generic classes and interfaces (any implicit pointer type really); fixes #34128 3 anni fa
pinline.pas e4ee8fa6a2 * patch by Rika to pass some strings by reference, resolves #39338 4 anni fa
pkgutil.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 5 anni fa
pmodules.pas 181ee30174 Update build and link requirements for esp-idf v4.4. Refactor the version dependent linker fragments list into an array of version specific array of strings for easier updating in future. 3 anni fa
pp.lpi 867786c953 * update version 5 anni fa
pp.pas 39c5f11ec6 * the WASM define renamed WASM32 5 anni fa
pparautl.pas ea5ffd597f * set self to nil in current_module.deflist for registered defs in the 4 anni fa
ppc68k.lpi 8192bf1b33 * version update 5 anni fa
ppc8086.lpi efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 anni fa
ppcaarch64.lpi 1a559f5c60 * move the homogenous float aggregate determination function to a common 6 anni fa
ppcarm.lpi 5573bee314 + makefiles use -Sew, so added to the project as well 6 anni fa
ppcavr.lpi b9d4240a8d + version update 8 anni fa
ppcjvm.lpi 95bed362ba [PATCH 02/83] updating common FPC sources for WASM target 5 anni fa
ppcmips.lpi 9ebf2aa984 * project file updates 13 anni fa
ppcmips64el.lpi 9710b2cbb4 + some basic stuff for mips64el 5 anni fa
ppcmipsel.lpi 9ebf2aa984 * project file updates 13 anni fa
ppcppc.lpi 18a45d94a3 * version update 7 anni fa
ppcppc64.lpi 9ebf2aa984 * project file updates 13 anni fa
ppcppc64le.lpi e60a367f1b + project file for PowerPC64LE 5 anni fa
ppcriscv32.lpi 44150f43ac * RISC-V 32 compilation fixed 7 anni fa
ppcriscv64.lpi 65a415c13e * fix assembling with official binutils 7 anni fa
ppcsparc.lpi 188ec0f0c7 + basics for sparc64 support, we continue to use the name "sparc" for sparc32, both sparc are identified by sparcgen (dirs, defines etc.) 8 anni fa
ppcsparc64.lpi 188ec0f0c7 + basics for sparc64 support, we continue to use the name "sparc" for sparc32, both sparc are identified by sparcgen (dirs, defines etc.) 8 anni fa
ppcwasm32.lpi bc76487b87 + enable the WebAssembly internal assembler and object writer 4 anni fa
ppcx64.lpi 2f36069dae bugfix 0037785 cvtsi2ss and cvtsi2sd in x86_64 { att} 4 anni fa
ppcx64llvm.lpi cd9e18fab4 * made lazarus project names more systematic 8 anni fa
ppcxtensa.lpi 27349661e0 + Xtensa: lazarus project 5 anni fa
ppcz80.lpi 1263880ef0 - removed the z80_internal_linker build mode from the lazarus project 5 anni fa
ppheap.pas eefdf135a5 Always write filename, truncate directory part if needed 9 anni fa
ppu.pas a4672fbd1c o based on a patch by Rika, resolves #39401: 4 anni fa
procdefutil.pas 4da6465d05 * correctly set the generic related defoptions for an outlined procdef 5 anni fa
procinfo.pas 30166f8eb7 Procedure-saved registers are now recorded for peephole optimizers to use 4 anni fa
psabiehpi.pas fe57cd3536 * fix LLVM after r48828 4 anni fa
pstatmnt.pas 89f9ebc7b7 * throw an error if raise is called in a noreturn subroutine outside of any exception frame, resolves #39514 4 anni fa
psub.pas 60919b4979 * m68k: disable the frame pointer optimization on subarchs that don't support long displacements for now, until the shortcomings of the cg can be addressed 3 anni fa
psystem.pas 93ecf5f155 * synchronized with trunk 5 anni fa
ptconst.pas 276f5bdef8 * ensure that nothing assembly related is generated for generics when a typed constant (this also includes local variable initializations) are parsed 6 anni fa
ptype.pas 2a5023508a + add support for forward declarations of generic classes and interfaces (any implicit pointer type really); fixes #34128 3 anni fa
raatt.pas 7e73e0dd23 + support reading of .p2align with op code and/or max. bytes in the gas assembler reader 4 anni fa
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from 20 anni fa
rasm.pas 46fe2d486c * forgotten comment 8 anni fa
rautils.pas bcab6185b9 * hopefully final fix for absolute references to absolute symbols 3 anni fa
rescmn.pas b88d12c7b9 + add option -FF to force the use of fpcres as RC compiler 5 anni fa
rgbase.pas 4abc498f2f + added the Z80 individual flag bits as subregisters 5 anni fa
rgobj.pas e9acd759a4 * Fixed random AVs when targeting the AVX FPU. 4 anni fa
scandir.pas 54dccaaad1 * do not crash in case of too many $push directives, resolves #39652 3 anni fa
scanner.pas ff68e7b9de * m68k-atari: override the exeext globally, not just at the final step of the linking. this fixes 'Linking <exename>.ttp' messages, when in fact <exename>.prg gets generated 3 anni fa
switches.pas be0d51d64c * allow $MinEnumSize, $PackSet and $PackRecords to be used with $Push and $Pop 7 anni fa
symbase.pas 379c1414a7 Fix for bug report #39661 3 anni fa
symconst.pas 1e37eef3d2 * use an anonymous symbol for the record operator table as its typing is different for each incarnation anyway 4 anni fa
symcreat.pas 5e3e4437c4 * use new TSym.EscapedRealName property when creating new symbols with the 5 anni fa
symdef.pas 665c1b3966 Move member variable "section" to tprocdef. Type of "section" to agree with symansistr define. 3 anni fa
symsym.pas f78818e387 * some warnings fixed 4 anni fa
symtable.pas e4ee8fa6a2 * patch by Rika to pass some strings by reference, resolves #39338 4 anni fa
symtype.pas 3ecb41cd2d * improvements to the prevention of dangling pointers in tmodule.deflist, 4 anni fa
symutil.pas 1a9e246c29 * added is_normal_fieldvarsym() helper and use it 6 anni fa
syscinfo.pas 568d4de77e * aros64: recent developments hanged the library call ABI, lets try to follow it (aros64 is experimental) 3 anni fa
systems.inc e9e8013316 + some basic stuff for MIPS64 3 anni fa
systems.pas 738a0a35de Add section directive for subroutines for embedded and freertos systems. 3 anni fa
tgobj.pas f7239e03e7 * make tgobj.pas less verbose in extdebug mode, use separate define DEBUG_FREETEMP for the really 4 anni fa
tokens.pas c78e9557f8 * Added support for the old Turbo Pascal INLINE(data/data/...) statement. 4 anni fa
triplet.pas eb7ba1690e * mark all external assemblers using an LLVM tool using af_llvm 5 anni fa
verbose.pas 89f9ebc7b7 * throw an error if raise is called in a noreturn subroutine outside of any exception frame, resolves #39514 4 anni fa
version.pas d147533c94 Remove "r" from FPC revision. 4 anni fa
wasmbase.pas b463f2a141 + added support for exception tags and for the 'throw' and 'catch' instructions 4 anni fa
widestr.pas cb44d7d4e2 * some cleanup 6 anni fa
wpo.pas 060d81b8fa Merged revisions 11878,11881-11882,11889,11891-11893,11895,11899-11902,11935,11938,12212,12304,12308-12310,12316,12330-12332,12334,12339-12340 via svnmerge from 17 anni fa
wpobase.pas 5df9b994d1 * fix warnings which were caused by last changes to for node generation 9 anni fa
wpoinfo.pas b1dff29cbf * removed unused units 8 anni fa

README.txt

This directory contains the sources of the Free Pascal Compiler

If you want to compile/modify the compiler, please read first the
programmers manual.

To recompile the compiler, you can use the batch files :
+ mppc386.bat if you want to build a cross compiler from i386 to m68k
+ mppcsparc if you want to build a cross compiler from i386 to SPARC

or
Use the make utility as following

make OS_TARGET="compiler OS target" \
CPU_TARGET="compiler CPU target" \
FPCCPUOPT="Optimization level" \
PP="compiler used to compile FPC" \
COMPILER_OPTIONS="Options passed to compiler" \


If an option is omitted, then target CPU/OS will be same as current CPU/OS

Possibles targets are : linux go32v2 win32 os2 freebsd beos netbsd amiga haiku
atari sunos qnx netware openbsd wdosx palmos macos macosx emx

Possible compiler switches (* marks a currently required switch):
-----------------------------------------------------------------
GDB* support of the GNU Debugger
I386 generate a compiler for the Intel i386+
x86_64 generate a compiler for the AMD x86-64 architecture
M68K generate a compiler for the M68000
SPARC generate a compiler for SPARC
POWERPC generate a compiler for the PowerPC
VIS generate a compile for the VIS
DEBUG version with debug code is generated
EXTDEBUG some extra debug code is executed
SUPPORT_MMX only i386: releases the compiler switch
MMX which allows the compiler to generate
MMX instructions
EXTERN_MSG Don't compile the msgfiles in the compiler, always
use external messagefiles, default for TP
NOAG386INT no Intel Assembler output
NOAG386NSM no NASM output
NOAG386BIN leaves out the binary writer, default for TP
NORA386DIR No direct i386 assembler reader
TEST_GENERIC Test Generic version of code generator
(uses generic RTL calls)
-----------------------------------------------------------------
cpuflags The target processor has status flags (on by default)
cpufpemu The target compiler will also support emitting software
floating point operations
cpu64bitaddr The targets use a 64-bit address space (pointers and
the default integer type are 64 bit)
cpu64bitalu The target cpu has 64-bit registers available (unless
cpu64bitaddr is also defined, pointers and default
integer type remain 32 bit, but the cpu can perform
64 bit calculations directly without needing helpers)
-----------------------------------------------------------------

Required switches for a i386 compiler be compiled by Free Pascal Compiler:
GDB;I386

to build a compiler to SPARC target using a Win32/i386 you just use :
make CPU_TARGET=SPARC