Martin dd0711a27e Fix incorrect dwarf entry count. Issue #39928 introduced in 1b6982107f1ac4b4111e37be0a3649d155a2bc1e 2 years ago
..
aarch64 3a11ee9a14 * apply OptPass1Data to neg as well 2 years ago
arm d6ff4ed967 * arm/a64: New sbfx/ubfx -> mov optimisation 3 years ago
armgen 3e5f6d3228 * use AllocRegbetween in TARMAsmOptimizer.RemoveSuperfluousMove, resolves #39921 2 years ago
avr 7822a90e20 Increase reference count of jump label, fixes #39784 3 years ago
generic ff3acfb8cd * cleanup of 2.7.0 defines 3 years ago
html fa0d3d79e0 no message 23 years ago
i386 6757bf3832 * x86: New SHR-based optimisations 2 years ago
i8086 7f3a5eb9ab * extend tabstractprocdef.getcopyas by a parameter to control whether the copy should be registered or not 3 years ago
jvm a401898139 * spelling fixes 3 years ago
llvm b26703feaa Darwin version comparisons: factored out into object 2 years ago
m68k 92e5ede347 m68k: fixed the capabilities flags inverted logic issues committed in 7d23c2e9 2 years ago
mips b8920670f4 Change is_macro to return true for A_JAL if in pic mode 2 years ago
msg 55629aeb19 do not publish enums with jumps 3 years ago
powerpc 762057f46d Fix compilation of 32-bit powerpc compiler 3 years ago
powerpc64 dbbf7e7f3b Add several increfs to avoid troubles on AIX target OS 3 years ago
ppcgen dbbf7e7f3b Add several increfs to avoid troubles on AIX target OS 3 years ago
riscv e66378ee59 * RiscV: generate mret only for FreeRTOS and Embedded 3 years ago
riscv32 c83e6c34a9 riscv32: Fix 64bit comparisons 2 years ago
riscv64 19ad26afd8 * Riscv32 and Riscv64 on linux: enable safecall support 3 years ago
sparc 27fb9086aa * cleanup: cs_opt_loopunroll is a generic optimization for a long time already 3 years ago
sparc64 27fb9086aa * cleanup: cs_opt_loopunroll is a generic optimization for a long time already 3 years ago
sparcgen ad72542e9e Fix compilation of sparc compiler with -dDEBUG_ALL_OPT 3 years ago
systems b150480c60 Darwin: don't try to print size statistics if the binary wasn't linked 2 years ago
utils 6cbbf9c52a * $P/$OpenStrings is supposed to be a local switch, so change that accordingly 2 years ago
wasm32 f32ef29253 * WebAssembly high level code generator: use the global.get and global.set 3 years ago
x86 45b1d592f5 * x86: Bug fix where "mov $0,%reg" was inserted on the wrong side of a SETcc instruction 2 years ago
x86_64 6757bf3832 * x86: New SHR-based optimisations 2 years ago
xtensa 27fb9086aa * cleanup: cs_opt_loopunroll is a generic optimization for a long time already 3 years ago
z80 088c746d45 * reset written source lines once a section is encountered 3 years ago
COPYING.txt e5a1231931 * updated FSF address (mantis #30198, patch by Paul Gevers) 8 years ago
MPWMake 43c50d0a32 Remove unused, obsolete -dBROWSERLOG option 4 years ago
Makefile eaeb8b70ff + added Risc-V register information file generation to the compiler Makefile 3 years ago
Makefile.fpc 7dc2a61788 * comment for git fixed 2 years ago
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 years ago
aasmbase.pas f6c741ee73 * Corrected label reference counts caused by TAsmLabel.GetName incrementing refs 3 years ago
aasmcfi.pas 5d28e2156b + support for generating Dwarf CFI using .cfi_* directives 6 years ago
aasmcnst.pas a8352f3e99 ttai_typedconstbuilder: do not remove tcalo_vectorized_dead_strip_item 3 years ago
aasmdata.pas d0bf7acc18 llvmdbg: build hashtable to lookup llvmdecl belonging to a global variable 3 years ago
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 5 years ago
aasmsym.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would 6 years ago
aasmtai.pas a135940cf5 Mark .noinit section with nobits flag. 3 years ago
aggas.pas d217a459aa Fix bug report #39952. 2 years ago
aopt.pas 9ec85f940e * do not remove register deallocations/allocation pairs if the register is written 4 years ago
aoptbase.pas 1f8a9c708e * use RegistersInterfere instead of SuperRegistersEqual in TAoptBase.RegInOp and TAoptBase.RegInRef 5 years ago
aoptda.pas b1dff29cbf * removed unused units 8 years ago
aoptobj.pas 627fb9a25b * x86: New jump/label tracking in CrossJump optimisations 3 years ago
aoptutils.pas bae583118a * patch by J. Gareth Moreton: x86 JccMovJmpMov2MovSetcc improvement, resolves #38761 4 years ago
assemble.pas 6ac50f4100 + add method ResetSourceLines to TExternalAssembler to reset already written lines 3 years ago
blockutl.pas 7f3a5eb9ab * extend tabstractprocdef.getcopyas by a parameter to control whether the copy should be registered or not 3 years ago
browcol.pas 168016b865 * patch by Rika: Use linear file list in FInput.TInputFileManager instead of linked, resolves #39880 2 years ago
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 16 years ago
ccharset.pas cb44d7d4e2 * some cleanup 5 years ago
cclasses.pas 986a6feb95 Allocate THashSet item and its key together when FOwnKeys=true. 3 years ago
cepiktimer.pas 99d88b91a9 * do not include fpcdefs in the cepiktimer unit 4 years ago
cfidwarf.pas 9e9b38d0cf * cfi for avr needs 32 bit pc begin and range 2 years ago
cfileutl.pas b934517871 * patch by Rika: Optimize some compiler/CFileUtl.pas functions for returning unchanged strings, resolves #39882 2 years ago
cg64f32.pas 2dc0995067 - Bug fix to new ADD/SUB optimisation where conditions are concerned 3 years ago
cgbase.pas e2ade64a1e cgbase: make first parameter of supregset_reset "out" 2 years ago
cgexcept.pas fe57cd3536 * fix LLVM after r48828 4 years ago
cghlcpu.pas 67b8aceaee * synchronized with privatetrunk till r30095 10 years ago
cgobj.pas 67a1d52806 JccAdd2SetccAdd modified to make use of GetIntRegisterBetween 3 years ago
cgutils.pas 131c1e1b93 * Converted assertion into an internal error 3 years ago
cmsgs.pas a34f531661 + implemented support for codepage aware compiler messages. It can be enabled 8 years ago
comphook.pas 4b157a1498 + print full file path if -vb is passed even if no line number is known, resolves #39419 3 years ago
compiler.pas 88959bdda7 * m68k-sinclairql: fix the inclusion of the target proper 3 years ago
compinnr.pas 54299874d3 + implemented memory.grow and memory.size intrinsics and implemented SysOSAlloc 4 years ago
comprsrc.pas 971d7baa8a * patch by Cyrax: Quote path - which is passed to Windres or alike program, resolves #36526 3 years ago
comptty.pas 682e29c4ff + enable colored output on darwin, resolves #38693 4 years ago
constexp.pas a6d6f93887 * revert accidently committed code 3 years ago
cprofile.pas 6612bb4434 * proper naming 5 years ago
crefs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 years ago
cresstr.pas 27a1acdc7d cresstr: fix length specified for resource strings to typed const builder 3 years ago
cscript.pas f5e5f9645c Add fForceUseForwardSlash to TLinkRes class, used for vlink linker on hosts using backslashes 4 years ago
cstreams.pas e4ee8fa6a2 * patch by Rika to pass some strings by reference, resolves #39338 3 years ago
cutils.pas b934517871 * patch by Rika: Optimize some compiler/CFileUtl.pas functions for returning unchanged strings, resolves #39882 2 years ago
dbgbase.pas d294731542 LLVM: enable DWARF debug info generation 3 years ago
dbgcodeview.pas 04727844b5 * Fixed value of the LF_PAD13 enum element. 4 years ago
dbgdwarf.pas dd0711a27e Fix incorrect dwarf entry count. Issue #39928 introduced in 1b6982107f1ac4b4111e37be0a3649d155a2bc1e 2 years ago
dbgdwarfconst.pas 4da1ad71a4 * moved a bunch of constants from dbgdwarf to dbgdwarfconst 3 years ago
dbgstabs.pas a401898139 * spelling fixes 3 years ago
dbgstabx.pas 3d81dd0b00 * ReplaceForbiddenAsmSymbolChars renamed ApplyAsmSymbolRestrictions, because now it also applies the 5 years ago
defcmp.pas a6c7ed5e61 vector support: use vector result types 2 years ago
defutil.pas a6c7ed5e61 vector support: use vector result types 2 years ago
dirparse.pas 93be88b270 * reverted r47862 4 years ago
dwarfbase.pas 1fc54dd8bb * improve dwarf cfi on avr 2 years ago
elfbase.pas 245b58c249 + support for arm attributes 5 years ago
entfile.pas e9e8013316 + some basic stuff for MIPS64 3 years ago
export.pas b1dff29cbf * removed unused units 8 years ago
expunix.pas 1a0ffbc82b * fixed llvm compiler compilation with -O3/-Oodfa 6 years ago
finput.pas 168016b865 * patch by Rika: Use linear file list in FInput.TInputFileManager instead of linked, resolves #39880 2 years ago
fmodule.pas 2a5023508a + add support for forward declarations of generic classes and interfaces (any implicit pointer type really); fixes #34128 3 years ago
fpcdefs.inc 19ad26afd8 * Riscv32 and Riscv64 on linux: enable safecall support 3 years ago
fpchash.pas a4672fbd1c o based on a patch by Rika, resolves #39401: 3 years ago
fpcp.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 4 years ago
fpkg.pas e8ede4c3e2 Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: 9 years ago
fppu.pas 7b09eee02a * mark units compiled with cs_compilesystem with a corresponding flag 2 years ago
gendef.pas 3af74d2fd2 + implement initial compiler support for Win64 on Aarch64 5 years ago
globals.pas b26703feaa Darwin version comparisons: factored out into object 2 years ago
globstat.pas 04bbfd1746 * fix for Mantis #27378: save and (more importantly) restore verbosity when switching a unit 6 years ago
globtype.pas 6cbbf9c52a * $P/$OpenStrings is supposed to be a local switch, so change that accordingly 2 years ago
hlcg2ll.pas 67d80d414b * do not copy parameters onto the stack using FPU registers if the type is 3 years ago
hlcgobj.pas f51798e449 High level codegen: set MM register type for vectors 2 years ago
htypechk.pas 2396b36c21 * nil =/<> dyn. array is a valid expression, so isbinaryoperatoroverloadable needs to take care of it, resolves #39933 2 years ago
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 years ago
import.pas b1dff29cbf * removed unused units 8 years ago
ldscript.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 years ago
link.pas 7ef33cf4b2 llvm: generalised sanitizer linking support 3 years ago
macho.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler 6 years ago
machoutils.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler 6 years ago
msgidx.inc 55629aeb19 do not publish enums with jumps 3 years ago
msgtxt.inc 55629aeb19 do not publish enums with jumps 3 years ago
nadd.pas 02aac653d2 * optimize shortstring concatenations if they're on the right side of an assignment to directly use the left side instead of a temporary 2 years ago
nbas.pas 3e98429418 Revert " * patch by J. Gareth Moreton: Nothing (NOP) node optimisation, resolves #38194" 3 years ago
ncal.pas df3a0af7e0 objc: use compile-time macOS version checks 2 years ago
ncgadd.pas bbece3e668 * MIPS64 can 3 years ago
ncgbas.pas c78e9557f8 * Added support for the old Turbo Pascal INLINE(data/data/...) statement. 4 years ago
ncgcal.pas 8d864559b7 * overleft cosmetics 3 years ago
ncgcnv.pas 940ac567a5 * Patch by J. Gareth "Kit" Moreton (issue #39343). Added missing allocation 3 years ago
ncgcon.pas a285500d36 * patch by Rike: Use reverse_longword instead of manually reversing longword, resolves #39720 3 years ago
ncgflw.pas b78761efd3 * Removed obsolete OLDREGVARS ifdefs. 3 years ago
ncghlmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 years ago
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) 3 years ago
ncgld.pas f562a8d9fd * hopefully final fix after 9848349610219cd0d2dadc67b112fb09a8317e91 2 years ago
ncgmat.pas 2dc0995067 - Bug fix to new ADD/SUB optimisation where conditions are concerned 3 years ago
ncgmem.pas a5f6505edc * fix range checking for zero based strings, resolves #39323 3 years ago
ncgnstfl.pas d14fd51d0b * fix potential crash with copied goto nodes on nestedparentfp platforms 5 years ago
ncgnstld.pas cf9596421b * fixed crashes on platforms using parentfpstructs with generic routines 6 years ago
ncgnstmm.pas 627fcb4354 * Do not use the LOC_VOID location to indicate unused parameters. 5 years ago
ncgobjc.pas b1dff29cbf * removed unused units 8 years ago
ncgopt.pas b1dff29cbf * removed unused units 8 years ago
ncgrtti.pas e25594c48e * correctly truncate rtti symbol names of enumeration types, resolves #39829 3 years ago
ncgset.pas c06a3f2ca3 Avoid range check error inside tcgcasenode.pass_generate_code method 3 years ago
ncgutil.pas a76038e1d1 hlcgobj: new getlocal and recordnewsymloc methods 3 years ago
ncgvmt.pas 30a7199165 * make the VMT symbol and type def of the corresponding class or object instead of having them be global 3 years ago
ncnv.pas 1c86a4bbeb * if a pointer_to_array type conversion is applied to a variable, it is not written, resolves #39957 2 years ago
ncon.pas 6dc47c71fb tstringconstnode.changestringtype: fix buffer overrun 3 years ago
nflw.pas 5670a7543c * properly reset nf_write/nf_modify flags for min/max inline nodes, needed by dead store optimization, resolves #39958 2 years ago
ngenutil.pas 5135b586cb * fix #39857: don't trash symbols marked as vo_is_internal 2 years ago
ngtcon.pas a93942cd27 * correctly convert a single WideChar to a PChar constant with the correct code page 2 years ago
ninl.pas 5670a7543c * properly reset nf_write/nf_modify flags for min/max inline nodes, needed by dead store optimization, resolves #39958 2 years ago
nld.pas 2be8f01efe * implement assignment of anonymous functions to procedure or method variables if they either capture nothing or (in case of method variables) at most the Self variable 3 years ago
nmat.pas 02289d1f5b + fold "a shl n1 shl n2" and "a shr n1 shr n2" into "a shl (n1+n2)" and "a shr (n1+n2)", resolves #39629 3 years ago
nmem.pas c26f9329b6 Support arrays and classes in compile-time OffsetOf. 3 years ago
nobj.pas 30a7199165 * make the VMT symbol and type def of the corresponding class or object instead of having them be global 3 years ago
nobjc.pas 68eb921d46 * broken compilation after r39347 fixed 7 years ago
node.pas d96600a02d * Removed unused and confusing tnode.parent and tnode.concattolist(). 3 years ago
nopt.pas bb51ac77dd * the right side of a concatenation of multiple ShortString values can directly pass any String[x] to the utility routine, because only the Length() is used, not High() and nothing is modified (also typed pointers must not be used for them); this allows for better code generation for strings with a maximum length < 255 2 years ago
nset.pas 3094f75690 * WebAssembly code generation for 'case' nodes changed to use labels 3 years ago
nutils.pas 5670a7543c * properly reset nf_write/nf_modify flags for min/max inline nodes, needed by dead store optimization, resolves #39958 2 years ago
objcasm.pas 6404478ea4 * cleanup of VER3_0 defines 3 years ago
objcdef.pas 5d02c65425 objcdef: remove duplicate variant start check 3 years ago
objcgutl.pas 136022a7b2 objc: stop generating coalesced sections 2 years ago
objcutil.pas df3a0af7e0 objc: use compile-time macOS version checks 2 years ago
ogbase.pas e26b298885 * patch by Rika: Better Align()'s #2, resolves #39512 3 years ago
ogcoff.pas 77e3a402da Set string length before calling move to avoid problems with global data analysis on systems using C library 4 years ago
ogelf.pas 17e3c31b7e Fix gotpcrel relocation for TESTQ x86_64 instruction 4 years ago
oglx.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 years ago
ogmacho.pas a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the 5 years ago
ogmap.pas a5ab1c03ea * avoid 8-bit truncation of the sizes in the internal linker map 5 years ago
ognlm.pas a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the 5 years ago
ogomf.pas c13517634f * patch by Rika: Replace some instances of manual work with endianness with cryptic oneliners, resolves #39719 3 years ago
ogrel.pas cf5feb0dca + support writing of 32-bit and 64-bit relocations in the REL object writer 3 years ago
ogwasm.pas dd13b46088 * use WasmCustomSectionName to obtain the debug section names in MaybeWriteDebugSection and MaybeAddDebugSectionToSymbolTable 3 years ago
omfbase.pas c13517634f * patch by Rika: Replace some instances of manual work with endianness with cryptic oneliners, resolves #39719 3 years ago
optbase.pas b5659df425 + CalcUseSum: calculates a sum of all use sets of the current node and its children 5 years ago
optconstprop.pas 444fe092da * propertly check equality with the for-counter when propagating constants, resolves #39915 2 years ago
optcse.pas 5921fa9a62 + store references to global variables in registers if benefical (currrently used for aarch64 only) 3 years ago
optdead.pas b1dff29cbf * removed unused units 8 years ago
optdeadstore.pas 08817f1aed * fixes to deadstore optimization 4 years ago
optdfa.pas 98ec81896e * do not throw messages on potentially uninitialized internal symbols, resolves #39744 3 years ago
options.pas b26703feaa Darwin version comparisons: factored out into object 2 years ago
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 years ago
optloop.pas 7388735b11 * Strength reduction optimization: - Use a temp for complex loop start values to prevent double evaluation. 3 years ago
opttail.pas dd6e6eb26a * disable tail recursion optimisation if there is a copy-back parameter 5 years ago
optutils.pas 92771760b7 Get rid of some global variables. 3 years ago
optvirt.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 4 years ago
owar.pas d0beacc35f * return the correct size for files in ar archive. This is required by the REL 5 years ago
owbase.pas d0beacc35f * return the correct size for files in ar archive. This is required by the REL 5 years ago
owomflib.pas c13517634f * patch by Rika: Replace some instances of manual work with endianness with cryptic oneliners, resolves #39719 3 years ago
parabase.pas abfd975571 TCGParaLocation: remove alignment gap 3 years ago
paramgr.pas 6404478ea4 * cleanup of VER3_0 defines 3 years ago
parser.pas 7974f39522 * implement assignment of procedure and method variables and routines (global, instance and nested) to function references 3 years ago
pass_1.pas 9d95e6159e * fix typo in comment 3 years ago
pass_2.pas 8b7c5666a2 * Renamed fc_block_with_exit to fc_no_direct_exit to expand its usage. 4 years ago
pbase.pas 7974f39522 * implement assignment of procedure and method variables and routines (global, instance and nested) to function references 3 years ago
pcp.pas a4672fbd1c o based on a patch by Rika, resolves #39401: 3 years ago
pdecl.pas e148afd506 Fix cycling with -CR option 3 years ago
pdecobj.pas a401898139 * spelling fixes 3 years ago
pdecsub.pas 6cbbf9c52a * $P/$OpenStrings is supposed to be a local switch, so change that accordingly 2 years ago
pdecvar.pas d1d0afe337 * handle_calling_convention is only needed for a function reference used in a record/class/object when it's an anonymous one 2 years ago
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" 4 years ago
pexpr.pas 13fb30c52e * fix #39902: correctly handle assignment of procvars to properties with a field write accessor 2 years ago
pgentype.pas 2a5023508a + add support for forward declarations of generic classes and interfaces (any implicit pointer type really); fixes #34128 3 years ago
pgenutil.pas 61debb1559 * fix #39869: correctly check whether the recorded token stream still needs to be parsed (the replay depth of the scanner needs to be *larger* than what it was before starting the playback) 3 years ago
pinline.pas e4ee8fa6a2 * patch by Rika to pass some strings by reference, resolves #39338 3 years ago
pkgutil.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 4 years ago
pmodules.pas 403292a131 LLVM backend: address sanitizer support 3 years ago
pp.lpi 867786c953 * update version 5 years ago
pp.pas 78f23a462e * set minimum compiler to compile the compiler to 3.2.0 3 years ago
pparautl.pas e142953c6d * make the hidden high parameter for short strings a byte for 8 bit CPUs 2 years ago
ppc68k.lpi 8192bf1b33 * version update 4 years ago
ppc8086.lpi efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 years ago
ppcaarch64.lpi 1a559f5c60 * move the homogenous float aggregate determination function to a common 6 years ago
ppcarm.lpi 5573bee314 + makefiles use -Sew, so added to the project as well 5 years ago
ppcavr.lpi b9d4240a8d + version update 7 years ago
ppcjvm.lpi 95bed362ba [PATCH 02/83] updating common FPC sources for WASM target 5 years ago
ppcmips.lpi 9ebf2aa984 * project file updates 13 years ago
ppcmips64el.lpi 9710b2cbb4 + some basic stuff for mips64el 5 years ago
ppcmipsel.lpi 9ebf2aa984 * project file updates 13 years ago
ppcppc.lpi 18a45d94a3 * version update 6 years ago
ppcppc64.lpi 9ebf2aa984 * project file updates 13 years ago
ppcppc64le.lpi e60a367f1b + project file for PowerPC64LE 4 years ago
ppcriscv32.lpi 44150f43ac * RISC-V 32 compilation fixed 7 years ago
ppcriscv64.lpi 65a415c13e * fix assembling with official binutils 7 years ago
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 years ago
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 years ago
ppcwasm32.lpi 99074a5578 * .lpi version update 3 years ago
ppcx64.lpi 2f36069dae bugfix 0037785 cvtsi2ss and cvtsi2sd in x86_64 { att} 3 years ago
ppcx64llvm.lpi cd9e18fab4 * made lazarus project names more systematic 7 years ago
ppcxtensa.lpi 27349661e0 + Xtensa: lazarus project 5 years ago
ppcz80.lpi 1263880ef0 - removed the z80_internal_linker build mode from the lazarus project 5 years ago
ppheap.pas eefdf135a5 Always write filename, truncate directory part if needed 9 years ago
ppu.pas 920e1c8d19 * change PPU version as the change regarding $P/$OpenStrings affects the token buffers of generics (which contains the current settings) 2 years ago
procdefutil.pas b11366c95b * when generating the call to the extracted function reference inside the nested routine we need to use the parameters of the nested function and not those of the newly created procdef (fixes some of the test case failures with -O2) 2 years ago
procinfo.pas 9f3dcdb211 + add method to find a procinfo for a nested function by the corresponding procdef 3 years ago
psabiehpi.pas fe57cd3536 * fix LLVM after r48828 4 years ago
pstatmnt.pas a05aa25aad * Risc-V: allow also register aliases in register modification lists after asm blocks, last part to resolve #39738 3 years ago
psub.pas d12bf094ab cs_opt_consts: disable when non-local gotos are active 2 years ago
psystem.pas 3a34fc7be3 llvm: use formaldef rather than undefineddef for llvm_metadata 3 years ago
ptconst.pas 276f5bdef8 * ensure that nothing assembly related is generated for generics when a typed constant (this also includes local variable initializations) are parsed 5 years ago
ptype.pas 45bf47ee05 * compilation with -O3 fixed 3 years ago
raatt.pas 4f9c19d943 * simplifications by Rika (*2 loops => shl/Bsr), resolves #39717 3 years ago
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from 19 years ago
rasm.pas 46fe2d486c * forgotten comment 7 years ago
rautils.pas 8c67a4370b rautils: don't interpret ".L3" as potentially meaning "unitx.identifier" 3 years ago
rescmn.pas b88d12c7b9 + add option -FF to force the use of fpcres as RC compiler 5 years ago
rgbase.pas 4abc498f2f + added the Z80 individual flag bits as subregisters 5 years ago
rgobj.pas a835d8b533 rgobj: reduce compilation time of programs with long movelists 2 years ago
scandir.pas a0b637530c * remove accidently commited writeln 3 years ago
scanner.pas 188cac3bc6 * enable OpenStrings by default in mode Delphi 2 years ago
switches.pas 6cbbf9c52a * $P/$OpenStrings is supposed to be a local switch, so change that accordingly 2 years ago
symbase.pas 8184287ec0 Fix for variables longer than 127 chars 3 years ago
symconst.pas 98ec81896e * do not throw messages on potentially uninitialized internal symbols, resolves #39744 3 years ago
symcreat.pas b0e1867b4c symcreat: support for scanner/parser escape sequences 2 years ago
symdef.pas efbf5eaa01 Fix loading of ObjC protocol type after c8fee69345 2 years ago
symsym.pas 706443c354 dbgllvm: support for record field debug information 3 years ago
symtable.pas b0e1867b4c symcreat: support for scanner/parser escape sequences 2 years ago
symtype.pas 55629aeb19 do not publish enums with jumps 3 years ago
symutil.pas 5acd7a7b83 Rename tsymtable.insert and delete methods to insertsym ands deletesym 3 years ago
syscinfo.pas 568d4de77e * aros64: recent developments hanged the library call ABI, lets try to follow it (aros64 is experimental) 3 years ago
systems.inc 66b471e516 + support different versions of llvm-mc (version 10 seems to be the earliest that works) 3 years ago
systems.pas 3695bb5da5 powerpc-morphos: enable 'section' keyword support, and force the startup code to be in the .text section, to fix linking external objects with unnamed sections on this platform 2 years ago
tgobj.pas f7239e03e7 * make tgobj.pas less verbose in extdebug mode, use separate define DEBUG_FREETEMP for the really 3 years ago
tokens.pas c78e9557f8 * Added support for the old Turbo Pascal INLINE(data/data/...) statement. 4 years ago
triplet.pas b26703feaa Darwin version comparisons: factored out into object 2 years ago
verbose.pas 598da1936e * change ChangeMessageVerbosity from String to AnsiString as long parameters might be passed to it 3 years ago
version.pas d147533c94 Remove "r" from FPC revision. 4 years ago
versioncmp.pas 68253e2a73 Missing file from b26703feaa9 2 years ago
wasmbase.pas efd92fba01 + introduced TWasmCustomDebugSectionType 3 years ago
widestr.pas cb44d7d4e2 * some cleanup 5 years ago
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 16 years ago
wpobase.pas 5df9b994d1 * fix warnings which were caused by last changes to for node generation 8 years ago
wpoinfo.pas b1dff29cbf * removed unused units 8 years ago

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