florian f68558b88c * factored out TX86AsmOptimizer.OptPass2Imul il y a 8 ans
..
aarch64 1b1fe68f92 Fix aarch64 cycle after constant parser simplification change in rev 35229-35230 il y a 8 ans
arm 880d438704 * renamed t<cpuname>procinfo to tcpuprocinfo for all targets, so we can il y a 8 ans
avr 880d438704 * renamed t<cpuname>procinfo to tcpuprocinfo for all targets, so we can il y a 8 ans
generic 3cb9be73bc Moved tcontrollerdatatype out into cpuinfo. il y a 10 ans
html fa0d3d79e0 no message il y a 23 ans
i386 f68558b88c * factored out TX86AsmOptimizer.OptPass2Imul il y a 8 ans
i8086 880d438704 * renamed t<cpuname>procinfo to tcpuprocinfo for all targets, so we can il y a 8 ans
jvm 880d438704 * renamed t<cpuname>procinfo to tcpuprocinfo for all targets, so we can il y a 8 ans
llvm 4b9179636b + support for creating and writing LLVM landingpad instructions il y a 8 ans
m68k 3e4c905813 m68k: make vasm to use ELF objects on amiga, enabled smartlink sections il y a 8 ans
mips 880d438704 * renamed t<cpuname>procinfo to tcpuprocinfo for all targets, so we can il y a 8 ans
msg 466d26b5ef * copyright notice updated to 2017 il y a 8 ans
powerpc 95cb456951 powerpc: set af_smartlink_sections for vasm il y a 8 ans
powerpc64 880d438704 * renamed t<cpuname>procinfo to tcpuprocinfo for all targets, so we can il y a 8 ans
ppcgen 880d438704 * renamed t<cpuname>procinfo to tcpuprocinfo for all targets, so we can il y a 8 ans
sparc 880d438704 * renamed t<cpuname>procinfo to tcpuprocinfo for all targets, so we can il y a 8 ans
systems 49fc799e97 atari: section smartlinking support for atari. needs vlink nightly il y a 8 ans
utils bba23f6561 * warnings fixed il y a 8 ans
x86 f68558b88c * factored out TX86AsmOptimizer.OptPass2Imul il y a 8 ans
x86_64 f68558b88c * factored out TX86AsmOptimizer.OptPass2Imul il y a 8 ans
COPYING.txt e5a1231931 * updated FSF address (mantis #30198, patch by Paul Gevers) il y a 9 ans
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests il y a 19 ans
Makefile e35f83ba94 * support building the LLVM compiler for Darwin/x86_64 and Linux/x86_64 by il y a 8 ans
Makefile.fpc e35f83ba94 * support building the LLVM compiler for Darwin/x86_64 and Linux/x86_64 by il y a 8 ans
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files il y a 16 ans
aasmbase.pas a0efde8167 * automatically generate necessary indirect symbols when a new assembler il y a 9 ans
aasmcnst.pas a0c50336f3 * initialize tguid typed constants by searching for the named fields we need, il y a 8 ans
aasmdata.pas 473cec9d85 * converted tnodeutils.InsertRuntimeInits() to the high level typed const il y a 9 ans
aasmdef.pas 4c9903455e - don't apply const_align() to alignments passed to high level typed il y a 9 ans
aasmsym.pas a25ebbba3e + added volatility information to all memory references il y a 8 ans
aasmtai.pas 69a502db37 instead of stringdup(ppufile.getstring), have a getpshortstring function in entfile, and use it whereever possible. this avoids an extra shortstring copy, compared to the earlier solution il y a 8 ans
aggas.pas f1f18d6f83 aggas: removed a bunch of amiga related hacks which are unnecessary if those systems use an aout GAS writer. made it possible to inject sectionattrs in a generic way il y a 8 ans
aopt.pas 3c2dab9878 * i386 peephole assembler uses largely the common peephole optimizer infrastructure, the resulting code is besides a few improvements the same il y a 9 ans
aoptbase.pas bc73d0914e * TAOptBase.RegInRef compares using SuperRegistersEqual as TAOptBase.RegInOp does for top_reg already il y a 9 ans
aoptda.pas 1f6ec379de * moved field definitions before method/property definitions (see mantis il y a 16 ans
aoptobj.pas b274599a47 * made some assembler optimizer methods class methods il y a 9 ans
aoptutils.pas bd54a11f1c + TX86AsmOptimizer.OptPass1VMOVAP for i386 and x86-64 il y a 9 ans
assemble.pas d2fe24ae20 * fix some more occured->occured il y a 8 ans
blockutl.pas 0ac12f0eaf Extend tstaticvarsym (and by extension tabstractnormalvarsym) with the capability to create it as unregistered if needed. il y a 9 ans
browcol.pas 2370669f86 Avoid infinite recursion on generic classes for IDE browser il y a 11 ans
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because il y a 16 ans
ccharset.pas e379daaf9c compiler, rtl: move cpXXXX.pas files from compiler to RTL\charmaps directory and cleanup them, enable charmaps building for the majority of targets il y a 12 ans
cclasses.pas b3063b7db2 Reset class fields FList and FHashList to nil after Destroy call il y a 9 ans
cfidwarf.pas 23ff1e0681 * fix error in cfidwarf rev 16062 for non-windows systems il y a 15 ans
cfileutl.pas 4d3939ba7e Rectify display of shell command, do it if -vx option is used even without -vu il y a 9 ans
cg64f32.pas 2778bf55c7 * add "doregister" parameter to torddef.create, and don't register temporary il y a 10 ans
cgbase.pas c8202061dc * get rid of addr_load_indirect again by having tcgx86 provide an internal implementation of both make_simple_ref() and a_load_ref_reg() so that make_direct_ref() can call the latter (and the latter the former) without fear of inifinite recursive calls due to the symbol; a_load_ref_reg() is additionally declared as "final" as a_load_ref_reg_internal() needs to be overloaded instead (which is the case for tcg8086) il y a 9 ans
cghlcpu.pas 67b8aceaee * synchronized with privatetrunk till r30095 il y a 10 ans
cgobj.pas a25ebbba3e + added volatility information to all memory references il y a 8 ans
cgutils.pas a25ebbba3e + added volatility information to all memory references il y a 8 ans
cmsgs.pas aba10cd184 compiler: il y a 14 ans
comphook.pas 72e1443081 + don't abuse status.currentsourcepath to pass on PPU names if the source is unavailable, causes side effects with other frontends (like the IDE). Improved solution for Mantis #27588 il y a 10 ans
compiler.pas 7e348a40a3 Use general_e_exception_raised if Compiler generates an uncaught exception il y a 10 ans
compinnr.inc 9c81e90e08 + extension to iso mode: reset/rewrite can take a file name as a second parameter il y a 9 ans
comprsrc.pas 7bc66a5142 + ELF/ppc64le resource support il y a 10 ans
constexp.pas d081d9fdc0 Fix cycle for x86_64-win64 target with -Cr option il y a 9 ans
cpid.pas 091627883f merge r14347 from cpstrnew branch by florian: il y a 14 ans
crefs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables il y a 11 ans
cresstr.pas 4c9903455e - don't apply const_align() to alignments passed to high level typed il y a 9 ans
cstreams.pas 1945bf64b4 Merged revision(s) 32302-32305, 32310 from branches/svenbarth/packages: il y a 9 ans
cutils.pas 315b32918e + Tconstexprint-version of ispowerof2() to correctly deal with constants il y a 9 ans
cwindirs.pp 0bdd15e0da + added cwindirs for the time being to the compiler dir till a release with windirs in the rtl is released il y a 14 ans
dbgbase.pas 3a9f8e88fd * don't write or reference debug information for a unit if it belongs to a/another package il y a 9 ans
dbgdwarf.pas 5bba79afb3 * use create_int_dataptr_unaligned instead of create_pint_unaligned in TDebugInfoDwarf.appendsym_absolute il y a 8 ans
dbgstabs.pas 3a9f8e88fd * don't write or reference debug information for a unit if it belongs to a/another package il y a 9 ans
dbgstabx.pas aa1be3276f - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): il y a 9 ans
defcmp.pas 5fa181b5d9 * second fix for Mantis #31033: also check for df_specialization instead of is_specialization for parameters to correctly handle nested types that aren't really true specializations themselves il y a 8 ans
defutil.pas 657685a8b6 * use sizesinttype instead of ptrsinttype for the index and high parameter of il y a 9 ans
dirparse.pas 2e9c6f35ae - disable -Ooregvar for the LLVM-based x86-64 code generator, as it causes il y a 8 ans
elfbase.pas 29c0266fb9 + Added values for DT_FLAGS and DT_FLAGS_1 dynamic tags. il y a 12 ans
entfile.pas 69a502db37 instead of stringdup(ppufile.getstring), have a getpshortstring function in entfile, and use it whereever possible. this avoids an extra shortstring copy, compared to the earlier solution il y a 8 ans
export.pas adbef4fc84 New export option that enforces the use of the provided export name instead of using the name of the provided symbol. This is necessary to correctly handle overloaded functions, especially if one of them is an internproc one. il y a 9 ans
expunix.pas 04f7e47df7 * create stubs for library exports on Unix at at the node tree level instead il y a 8 ans
finput.pas 3e2248f41a + implemented exporting of functions for the win16 target il y a 10 ans
fmodule.pas db40e1575d + support for handling the tcalo_no_dead_strip flag when targeting LLVM: il y a 8 ans
fpccrc.pas 793fd8fc09 * Add -Xg to help pages il y a 17 ans
fpcdefs.inc 4ee4099fca m68k: introduce a register calling convention, inspired by VBCC. volatile registers are used to pass arguments il y a 8 ans
fpcp.pas e3d9dbbeef * Removed unused vars. il y a 9 ans
fpkg.pas e8ede4c3e2 Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: il y a 9 ans
fppu.pas 69a502db37 instead of stringdup(ppufile.getstring), have a getpshortstring function in entfile, and use it whereever possible. this avoids an extra shortstring copy, compared to the earlier solution il y a 8 ans
gendef.pas aee5380ae0 * merged trunk up to r20882 il y a 13 ans
globals.pas 464ecab542 huge syscall support refactor for Amiga-likes. removed large chunks of ancient duplicated code, and in general tried to make the entire thing more maintainable and cleaner. also added support for AROS EAXBase syscall convention il y a 9 ans
globstat.pas 88af293155 Fix for Mantis #22160 il y a 13 ans
globtype.pas 38837ee973 m68k: make the new register calling convention the default il y a 8 ans
hlcg2ll.pas a25ebbba3e + added volatility information to all memory references il y a 8 ans
hlcgobj.pas 1e374df5b8 * correctly calculate the bit mask in thlcgobj.a_load_regconst_subsetreg_intern, resolves #31042 il y a 8 ans
htypechk.pas 18077d9530 * when determining the best candidates for overloaded method calls, apply il y a 8 ans
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. il y a 11 ans
import.pas bf1c390027 * refactor import library generation il y a 19 ans
ldscript.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). il y a 13 ans
link.pas 7a8079cfb4 * removed DLLsource global variable and replaced its uses with il y a 9 ans
macho.pas e243cc77ea macho.pas: il y a 9 ans
machoutils.pas 111d05c68f o patch by Alexander Shishkin, resolves #20409 il y a 14 ans
msgidx.inc 8c253703f0 * regenerate after r35181 il y a 8 ans
msgtxt.inc 466d26b5ef * copyright notice updated to 2017 il y a 8 ans
nadd.pas 331bb95c5e * simplify logical operations with constant booleans if the expresions involve no side effects il y a 8 ans
nbas.pas 82e6e1eb34 + tempinfo flag ti_no_final_regsync which prevents that the final reg. sync. is emitted il y a 8 ans
ncal.pas 7a57161b6d * in x:=f(..), we only checked for aliasing between x and any parameters of il y a 8 ans
ncgadd.pas 6d6a45c034 * add/sub nodes with nf_internal set should not do overflow checking, resolves #30889 il y a 8 ans
ncgbas.pas a25ebbba3e + added volatility information to all memory references il y a 8 ans
ncgcal.pas f5f895e2a3 syscalls: unify call reference creation across 4 different CPU archs. less copypasted code, brings x86_64 AROS support up to speed il y a 8 ans
ncgcnv.pas a25ebbba3e + added volatility information to all memory references il y a 8 ans
ncgcon.pas 1afab1ab69 * moved the floating point constant range checking code from il y a 8 ans
ncgflw.pas 5aa32a1bbe * align more jump targets il y a 8 ans
ncghlmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false il y a 10 ans
ncginl.pas a25ebbba3e + added volatility information to all memory references il y a 8 ans
ncgld.pas 1c820e9c8e * similar change as in r34976 for the generic code: don't assume that if il y a 8 ans
ncgmat.pas 8ff5371a6c + support mmregisters in the generic unaryminus code for floats il y a 10 ans
ncgmem.pas a25ebbba3e + added volatility information to all memory references il y a 8 ans
ncgnstfl.pas 48ef33a8b3 * fixed interprocedural gotos for llvm il y a 8 ans
ncgnstld.pas 96698994f3 * ensure that we don't firstpass a tcgnestloadnode twice, as it il y a 9 ans
ncgnstmm.pas 39adb3dfae * fixed loading the nested framepointer when calling another nested il y a 14 ans
ncgobjc.pas a25ebbba3e + added volatility information to all memory references il y a 8 ans
ncgopt.pas a25ebbba3e + added volatility information to all memory references il y a 8 ans
ncgrtti.pas 417f1cd49d + initial implementation of the RTTI for parameter locations (not *yet* used by anything) il y a 8 ans
ncgset.pas b156744b62 * left has been forced into a register of size uopdef a few statements il y a 9 ans
ncgutil.pas a1c0d1a1ff * moved exception handling helpers from ncgutil to ncgflw as they are only il y a 8 ans
ncgvmt.pas d36fe53d85 * factored out the code to create an complete alias for a procdef to il y a 8 ans
ncnv.pas a2017b2327 * don't keep tc_equal type conversions for LLVM in case the resultdef doesn't il y a 8 ans
ncon.pas 1afab1ab69 * moved the floating point constant range checking code from il y a 8 ans
nflw.pas 8471e02e40 * call simplify after typechecking for nodes il y a 8 ans
ngenutil.pas 472b5228fe * changed ncgutil.has_alias_name(pd,s) to a method of tprocdef il y a 8 ans
ngtcon.pas 7af2663ed1 * fixed writing the VMT field of TP-style objects for typed constants if it il y a 8 ans
ninl.pas 6d6a45c034 * add/sub nodes with nf_internal set should not do overflow checking, resolves #30889 il y a 8 ans
nld.pas a27b07b342 + more restrictions on pred/succ to dec/inc optimization il y a 8 ans
nmat.pas 1e5883b6d1 Avoid overflow error for single MinValue in rtl syshelph.inc for x86_64 CPU il y a 9 ans
nmem.pas 0e7a9ad375 * partial fix for Mantis #30831 (partial, because no exception has been encountered yet): when checking whether the left node of a vmtaddrnode is a generic, don't rely on df_generic, but instead use is_generic which checks for a true generic (the other will also be true if it's merely a structured type declared (or specialized) inside another generic) il y a 8 ans
nobj.pas f62be8f6e6 * use sizesinttype instead of ptrsinttype to refer to vInstanceSize and il y a 9 ans
nobjc.pas 0dcedf3799 * do not crash but give a fatal error when using Objective-Pascal code il y a 15 ans
node.pas 8fe986ba11 + write also node complexity when dumping a node tree il y a 9 ans
nopt.pas 1a560e9875 * when concatenating ansistrings, do not map CP_NONE (rawbytestring) to il y a 12 ans
nset.pas 5df9b994d1 * fix warnings which were caused by last changes to for node generation il y a 8 ans
nutils.pas 9c81e90e08 + extension to iso mode: reset/rewrite can take a file name as a second parameter il y a 9 ans
objcasm.pas 51209eac9c * fixed bootstrap for Darwin/ppc with FPC 3.0 (workaround for il y a 9 ans
objcdef.pas bd09b88a5b + support for http://en.wikipedia.org/wiki/Blocks_(C_language_extension) il y a 11 ans
objcgutl.pas 88ba9269ca * use .create_int_dataptr instead of .create_pint in the remaining two places where .create_pint is used il y a 8 ans
objcutil.pas 3b71841a84 Merged revision(s) 28691, 31914 from branches/svenbarth/packages: il y a 9 ans
ogbase.pas dd9ea88b79 * TObjSection.MemPos reverted back to qword after r33692, since it breaks the il y a 9 ans
ogcoff.pas 78e945d471 - removed accidently added debug statement il y a 8 ans
ogelf.pas 5ac99f62e9 + AT_METADATA symbol type for data that is unrelated to the program il y a 9 ans
oglx.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using il y a 10 ans
ogmacho.pas 5ac99f62e9 + AT_METADATA symbol type for data that is unrelated to the program il y a 9 ans
ogmap.pas ba1c494cd6 * the code for displaying a symbol address in the linker map file moved to a il y a 10 ans
ognlm.pas 991e1f49bd * store a pointer to the used tasminfo record in every assembler writer, so il y a 10 ans
ogomf.pas c2305809dc + added an i8086-embedded target support to the compiler (RTL and makefile il y a 9 ans
omfbase.pas 7ee133162c * use OMF section names, starting with dot for the dwarf debug info for il y a 9 ans
optbase.pas 99eadb91b3 * run CheckAndWarn to get proper locations for warnings about uninitialized variables il y a 11 ans
optconstprop.pas 6b84a1e1b8 + do constant propagation into arguments of inline nodes if possible il y a 8 ans
optcse.pas 179c1ab328 * changed ttemp*node.tempinfo^.flags to a private field, and added setters il y a 9 ans
optdead.pas 1e227f78fe * factored out the check for whether we have to generate dotted function il y a 10 ans
optdeadstore.pas 27ac68cdc7 * be more careful when removing dead stores il y a 11 ans
optdfa.pas 45807056c5 * factored out SymbolCandidateForWarningOrHint il y a 9 ans
options.pas 42cde51805 * ignore warnings caused by boolean expression simplification il y a 8 ans
optloop.pas 4731ebeb50 * reset initcode after adding it to the statements list, so further iterations of loop optimization create a new one il y a 9 ans
opttail.pas b57c95043f + support overriding tdef/tsym methods with target-specific functionality: il y a 11 ans
optutils.pas 730a3c2666 + PrintNodeDFA writes also the defsum il y a 9 ans
optvirt.pas 5fa09fa2f4 * changed tcallnode.fforcedprocname from shortstring into tsymstr, il y a 11 ans
owar.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using il y a 10 ans
owbase.pas 368ba47d6e * support writing more than 1024 zeros in tobjectwriter.writezeros il y a 10 ans
owomflib.pas 4edbd27774 * support writing omf libraries with size greater than 251 blocks il y a 9 ans
parabase.pas 417f1cd49d + initial implementation of the RTTI for parameter locations (not *yet* used by anything) il y a 8 ans
paramgr.pas 417f1cd49d + initial implementation of the RTTI for parameter locations (not *yet* used by anything) il y a 8 ans
parser.pas 02d145233d add m68k atari to the list of platforms which support syscalls il y a 8 ans
pass_1.pas 9fdd64e94c * indention and new line fixes il y a 11 ans
pass_2.pas b14c037533 * record in the flowcontrol flags whether we are currently in a block whose il y a 8 ans
pbase.pas 5a344ee263 Rework the way how "specialize" is handled. Instead of initializing the specialization of a full type declaration (including unit name and parent types) it is now considered part of the specialized type itself. This means that for example the following code: il y a 10 ans
pcp.pas 7d8d0340b9 Merged revision(s) 31988, 31991-31993, 32136, 32308-32309, 32312, 32318 from branches/svenbarth/packages: il y a 9 ans
pdecl.pas 76f55f2030 * set the realname of the reused generic dummy symbol to the parsed name as the casing might differ from the generic that triggered the creation of said dummy symbol il y a 9 ans
pdecobj.pas c2fec2e819 * if the objecttype of the forward declaration mismatches use the objecttype previously parsed; fixes access violation of webtbf/tw11970.pp il y a 9 ans
pdecsub.pas d133f210ca * correct comment, cause forward declarations for generic functions *do* indeed work (cause they use the same mechanism as forward definitions in the interface section) il y a 8 ans
pdecvar.pas 464ecab542 huge syscall support refactor for Amiga-likes. removed large chunks of ancient duplicated code, and in general tried to make the entire thing more maintainable and cleaner. also added support for AROS EAXBase syscall convention il y a 9 ans
pexports.pas 3b71841a84 Merged revision(s) 28691, 31914 from branches/svenbarth/packages: il y a 9 ans
pexpr.pas 22e579cc74 * fix for Mantis #31107: disallow calling of ordinary record methods using the record's type. il y a 8 ans
pgentype.pas c81eda7a42 Fully enable generic functions, procedures and methods by allowing inline specializations in procedure bodies as well. il y a 9 ans
pgenutil.pas d34acf3bc7 * fix for Mantis #31120: check current_genericdef only if the current_procinfo isn't used il y a 8 ans
pinline.pas a2c9c75e97 Convert Insert() and Delete() to intrinsics in preparation for dynamic array support for these two procedures. il y a 9 ans
pkgutil.pas 472b5228fe * changed ncgutil.has_alias_name(pd,s) to a method of tprocdef il y a 8 ans
pmodules.pas 42cde51805 * ignore warnings caused by boolean expression simplification il y a 8 ans
pp.lpi b57c95043f + support overriding tdef/tsym methods with target-specific functionality: il y a 11 ans
pp.pas 7f3ac8bf51 * increase the maximum stack trace depth, when the compiler is compiled with -dEXTDEBUG il y a 9 ans
pparautl.pas 657685a8b6 * use sizesinttype instead of ptrsinttype for the index and high parameter of il y a 9 ans
ppc68k.lpi 9ebf2aa984 * project file updates il y a 13 ans
ppc8086.lpi c2305809dc + added an i8086-embedded target support to the compiler (RTL and makefile il y a 9 ans
ppcaarch64.lpi 6e56f5c191 * fixed exe output path il y a 9 ans
ppcarm.lpi 9ebf2aa984 * project file updates il y a 13 ans
ppcavr.lpi 9ebf2aa984 * project file updates il y a 13 ans
ppcjvm.lpi ac819b0b97 * jvm lazarus project file properly named il y a 12 ans
ppcmips.lpi 9ebf2aa984 * project file updates il y a 13 ans
ppcmipsel.lpi 9ebf2aa984 * project file updates il y a 13 ans
ppcppc.lpi 9ebf2aa984 * project file updates il y a 13 ans
ppcppc64.lpi 9ebf2aa984 * project file updates il y a 13 ans
ppcsparc.lpi 9ebf2aa984 * project file updates il y a 13 ans
ppheap.pas eefdf135a5 Always write filename, truncate directory part if needed il y a 9 ans
ppu.pas 8c4e5e0610 bump PPU version due to the latest syscall changes il y a 8 ans
ppx86_64.lpi e96dc4204e * version update il y a 13 ans
procinfo.pas a25ebbba3e + added volatility information to all memory references il y a 8 ans
pstatmnt.pas 35f8d5427f Revert r31262. Not doing type checking on generics leads to strange warnings (e.g. because variables are not considered as written). I better deal with the compile time errors one at a time than the warnings. il y a 9 ans
psub.pas 109dff8b56 * allow nested procedures and functions in generic routines (and get rid of an untranslated error message :P ) il y a 8 ans
psystem.pas 657685a8b6 * use sizesinttype instead of ptrsinttype for the index and high parameter of il y a 9 ans
ptconst.pas 464ecab542 huge syscall support refactor for Amiga-likes. removed large chunks of ancient duplicated code, and in general tried to make the entire thing more maintainable and cleaner. also added support for AROS EAXBase syscall convention il y a 9 ans
ptype.pas f8c23c84b6 * have pointerdefs and classrefdefs "inherit" the df_generic and df_specialization flags from the def they point to and set the genericdef accordingly il y a 8 ans
raatt.pas aa1be3276f - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): il y a 9 ans
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from il y a 19 ans
rasm.pas 5c48804240 * Moved local label infrastructure into tasmreader, reduces number of global vars. Functionality is not changed. il y a 11 ans
rautils.pas 5237a4d5e2 m68k: support register pair operands in assembler reader and writer, as used by some instructions (mainly DIVS/DIVU and friends) so we don't have to hack them as three operand instructions il y a 8 ans
rescmn.pas 09e742f243 * add a -dfpc define to the resource compiler commandlines, which allows to make FPC specific exceptions in resource scripts. Mantis #24044 il y a 12 ans
rgbase.pas e327b4581c Use TRegNameTable instead of array[tregisterindex] of string[10] il y a 13 ans
rgobj.pas 4242949453 * write more information into the interference graph il y a 8 ans
scandir.pas 95274c1d7b atari: enable apptype directive, and change exe extension when compiling a GUI app il y a 8 ans
scanner.pas 8c701eaa7b * reset c in dir_include if it will be re-read il y a 8 ans
script.pas d2fe24ae20 * fix some more occured->occured il y a 8 ans
switches.pas 86b9381673 Add new Delphi compatible switch {$G+/-}, {$IMPORTEDDATA ON/OFF} which handles generation of indirect references for cross unit variable accesses if needed for the target. il y a 9 ans
symbase.pas a5bef2a2b9 * prevent new definitions being added to a global unit symtable after compilation of the implementation part started il y a 10 ans
symconst.pas a9d14fe30b * extend TOrdType by entries for 64-bit values il y a 8 ans
symcreat.pas d36fe53d85 * factored out the code to create an complete alias for a procdef to il y a 8 ans
symdef.pas 69a502db37 instead of stringdup(ppufile.getstring), have a getpshortstring function in entfile, and use it whereever possible. this avoids an extra shortstring copy, compared to the earlier solution il y a 8 ans
symsym.pas 69a502db37 instead of stringdup(ppufile.getstring), have a getpshortstring function in entfile, and use it whereever possible. this avoids an extra shortstring copy, compared to the earlier solution il y a 8 ans
symtable.pas d9ea6aae4d * fix for Mantis #30761: always return the symbol found in the helper instead of doing this dependant on the presence of the overload attribute; for this the collection of all suitable overloads is done in tcallcandidates instead. il y a 8 ans
symtype.pas ee466b9a28 * extend tdef.fullownerhierarchyname() with a parameter that skips the inclusion of a procdef's parameter declaration using the new pno_noparams option il y a 8 ans
symutil.pas 94d7a7274b * compare floating point default parameter values bytewise instead of as il y a 9 ans
syscinfo.pas c7c37f66ed * refactored syscall types for unified naming,first bits of ARM AROS syscall support il y a 8 ans
systems.inc 4e51dc2298 m68k: enable named sections for vasm generated objects. have a separate as_m68k_as_aout for a.out objects which doesn't have named sections. amiga and atari gas defaults to a.out, so have it default on these systems. finally enable section smartlinking for amiga and atari, which will be used with vasm assembler il y a 8 ans
systems.pas ab5b9982ee aros: enabled internal sysinit for i386-aros il y a 8 ans
tgobj.pas a25ebbba3e + added volatility information to all memory references il y a 8 ans
tokens.pas c7c37f66ed * refactored syscall types for unified naming,first bits of ARM AROS syscall support il y a 8 ans
verbose.pas 72e1443081 + don't abuse status.currentsourcepath to pass on PPU names if the source is unavailable, causes side effects with other frontends (like the IDE). Improved solution for Mantis #27588 il y a 10 ans
version.pas 3f9f498e0d - removed leftover alpha, ia64 and vis code il y a 10 ans
widestr.pas c8839d487b * fixed accidentally committed (harmless) typo in r32202 il y a 9 ans
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 il y a 16 ans
wpobase.pas 5df9b994d1 * fix warnings which were caused by last changes to for node generation il y a 8 ans
wpoinfo.pas 02e56f410d Merged revision(s) 28689 from branches/svenbarth/packages: il y a 9 ans

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