Jonas Maebe c1fd3bc0de * specify the unit from which the routine comes when handling tsk_callthrough 9 tahun lalu
..
aarch64 0ed6c3d80e * also use the last floating point parameter register on AArch64 in case of 9 tahun lalu
arm 3c6d4f1ee2 * Removed unused vars. 9 tahun lalu
avr b2f15e2736 * first check for ait_instruction before checking opcode 9 tahun lalu
generic 3cb9be73bc Moved tcontrollerdatatype out into cpuinfo. 10 tahun lalu
html fa0d3d79e0 no message 23 tahun lalu
i386 7f44774852 * i386 uses OptPass1And from aoptx86 9 tahun lalu
i8086 ac5658470e + use the 16-bit movsx and movzx instructions on 386+ in tcg8086.a_load_ref_reg 9 tahun lalu
jvm 996e325175 * converted range checking for open arrays/array of const from the code 9 tahun lalu
llvm 0311528502 * always write bitpacked typed constant arrays as a multiple of bytes rather 9 tahun lalu
m68k 2eeb078f3e m68k: removed obsolete and wrong comment. the '881 extended type is actually 12 bytes during load/store, not 10, which means longword alignment is fine. no functional changes. 9 tahun lalu
mips 578348817b * MIPS: some progress with linker: 9 tahun lalu
msg b0ca7e9594 show AT&T and Intel style assembler switches in i8086 and x86_64 help text. also fix Motorola name initials at several places for 68k 9 tahun lalu
powerpc 1850cb4ccc * don't look at the resultdef, but at the defs of the operands to decide 9 tahun lalu
powerpc64 fa3b0ca312 * support marking defs created via the getreusable*() class methods as 9 tahun lalu
ppcgen 14bab6c85d * fixed ppc jump table generation in case a jump table has cases for the 9 tahun lalu
sparc cc3e09ee46 * Handle possible relocation types in assembler reader using a single AS_RELTYPE token, rather than with individual tokens for each case. Since possible relocations are target-dependent, this will allow to support any amount of them without modifying the base tattreader class. 9 tahun lalu
systems e68b8467b6 Use 'debug watcom all' if -g, without dwarf option is used 9 tahun lalu
utils 5306ee552b * regenerated makefiles with latest fpcmake 9 tahun lalu
x86 40ff777693 * Adapt to TExternCain move to aasmcpu unit 9 tahun lalu
x86_64 a5fc8b629a * factored out OptPass1AND from x86-64 and moved it to aoptx86 9 tahun lalu
COPYING.txt 1e167a5fd3 * updated address of FSF (mantis #24646, patch by Alexey Svistunov) 12 tahun lalu
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests 19 tahun lalu
Makefile 5306ee552b * regenerated makefiles with latest fpcmake 9 tahun lalu
Makefile.fpc e0b0ec3d43 m68k: disabled the force-enabled stack checking for m68k-amiga when compiling the compiler, which was enabled since forever. the current Amiga RTL startup code supports setting stack size programmatically, therefore very low default stack on Amiga is no longer a problem 9 tahun lalu
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 tahun lalu
aasmbase.pas 90b284e169 + generate .debug_aranges sections for dwarf debug info: enables faster address to debug info translation 9 tahun lalu
aasmcnst.pas 8ca9ece66a * fixed buffer overrun in tai_aggregatetypedconst.add_to_string() 9 tahun lalu
aasmdata.pas 90b284e169 + generate .debug_aranges sections for dwarf debug info: enables faster address to debug info translation 9 tahun lalu
aasmsym.pas a23fa2e81e * moved (unfinished) routines related to writing taicpu's to ppu files 18 tahun lalu
aasmtai.pas ee5a64c2f8 - removed tai_varloc.oldlocation: it is not used anywhere 9 tahun lalu
aggas.pas 90b284e169 + generate .debug_aranges sections for dwarf debug info: enables faster address to debug info translation 9 tahun lalu
aopt.pas 3c2dab9878 * i386 peephole assembler uses largely the common peephole optimizer infrastructure, the resulting code is besides a few improvements the same 9 tahun lalu
aoptbase.pas b274599a47 * made some assembler optimizer methods class methods 9 tahun lalu
aoptcs.pas 2f5ce095ce * RefsHaveIndexReg -> cpurefshaveindexreg 13 tahun lalu
aoptda.pas 1f6ec379de * moved field definitions before method/property definitions (see mantis 16 tahun lalu
aoptobj.pas b274599a47 * made some assembler optimizer methods class methods 9 tahun lalu
aoptutils.pas bd54a11f1c + TX86AsmOptimizer.OptPass1VMOVAP for i386 and x86-64 9 tahun lalu
assemble.pas 5576caada6 * handle the asd_cpu asd_cpu directive and keep track of the currently selected 9 tahun lalu
blockutl.pas 0ac12f0eaf Extend tstaticvarsym (and by extension tabstractnormalvarsym) with the capability to create it as unregistered if needed. 9 tahun lalu
browcol.pas 2370669f86 Avoid infinite recursion on generic classes for IDE browser 11 tahun lalu
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 16 tahun lalu
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 tahun lalu
cclasses.pas b3063b7db2 Reset class fields FList and FHashList to nil after Destroy call 9 tahun lalu
cfidwarf.pas 23ff1e0681 * fix error in cfidwarf rev 16062 for non-windows systems 15 tahun lalu
cfileutl.pas 8f645fdc83 * removed hack to disable dircache for DragonFly BSD now that its dirent 9 tahun lalu
cg64f32.pas 2778bf55c7 * add "doregister" parameter to torddef.create, and don't register temporary 10 tahun lalu
cgbase.pas 0fdc62e0f7 + initialize DS with the current unit's data segment in the function entry code 10 tahun lalu
cghlcpu.pas 67b8aceaee * synchronized with privatetrunk till r30095 10 tahun lalu
cgobj.pas a5dba44fd3 * fixed sign extension for unaligned loads (mantis #29891, although that 9 tahun lalu
cgutils.pas 5595651816 * define avr => cpu8bitalu 10 tahun lalu
cmsgs.pas aba10cd184 compiler: 14 tahun lalu
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 tahun lalu
compiler.pas 7e348a40a3 Use general_e_exception_raised if Compiler generates an uncaught exception 10 tahun lalu
compinnr.inc a2c9c75e97 Convert Insert() and Delete() to intrinsics in preparation for dynamic array support for these two procedures. 9 tahun lalu
comprsrc.pas 7bc66a5142 + ELF/ppc64le resource support 10 tahun lalu
constexp.pas d081d9fdc0 Fix cycle for x86_64-win64 target with -Cr option 9 tahun lalu
cpid.pas 091627883f merge r14347 from cpstrnew branch by florian: 14 tahun lalu
crefs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
cresstr.pas f83f9168ee * emit all resource strings and internal dynamic string data using the 9 tahun lalu
cstreams.pas 1945bf64b4 Merged revision(s) 32302-32305, 32310 from branches/svenbarth/packages: 9 tahun lalu
cutils.pas 315b32918e + Tconstexprint-version of ispowerof2() to correctly deal with constants 9 tahun lalu
cwindirs.pp 0bdd15e0da + added cwindirs for the time being to the compiler dir till a release with windirs in the rtl is released 14 tahun lalu
dbgbase.pas 145e9c1aae * don't generate debug info for class fields in generic types 11 tahun lalu
dbgdwarf.pas 9daa4bd48d * always generate unaligned pointer entries (so .4bytes instead of .long is generated) in dwarf debugging info 9 tahun lalu
dbgstabs.pas d44100448c * add support in the debug info for the dummy s128bit/u128bit types added 9 tahun lalu
dbgstabx.pas 0d3bccaa1b Do not consider ansi/wide/unicode strings as taggable for stabs 11 tahun lalu
defcmp.pas a4d2f71d3d * better estimation of compatibility of array constructors with open arrays, resolves issue #29244 9 tahun lalu
defutil.pas 33b44443b8 + get_unsigned_inttype(def) to get an unsigned integer type of the same 9 tahun lalu
dirparse.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
elfbase.pas 29c0266fb9 + Added values for DT_FLAGS and DT_FLAGS_1 dynamic tags. 12 tahun lalu
entfile.pas 7d8d0340b9 Merged revision(s) 31988, 31991-31993, 32136, 32308-32309, 32312, 32318 from branches/svenbarth/packages: 9 tahun lalu
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 tahun lalu
expunix.pas 4afb96a1cb * fix warning which prevents compilation with -Oodfa 9 tahun lalu
finput.pas 3e2248f41a + implemented exporting of functions for the win16 target 10 tahun lalu
fmodule.pas d4281d6111 * (re)create the module's waitingforunit and local*searchpath fields when it 9 tahun lalu
fpccrc.pas 793fd8fc09 * Add -Xg to help pages 17 tahun lalu
fpcdefs.inc 046b148f5f * i386 and i8086 have an index register, so define cpurefshaveindexreg 9 tahun lalu
fpcp.pas e8ede4c3e2 Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: 9 tahun lalu
fpkg.pas e8ede4c3e2 Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: 9 tahun lalu
fppu.pas 7d8d0340b9 Merged revision(s) 31988, 31991-31993, 32136, 32308-32309, 32312, 32318 from branches/svenbarth/packages: 9 tahun lalu
gendef.pas aee5380ae0 * merged trunk up to r20882 13 tahun lalu
globals.pas 13076a3580 Use NO prefix to disable a feature (-Sfnoheap) instead of '-' prefix 9 tahun lalu
globstat.pas 88af293155 Fix for Mantis #22160 13 tahun lalu
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 tahun lalu
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 tahun lalu
hlcgobj.pas 571d053a60 - removed tabstractnormalvarsym.currentregloc: the new location will 9 tahun lalu
htypechk.pas e58488dc3e Fix for Mantis #29792. 9 tahun lalu
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 tahun lalu
import.pas bf1c390027 * refactor import library generation 19 tahun lalu
ldscript.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 tahun lalu
link.pas 7a8079cfb4 * removed DLLsource global variable and replaced its uses with 9 tahun lalu
macho.pas e243cc77ea macho.pas: 9 tahun lalu
machoutils.pas 111d05c68f o patch by Alexander Shishkin, resolves #20409 14 tahun lalu
msgidx.inc b0ca7e9594 show AT&T and Intel style assembler switches in i8086 and x86_64 help text. also fix Motorola name initials at several places for 68k 9 tahun lalu
msgtxt.inc b0ca7e9594 show AT&T and Intel style assembler switches in i8086 and x86_64 help text. also fix Motorola name initials at several places for 68k 9 tahun lalu
nadd.pas ec5dea1092 * don't perform the "/ const" to "* (1/const)" transformation for comp-typed 9 tahun lalu
nbas.pas 46166c89cb - removed no longer used and unsafe ttemprefnode.create_offset() 9 tahun lalu
ncal.pas 1bd43d9e37 Fix regressions. 9 tahun lalu
ncgadd.pas da696057ab * converted register_maybe_adjust_setbase() to the high level code generator 9 tahun lalu
ncgbas.pas 46166c89cb - removed no longer used and unsafe ttemprefnode.create_offset() 9 tahun lalu
ncgcal.pas 951ca4e62b * fixed procdef used to call C-style blocks (only relevant for LLVM) 9 tahun lalu
ncgcnv.pas 3f01efbee0 * adapted tcgtypeconvnode.second_int_to_int() to work with high level cpu 9 tahun lalu
ncgcon.pas aef6120438 * fixed shortstring constant emission after r28210: the terminating #0 9 tahun lalu
ncgflw.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 tahun lalu
ncghlmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 tahun lalu
ncginl.pas 8917633199 * implement sizeof/typeof completely at the node level, based on 9 tahun lalu
ncgld.pas 345d83c3e3 Merge RTTI changes from packages branch (including adjustments that were required due to changes in trunk since then). These changes favor source backwards compatibility in contrast to Delphi compatibility. Binary compatiblity is however drastically broken due to the indirect references that are platform independant! 9 tahun lalu
ncgmat.pas 8ff5371a6c + support mmregisters in the generic unaryminus code for floats 10 tahun lalu
ncgmem.pas a821c47252 * converted dynarray range checking to the high level code generator 9 tahun lalu
ncgnstld.pas 96698994f3 * ensure that we don't firstpass a tcgnestloadnode twice, as it 9 tahun lalu
ncgnstmm.pas 39adb3dfae * fixed loading the nested framepointer when calling another nested 14 tahun lalu
ncgobjc.pas 4cf5e36ce7 compiler: 14 tahun lalu
ncgopt.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
ncgrtti.pas 345d83c3e3 Merge RTTI changes from packages branch (including adjustments that were required due to changes in trunk since then). These changes favor source backwards compatibility in contrast to Delphi compatibility. Binary compatiblity is however drastically broken due to the indirect references that are platform independant! 9 tahun lalu
ncgset.pas b156744b62 * left has been forced into a register of size uopdef a few statements 9 tahun lalu
ncgutil.pas fb0f4394c0 * don't set varsym.localloc anymore in gen_alloc_regvar(): in most cases 9 tahun lalu
ncgvmt.pas 7a5bac9cd3 Rework the interface table of VMTs to get rid of FPC_EMPTYINTF. 9 tahun lalu
ncnv.pas 661be0baad * replaced ctemprefnode.create_offset() usage in variant array indexing 9 tahun lalu
ncon.pas a65ab73e8b * support unicodestring constants in "case string of" (mantis #29353) 9 tahun lalu
nflw.pas e20f2111b7 Check for nil before doing loopunrolling. 9 tahun lalu
ngenutil.pas 72be688a8c A unit's threadvar list needs to be indirectly referenced by the THREADVARLIST as well. 9 tahun lalu
ngtcon.pas 0311528502 * always write bitpacked typed constant arrays as a multiple of bytes rather 9 tahun lalu
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 tahun lalu
nld.pas 9914f02faa * always set the resultdef for variant array constructors correctly, so we 9 tahun lalu
nmat.pas 1e5883b6d1 Avoid overflow error for single MinValue in rtl syshelph.inc for x86_64 CPU 9 tahun lalu
nmem.pas 18639304e1 * convert the index for open arrays to ptr(u/s)inttype instead of to 9 tahun lalu
nobj.pas 59eff35c5d * give fields added for VMT definition of TP-style objects the same 9 tahun lalu
nobjc.pas 0dcedf3799 * do not crash but give a fatal error when using Objective-Pascal code 15 tahun lalu
node.pas 8fe986ba11 + write also node complexity when dumping a node tree 9 tahun lalu
nopt.pas 1a560e9875 * when concatenating ansistrings, do not map CP_NONE (rawbytestring) to 12 tahun lalu
nset.pas ee87d3bba9 * fixed "case <string> of" with multiple labels for a single statement after 10 tahun lalu
nstate.pas 790a4fe2d3 * log and id tags removed 20 tahun lalu
nutils.pas 8df1d1f9b8 * fixed compilation of tw15391 with range checking enabled after r34034: 9 tahun lalu
objcasm.pas 51209eac9c * fixed bootstrap for Darwin/ppc with FPC 3.0 (workaround for 9 tahun lalu
objcdef.pas bd09b88a5b + support for http://en.wikipedia.org/wiki/Blocks_(C_language_extension) 11 tahun lalu
objcgutl.pas b9231aa6f1 * converted objcgutl (Objective-C metadata generation) to the high level 9 tahun lalu
objcutil.pas 3b71841a84 Merged revision(s) 28691, 31914 from branches/svenbarth/packages: 9 tahun lalu
ogbase.pas dd9ea88b79 * TObjSection.MemPos reverted back to qword after r33692, since it breaks the 9 tahun lalu
ogcoff.pas 90b284e169 + generate .debug_aranges sections for dwarf debug info: enables faster address to debug info translation 9 tahun lalu
ogelf.pas 90b284e169 + generate .debug_aranges sections for dwarf debug info: enables faster address to debug info translation 9 tahun lalu
oglx.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 tahun lalu
ogmacho.pas 90b284e169 + generate .debug_aranges sections for dwarf debug info: enables faster address to debug info translation 9 tahun lalu
ogmap.pas ba1c494cd6 * the code for displaying a symbol address in the linker map file moved to a 10 tahun lalu
ognlm.pas 991e1f49bd * store a pointer to the used tasminfo record in every assembler writer, so 10 tahun lalu
ogomf.pas c2305809dc + added an i8086-embedded target support to the compiler (RTL and makefile 9 tahun lalu
omfbase.pas 90b284e169 + generate .debug_aranges sections for dwarf debug info: enables faster address to debug info translation 9 tahun lalu
optbase.pas 99eadb91b3 * run CheckAndWarn to get proper locations for warnings about uninitialized variables 11 tahun lalu
optconstprop.pas f393c3ff37 * propagate constants into the header of a for loop 11 tahun lalu
optcse.pas 260ea81c82 * improve cse on record/array accesses 9 tahun lalu
optdead.pas 1e227f78fe * factored out the check for whether we have to generate dotted function 10 tahun lalu
optdeadstore.pas 27ac68cdc7 * be more careful when removing dead stores 11 tahun lalu
optdfa.pas 45807056c5 * factored out SymbolCandidateForWarningOrHint 9 tahun lalu
options.pas 13076a3580 Use NO prefix to disable a feature (-Sfnoheap) instead of '-' prefix 9 tahun lalu
optloop.pas 4731ebeb50 * reset initcode after adding it to the statements list, so further iterations of loop optimization create a new one 9 tahun lalu
opttail.pas b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 tahun lalu
optutils.pas 730a3c2666 + PrintNodeDFA writes also the defsum 9 tahun lalu
optvirt.pas 5fa09fa2f4 * changed tcallnode.fforcedprocname from shortstring into tsymstr, 11 tahun lalu
owar.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 tahun lalu
owbase.pas 368ba47d6e * support writing more than 1024 zeros in tobjectwriter.writezeros 10 tahun lalu
owomflib.pas 4edbd27774 * support writing omf libraries with size greater than 251 blocks 9 tahun lalu
parabase.pas b4fe4789d6 + support for constant call parameters on LLVM 9 tahun lalu
paramgr.pas 99361994b7 * only copy the shiftval field from the original para location when creating 9 tahun lalu
parser.pas 7e348a40a3 Use general_e_exception_raised if Compiler generates an uncaught exception 10 tahun lalu
pass_1.pas 9fdd64e94c * indention and new line fixes 12 tahun lalu
pass_2.pas 1181eb0ddb * fixed compilation of the compiler with -dEXTDEBUG after r31588 10 tahun lalu
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 tahun lalu
pcp.pas 7d8d0340b9 Merged revision(s) 31988, 31991-31993, 32136, 32308-32309, 32312, 32318 from branches/svenbarth/packages: 9 tahun lalu
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 tahun lalu
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 tahun lalu
pdecsub.pas 88108bc4df Extend "compilerproc" with the optional ability to specify an index (same syntax as for "internproc") which allows to map the routine to a syssym. 9 tahun lalu
pdecvar.pas c2305809dc + added an i8086-embedded target support to the compiler (RTL and makefile 9 tahun lalu
pexports.pas 3b71841a84 Merged revision(s) 28691, 31914 from branches/svenbarth/packages: 9 tahun lalu
pexpr.pas c2305809dc + added an i8086-embedded target support to the compiler (RTL and makefile 9 tahun lalu
pgentype.pas c81eda7a42 Fully enable generic functions, procedures and methods by allowing inline specializations in procedure bodies as well. 9 tahun lalu
pgenutil.pas 95f28e5e0c * avoid a crash when processing synthetic methods of specialised classes: 9 tahun lalu
pinline.pas a2c9c75e97 Convert Insert() and Delete() to intrinsics in preparation for dynamic array support for these two procedures. 9 tahun lalu
pkgutil.pas a4cfa64d96 pkgutil.pas, insert_export: 9 tahun lalu
pmodules.pas f27ce0b159 Rework the way the method bodies for specializations are generated: instead of walking the global and local symboltable all pending specializations are kept in a list of the current module which is (for now) walked at the end of a unit/program to generate the method bodies as before. 9 tahun lalu
pp.lpi b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 tahun lalu
pp.pas 3f9f498e0d - removed leftover alpha, ia64 and vis code 10 tahun lalu
pparautl.pas e1d4d167b4 * hidden high parameter must be of type ptrsinttype, resolves issue #29204 9 tahun lalu
ppc68k.lpi 9ebf2aa984 * project file updates 13 tahun lalu
ppc8086.lpi c2305809dc + added an i8086-embedded target support to the compiler (RTL and makefile 9 tahun lalu
ppcaarch64.lpi 6e56f5c191 * fixed exe output path 9 tahun lalu
ppcarm.lpi 9ebf2aa984 * project file updates 13 tahun lalu
ppcavr.lpi 9ebf2aa984 * project file updates 13 tahun lalu
ppcjvm.lpi ac819b0b97 * jvm lazarus project file properly named 12 tahun lalu
ppcmips.lpi 9ebf2aa984 * project file updates 13 tahun lalu
ppcmipsel.lpi 9ebf2aa984 * project file updates 13 tahun lalu
ppcppc.lpi 9ebf2aa984 * project file updates 13 tahun lalu
ppcppc64.lpi 9ebf2aa984 * project file updates 13 tahun lalu
ppcsparc.lpi 9ebf2aa984 * project file updates 13 tahun lalu
ppheap.pas 0d00df6ec5 * Only -dextheaptrc sets keepreleased to tue (meaning no memory is really released by heaptrc memory manager) 13 tahun lalu
ppu.pas 46166c89cb - removed no longer used and unsafe ttemprefnode.create_offset() 9 tahun lalu
ppx86_64.lpi e96dc4204e * version update 13 tahun lalu
procinfo.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 tahun lalu
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 tahun lalu
psub.pas cd5817a689 * also emit a tai_varloc() when regvars are initially assigned 9 tahun lalu
psystem.pas a2c9c75e97 Convert Insert() and Delete() to intrinsics in preparation for dynamic array support for these two procedures. 9 tahun lalu
ptconst.pas 94d8d9927d Only add indirect symbol for constants if tf_supports_packages flag is set in target_info.flags 9 tahun lalu
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 tahun lalu
raatt.pas cc3e09ee46 * Handle possible relocation types in assembler reader using a single AS_RELTYPE token, rather than with individual tokens for each case. Since possible relocations are target-dependent, this will allow to support any amount of them without modifying the base tattreader class. 9 tahun lalu
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from 19 tahun lalu
rasm.pas 5c48804240 * Moved local label infrastructure into tasmreader, reduces number of global vars. Functionality is not changed. 11 tahun lalu
rautils.pas 2e0fea94b8 * set operand size information when accessing fields in assembly 9 tahun lalu
regvars.pas 1c01d52ea6 * Improvements of tprocinfo class: 14 tahun lalu
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 tahun lalu
rgbase.pas e327b4581c Use TRegNameTable instead of array[tregisterindex] of string[10] 13 tahun lalu
rgobj.pas 2a28f5a85d * update used_in_proc only in trgobj.translate_registers, before it might cause unnecessary pushes of actually unused registers 9 tahun lalu
scandir.pas c2305809dc + added an i8086-embedded target support to the compiler (RTL and makefile 9 tahun lalu
scanner.pas c2305809dc + added an i8086-embedded target support to the compiler (RTL and makefile 9 tahun lalu
script.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 tahun lalu
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 tahun lalu
symbase.pas a5bef2a2b9 * prevent new definitions being added to a global unit symtable after compilation of the implementation part started 10 tahun lalu
symconst.pas 3971ba7898 Provide basic facilities to handle indirect symbols that are needed for proper dynamic packages support. 9 tahun lalu
symcreat.pas c1fd3bc0de * specify the unit from which the routine comes when handling tsk_callthrough 9 tahun lalu
symdef.pas f55a403270 * specify the packenum setting to use when creating a tenumdef 9 tahun lalu
symsym.pas 571d053a60 - removed tabstractnormalvarsym.currentregloc: the new location will 9 tahun lalu
symtable.pas 54b6cacf36 Fix for Mantis #30357. 9 tahun lalu
symtype.pas 9a0cb50a08 * converted the result of fullownerhierarchyname to tsymstr so it (and 9 tahun lalu
symutil.pas 9adb202a92 * Rework the constexprint to allow operations from low(int64) to high(qword). 18 tahun lalu
systems.inc c2305809dc + added an i8086-embedded target support to the compiler (RTL and makefile 9 tahun lalu
systems.pas 20d2c74d8e + added system_i8086_embedded to the systems_embedded set 9 tahun lalu
tgobj.pas a0a77f3105 * suppress (harmless) range error 10 tahun lalu
tokens.pas cb4773432b + hardfloat directive (arm only): use hard float calling conventions regardless of the abi, resolves #29715 9 tahun lalu
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 tahun lalu
version.pas 3f9f498e0d - removed leftover alpha, ia64 and vis code 10 tahun lalu
widestr.pas c8839d487b * fixed accidentally committed (harmless) typo in r32202 9 tahun lalu
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 tahun lalu
wpobase.pas 5fa09fa2f4 * changed tcallnode.fforcedprocname from shortstring into tsymstr, 11 tahun lalu
wpoinfo.pas 02e56f410d Merged revision(s) 28689 from branches/svenbarth/packages: 9 tahun lalu

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