svenbarth d46c015eb1 * when inlining a function we need to import symbols that were loaded from another unit (or the same unit if the inlined function is from another unit and uses another function in the same unit) 9 年之前
..
aarch64 f891788a86 * simplification of and fix for AArch64 cpupara.is_hfa_internal() (patch by 9 年之前
arm aa1be3276f - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 9 年之前
avr aa1be3276f - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 9 年之前
generic 3cb9be73bc Moved tcontrollerdatatype out into cpuinfo. 10 年之前
html fa0d3d79e0 no message 23 年之前
i386 aa1be3276f - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 9 年之前
i8086 aa1be3276f - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 9 年之前
jvm 179c1ab328 * changed ttemp*node.tempinfo^.flags to a private field, and added setters 9 年之前
llvm 18a59dddb9 * use ctai_typedconstbuilder.get_dynstring_rec() to get the recorddef representing 9 年之前
m68k aa1be3276f - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 9 年之前
mips aa1be3276f - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 9 年之前
msg e6871efbf6 Add aarch64 to -P<x> CPU list 9 年之前
powerpc aa1be3276f - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 9 年之前
powerpc64 aa1be3276f - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 9 年之前
ppcgen be9e097841 Use new class TAsmDataDef as ancestor for TPPCASmData 9 年之前
sparc aa1be3276f - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 9 年之前
systems f274e316fe + search /usr/lib/powerpc-linux-gnu for powerpc startup files 9 年之前
utils c2662bd96a * mark defs created with create_global_internal() with df_internal so that they can be easily identified 9 年之前
x86 aa1be3276f - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 9 年之前
x86_64 aa1be3276f - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 9 年之前
COPYING.txt 1e167a5fd3 * updated address of FSF (mantis #24646, patch by Alexey Svistunov) 12 年之前
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests 19 年之前
Makefile 5e120982e5 Regenerated after: Fix fullcycle by setting EXCLUDE_80BIT_TARGETS to 1 if 80bit-real is not supported by current source CPU 9 年之前
Makefile.fpc 717153cfb0 Fix fullcycle by setting EXCLUDE_80BIT_TARGETS to 1 if 80bit-real is not supported by current source CPU 9 年之前
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 年之前
aasmbase.pas a0efde8167 * automatically generate necessary indirect symbols when a new assembler 9 年之前
aasmcnst.pas 4a42d67b72 + ttai_typedconstbuilder.get_dynstring_rec() class method to get a recorddef 9 年之前
aasmdata.pas aa1be3276f - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 9 年之前
aasmdef.pas 628d7dcb05 Avoid resetting of casmdata from TPPCAsmData back to TAsmDataDef 9 年之前
aasmsym.pas a23fa2e81e * moved (unfinished) routines related to writing taicpu's to ppu files 18 年之前
aasmtai.pas 1cb8c0d00c * specify the def of assembler level symbols defined via 9 年之前
aggas.pas 5ac99f62e9 + AT_METADATA symbol type for data that is unrelated to the program 9 年之前
aopt.pas 3c2dab9878 * i386 peephole assembler uses largely the common peephole optimizer infrastructure, the resulting code is besides a few improvements the same 9 年之前
aoptbase.pas b274599a47 * made some assembler optimizer methods class methods 9 年之前
aoptcs.pas 2f5ce095ce * RefsHaveIndexReg -> cpurefshaveindexreg 13 年之前
aoptda.pas 1f6ec379de * moved field definitions before method/property definitions (see mantis 16 年之前
aoptobj.pas b274599a47 * made some assembler optimizer methods class methods 9 年之前
aoptutils.pas bd54a11f1c + TX86AsmOptimizer.OptPass1VMOVAP for i386 and x86-64 9 年之前
assemble.pas 5576caada6 * handle the asd_cpu asd_cpu directive and keep track of the currently selected 9 年之前
blockutl.pas 0ac12f0eaf Extend tstaticvarsym (and by extension tabstractnormalvarsym) with the capability to create it as unregistered if needed. 9 年之前
browcol.pas 2370669f86 Avoid infinite recursion on generic classes for IDE browser 11 年之前
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 16 年之前
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 12 年之前
cclasses.pas b3063b7db2 Reset class fields FList and FHashList to nil after Destroy call 9 年之前
cfidwarf.pas 23ff1e0681 * fix error in cfidwarf rev 16062 for non-windows systems 15 年之前
cfileutl.pas 8f645fdc83 * removed hack to disable dircache for DragonFly BSD now that its dirent 9 年之前
cg64f32.pas 2778bf55c7 * add "doregister" parameter to torddef.create, and don't register temporary 9 年之前
cgbase.pas 0fdc62e0f7 + initialize DS with the current unit's data segment in the function entry code 10 年之前
cghlcpu.pas 67b8aceaee * synchronized with privatetrunk till r30095 10 年之前
cgobj.pas aa1be3276f - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 9 年之前
cgutils.pas 5595651816 * define avr => cpu8bitalu 10 年之前
cmsgs.pas aba10cd184 compiler: 13 年之前
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 10 年之前
compiler.pas 7e348a40a3 Use general_e_exception_raised if Compiler generates an uncaught exception 10 年之前
compinnr.inc a2c9c75e97 Convert Insert() and Delete() to intrinsics in preparation for dynamic array support for these two procedures. 9 年之前
comprsrc.pas 7bc66a5142 + ELF/ppc64le resource support 10 年之前
constexp.pas d081d9fdc0 Fix cycle for x86_64-win64 target with -Cr option 9 年之前
cpid.pas 091627883f merge r14347 from cpstrnew branch by florian: 14 年之前
crefs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 年之前
cresstr.pas 90a1099c5e * generate indirect symbols for resource strings as well as the start and end symbols 9 年之前
cstreams.pas 1945bf64b4 Merged revision(s) 32302-32305, 32310 from branches/svenbarth/packages: 9 年之前
cutils.pas 315b32918e + Tconstexprint-version of ispowerof2() to correctly deal with constants 9 年之前
cwindirs.pp 0bdd15e0da + added cwindirs for the time being to the compiler dir till a release with windirs in the rtl is released 14 年之前
dbgbase.pas 145e9c1aae * don't generate debug info for class fields in generic types 11 年之前
dbgdwarf.pas aa1be3276f - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 9 年之前
dbgstabs.pas 1cb8c0d00c * specify the def of assembler level symbols defined via 9 年之前
dbgstabx.pas aa1be3276f - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 9 年之前
defcmp.pas a4d2f71d3d * better estimation of compatibility of array constructors with open arrays, resolves issue #29244 9 年之前
defutil.pas 33b44443b8 + get_unsigned_inttype(def) to get an unsigned integer type of the same 9 年之前
dirparse.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 年之前
elfbase.pas 29c0266fb9 + Added values for DT_FLAGS and DT_FLAGS_1 dynamic tags. 12 年之前
entfile.pas 7d8d0340b9 Merged revision(s) 31988, 31991-31993, 32136, 32308-32309, 32312, 32318 from branches/svenbarth/packages: 9 年之前
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. 9 年之前
expunix.pas c7ea921066 * renamed thlcgobj.g_external_wrapper() into a_jmp_external_name(), and 9 年之前
finput.pas 3e2248f41a + implemented exporting of functions for the win16 target 10 年之前
fmodule.pas 5bb121e91c Add a mechanism to keep track of assembler symbols that either publicly provided by a unit or used by a unit and that are not really baked by a Pascal symbol (e.g. public function aliases, RTTI & VMT symbol). 9 年之前
fpccrc.pas 793fd8fc09 * Add -Xg to help pages 17 年之前
fpcdefs.inc 046b148f5f * i386 and i8086 have an index register, so define cpurefshaveindexreg 9 年之前
fpcp.pas 78f42bae3f * less string literals and more translateable strings instead 9 年之前
fpkg.pas e8ede4c3e2 Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: 9 年之前
fppu.pas ea4350d86a Avoid memory leak on tppumodule.unitimportsymsderefs 9 年之前
gendef.pas aee5380ae0 * merged trunk up to r20882 13 年之前
globals.pas 8d1467157c Fix compiler compilation with -dHEAPTRC. 9 年之前
globstat.pas 88af293155 Fix for Mantis #22160 13 年之前
globtype.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. 9 年之前
hlcg2ll.pas 56fea8d047 * have regvars in address registers for defs which are address types. improves code with reference bases in regvars on m68k. and also reduces data register pressure. 9 年之前
hlcgobj.pas 179c1ab328 * changed ttemp*node.tempinfo^.flags to a private field, and added setters 9 年之前
htypechk.pas 179c1ab328 * changed ttemp*node.tempinfo^.flags to a private field, and added setters 9 年之前
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 年之前
import.pas bf1c390027 * refactor import library generation 19 年之前
ldscript.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 年之前
link.pas 7a8079cfb4 * removed DLLsource global variable and replaced its uses with 9 年之前
macho.pas e243cc77ea macho.pas: 9 年之前
machoutils.pas 111d05c68f o patch by Alexander Shishkin, resolves #20409 14 年之前
msgidx.inc 10454d4fec Regenerated msg files after: Add aarch64 to -P<x> CPU list 9 年之前
msgtxt.inc 10454d4fec Regenerated msg files after: Add aarch64 to -P<x> CPU list 9 年之前
nadd.pas ec5dea1092 * don't perform the "/ const" to "* (1/const)" transformation for comp-typed 9 年之前
nbas.pas 179c1ab328 * changed ttemp*node.tempinfo^.flags to a private field, and added setters 9 年之前
ncal.pas d46c015eb1 * when inlining a function we need to import symbols that were loaded from another unit (or the same unit if the inlined function is from another unit and uses another function in the same unit) 9 年之前
ncgadd.pas da696057ab * converted register_maybe_adjust_setbase() to the high level code generator 9 年之前
ncgbas.pas 179c1ab328 * changed ttemp*node.tempinfo^.flags to a private field, and added setters 9 年之前
ncgcal.pas 1cb8c0d00c * specify the def of assembler level symbols defined via 9 年之前
ncgcnv.pas a2bf4efce2 * use indirect imports for FPC_EMPTYCHAR if necessary 9 年之前
ncgcon.pas 974c2363c0 - removed tdataconstnode, as it is no longer used and is not type safe. 9 年之前
ncgflw.pas 70fbe50bac * reference the extern assembler symbol of the VMT when catching an exception if it's from another unit 9 年之前
ncghlmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 年之前
ncginl.pas de465e056b * set the alignment resulting from an aligned() call to the actual natural 9 年之前
ncgld.pas 179c1ab328 * changed ttemp*node.tempinfo^.flags to a private field, and added setters 9 年之前
ncgmat.pas 8ff5371a6c + support mmregisters in the generic unaryminus code for floats 10 年之前
ncgmem.pas 54874cccd6 * reference the VMT's assembler symbol if it's from another unit 9 年之前
ncgnstld.pas 96698994f3 * ensure that we don't firstpass a tcgnestloadnode twice, as it 9 年之前
ncgnstmm.pas 39adb3dfae * fixed loading the nested framepointer when calling another nested 14 年之前
ncgobjc.pas 4cf5e36ce7 compiler: 14 年之前
ncgopt.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 年之前
ncgrtti.pas f50671fe44 * reference the RTTI assembler symbols if they're queried from a different unit than the own they're declared in 9 年之前
ncgset.pas b156744b62 * left has been forced into a register of size uopdef a few statements 9 年之前
ncgutil.pas 179c1ab328 * changed ttemp*node.tempinfo^.flags to a private field, and added setters 9 年之前
ncgvmt.pas 37c32f4b61 * generate indirect symbols for interface IID and IIDSTR (fixes cycling; I wonder why that worked on Windows without problems :/ ) 9 年之前
ncnv.pas 661be0baad * replaced ctemprefnode.create_offset() usage in variant array indexing 9 年之前
ncon.pas 974c2363c0 - removed tdataconstnode, as it is no longer used and is not type safe. 9 年之前
nflw.pas 051317e82e * load the function result from the parentfpstruct to its original location 9 年之前
ngenutil.pas 18d728eb72 * ensure that local variables and parameters moved to a parentfpstruct aren't 9 年之前
ngtcon.pas 1cb8c0d00c * specify the def of assembler level symbols defined via 9 年之前
ninl.pas 17bb29ddc3 Check for tf_winlikewidestring in the target's flags instead of relying on the target being a Windows system when determining whether the system as the WideString type that's separate from UnicodeString 9 年之前
nld.pas 18580d3069 * when assigning a value to a temp marked as ti_const, do not immediately 9 年之前
nmat.pas 1e5883b6d1 Avoid overflow error for single MinValue in rtl syshelph.inc for x86_64 CPU 9 年之前
nmem.pas 18639304e1 * convert the index for open arrays to ptr(u/s)inttype instead of to 9 年之前
nobj.pas 61551cbb0f * move properties and functions of TVMT to the end of the record, so that one only needs to adjust the total entry count TVMTBuilder.generate_vmt_def() 9 年之前
nobjc.pas 0dcedf3799 * do not crash but give a fatal error when using Objective-Pascal code 15 年之前
node.pas 8fe986ba11 + write also node complexity when dumping a node tree 9 年之前
nopt.pas 1a560e9875 * when concatenating ansistrings, do not map CP_NONE (rawbytestring) to 12 年之前
nset.pas 3669419bb3 * fixed tcasenode.simplify() in case we have to pass via a "less" branch of 9 年之前
nstate.pas 790a4fe2d3 * log and id tags removed 20 年之前
nutils.pas 179c1ab328 * changed ttemp*node.tempinfo^.flags to a private field, and added setters 9 年之前
objcasm.pas 51209eac9c * fixed bootstrap for Darwin/ppc with FPC 3.0 (workaround for 9 年之前
objcdef.pas bd09b88a5b + support for http://en.wikipedia.org/wiki/Blocks_(C_language_extension) 11 年之前
objcgutl.pas aa1be3276f - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 9 年之前
objcutil.pas 3b71841a84 Merged revision(s) 28691, 31914 from branches/svenbarth/packages: 9 年之前
ogbase.pas dd9ea88b79 * TObjSection.MemPos reverted back to qword after r33692, since it breaks the 9 年之前
ogcoff.pas 90b284e169 + generate .debug_aranges sections for dwarf debug info: enables faster address to debug info translation 9 年之前
ogelf.pas 5ac99f62e9 + AT_METADATA symbol type for data that is unrelated to the program 9 年之前
oglx.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 年之前
ogmacho.pas 5ac99f62e9 + AT_METADATA symbol type for data that is unrelated to the program 9 年之前
ogmap.pas ba1c494cd6 * the code for displaying a symbol address in the linker map file moved to a 10 年之前
ognlm.pas 991e1f49bd * store a pointer to the used tasminfo record in every assembler writer, so 10 年之前
ogomf.pas c2305809dc + added an i8086-embedded target support to the compiler (RTL and makefile 9 年之前
omfbase.pas 90b284e169 + generate .debug_aranges sections for dwarf debug info: enables faster address to debug info translation 9 年之前
optbase.pas 99eadb91b3 * run CheckAndWarn to get proper locations for warnings about uninitialized variables 11 年之前
optconstprop.pas f393c3ff37 * propagate constants into the header of a for loop 11 年之前
optcse.pas 179c1ab328 * changed ttemp*node.tempinfo^.flags to a private field, and added setters 9 年之前
optdead.pas 1e227f78fe * factored out the check for whether we have to generate dotted function 10 年之前
optdeadstore.pas 27ac68cdc7 * be more careful when removing dead stores 11 年之前
optdfa.pas 45807056c5 * factored out SymbolCandidateForWarningOrHint 9 年之前
options.pas 13076a3580 Use NO prefix to disable a feature (-Sfnoheap) instead of '-' prefix 9 年之前
optloop.pas 4731ebeb50 * reset initcode after adding it to the statements list, so further iterations of loop optimization create a new one 9 年之前
opttail.pas b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 年之前
optutils.pas 730a3c2666 + PrintNodeDFA writes also the defsum 9 年之前
optvirt.pas 5fa09fa2f4 * changed tcallnode.fforcedprocname from shortstring into tsymstr, 11 年之前
owar.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 年之前
owbase.pas 368ba47d6e * support writing more than 1024 zeros in tobjectwriter.writezeros 10 年之前
owomflib.pas 4edbd27774 * support writing omf libraries with size greater than 251 blocks 9 年之前
parabase.pas 7ebbb744e9 * also specify sret attribute at the caller side 9 年之前
paramgr.pas 99361994b7 * only copy the shiftval field from the original para location when creating 9 年之前
parser.pas 7e348a40a3 Use general_e_exception_raised if Compiler generates an uncaught exception 10 年之前
pass_1.pas 9fdd64e94c * indention and new line fixes 11 年之前
pass_2.pas 1181eb0ddb * fixed compilation of the compiler with -dEXTDEBUG after r31588 10 年之前
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: 10 年之前
pcp.pas 7d8d0340b9 Merged revision(s) 31988, 31991-31993, 32136, 32308-32309, 32312, 32318 from branches/svenbarth/packages: 9 年之前
pdecl.pas 56ae2d34b2 Ensure that (Bit)SizeOf(GenericParameter) returns a sensible value in case of constants (which are evaluated at compile time unlike if occuring in code) 9 年之前
pdecobj.pas d3660fec31 Implement support for parsing "generic [class] procedure" and "generic [class] function" in non-Delphi modes. Since "generic" is a prefix it is quite ugly to implement, but from a Pascal language point of view it fits better than "procedure generic xyz". 9 年之前
pdecsub.pas 8b853571c6 * don't generate a warning if a "generic" token follows while parsing procedure directives (let's hope we'll never have to add a "generic" directive :/ ) 9 年之前
pdecvar.pas bf3c7144b0 * make not of public assembler symbols for variables and classes if necessary 9 年之前
pexports.pas 3b71841a84 Merged revision(s) 28691, 31914 from branches/svenbarth/packages: 9 年之前
pexpr.pas c2305809dc + added an i8086-embedded target support to the compiler (RTL and makefile 9 年之前
pgentype.pas c81eda7a42 Fully enable generic functions, procedures and methods by allowing inline specializations in procedure bodies as well. 9 年之前
pgenutil.pas 22a7ce8972 Fix memory leak due to double srsym allocation 9 年之前
pinline.pas a2c9c75e97 Convert Insert() and Delete() to intrinsics in preparation for dynamic array support for these two procedures. 9 年之前
pkgutil.pas f1cdb5c4e9 * don't export types that have been merely renamed (and thus are part of another unit and potentially another package altogether) 9 年之前
pmodules.pas 3a9f2f55f4 -gc or {$CHECKPOINTER ON} requires heaptrc unit loading even for units 9 年之前
pp.lpi b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 年之前
pp.pas 3f9f498e0d - removed leftover alpha, ia64 and vis code 10 年之前
pparautl.pas e1d4d167b4 * hidden high parameter must be of type ptrsinttype, resolves issue #29204 9 年之前
ppc68k.lpi 9ebf2aa984 * project file updates 13 年之前
ppc8086.lpi c2305809dc + added an i8086-embedded target support to the compiler (RTL and makefile 9 年之前
ppcaarch64.lpi 6e56f5c191 * fixed exe output path 9 年之前
ppcarm.lpi 9ebf2aa984 * project file updates 13 年之前
ppcavr.lpi 9ebf2aa984 * project file updates 13 年之前
ppcjvm.lpi ac819b0b97 * jvm lazarus project file properly named 12 年之前
ppcmips.lpi 9ebf2aa984 * project file updates 13 年之前
ppcmipsel.lpi 9ebf2aa984 * project file updates 13 年之前
ppcppc.lpi 9ebf2aa984 * project file updates 13 年之前
ppcppc64.lpi 9ebf2aa984 * project file updates 13 年之前
ppcsparc.lpi 9ebf2aa984 * project file updates 13 年之前
ppheap.pas eefdf135a5 Always write filename, truncate directory part if needed 9 年之前
ppu.pas deda4c8247 simplified some code and removed a no longer used const 9 年之前
ppx86_64.lpi e96dc4204e * version update 13 年之前
procinfo.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 年之前
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. 9 年之前
psub.pas f69b365b77 * declare various symbols as external assembler symbols: RTTI references, parent VMT, FPC_EMPTYMETHOD (all three only if it's used from a different unit), threadvar lists and symbols declared as "external" 9 年之前
psystem.pas a2c9c75e97 Convert Insert() and Delete() to intrinsics in preparation for dynamic array support for these two procedures. 9 年之前
ptconst.pas bf3c7144b0 * make not of public assembler symbols for variables and classes if necessary 9 年之前
ptype.pas d3660fec31 Implement support for parsing "generic [class] procedure" and "generic [class] function" in non-Delphi modes. Since "generic" is a prefix it is quite ugly to implement, but from a Pascal language point of view it fits better than "procedure generic xyz". 9 年之前
raatt.pas aa1be3276f - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 9 年之前
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from 19 年之前
rasm.pas 5c48804240 * Moved local label infrastructure into tasmreader, reduces number of global vars. Functionality is not changed. 11 年之前
rautils.pas aa1be3276f - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 9 年之前
regvars.pas 1c01d52ea6 * Improvements of tprocinfo class: 14 年之前
rescmn.pas 09e742f243 * add a -dfpc define to the resource compiler commandlines, which allows to make FPC specific exceptions in resource scripts. Mantis #24044 12 年之前
rgbase.pas e327b4581c Use TRegNameTable instead of array[tregisterindex] of string[10] 12 年之前
rgobj.pas 2a28f5a85d * update used_in_proc only in trgobj.translate_registers, before it might cause unnecessary pushes of actually unused registers 9 年之前
scandir.pas c2305809dc + added an i8086-embedded target support to the compiler (RTL and makefile 9 年之前
scanner.pas c2305809dc + added an i8086-embedded target support to the compiler (RTL and makefile 9 年之前
script.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 年之前
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. 9 年之前
symbase.pas a5bef2a2b9 * prevent new definitions being added to a global unit symtable after compilation of the implementation part started 10 年之前
symconst.pas c2662bd96a * mark defs created with create_global_internal() with df_internal so that they can be easily identified 9 年之前
symcreat.pas 81b9928e31 * simply disable warnings rather than initialise the function result in 9 年之前
symdef.pas dfeb6e3ae1 Avoid memory leak on trecorddef.variantrecorddesc field 9 年之前
symsym.pas 571d053a60 - removed tabstractnormalvarsym.currentregloc: the new location will 9 年之前
symtable.pas c752050728 * don't print "parameter not used" hints for abstract methods (mantis #30431) 9 年之前
symtype.pas 9a0cb50a08 * converted the result of fullownerhierarchyname to tsymstr so it (and 9 年之前
symutil.pas 9adb202a92 * Rework the constexprint to allow operations from low(int64) to high(qword). 18 年之前
systems.inc c2305809dc + added an i8086-embedded target support to the compiler (RTL and makefile 9 年之前
systems.pas 2808be3e20 + add and use sysinit unit for Win64 (only one since we don't support cygwin and gprof there) 9 年之前
tgobj.pas a0a77f3105 * suppress (harmless) range error 10 年之前
tokens.pas cb4773432b + hardfloat directive (arm only): use hard float calling conventions regardless of the abi, resolves #29715 9 年之前
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 10 年之前
version.pas 3f9f498e0d - removed leftover alpha, ia64 and vis code 10 年之前
widestr.pas c8839d487b * fixed accidentally committed (harmless) typo in r32202 9 年之前
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 年之前
wpobase.pas 5fa09fa2f4 * changed tcallnode.fforcedprocname from shortstring into tsymstr, 11 年之前
wpoinfo.pas 02e56f410d Merged revision(s) 28689 from branches/svenbarth/packages: 9 年之前

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