paul 5aa919c2a8 compiler: have unit interface symtable in stack while parsing implementation uses list (fixes issue #10477) 12 gadi atpakaļ
..
aarch64 7bad1763b8 Decrease amount of code duplication regarding handling of safecall and record constructors. 12 gadi atpakaļ
alpha 7361e19799 + support for handling OS_128/OS_S128 on 64 Bit CPUs as far as needed for method pointers in registers 13 gadi atpakaļ
arm e0f48b9f02 * calculate stack correction on exit correctly if stack parameters are passed 12 gadi atpakaļ
avr 9938169d2c * don't use the paracgsize in get_paraloc_def(), because it generally 12 gadi atpakaļ
generic 3017132268 * Remove triple sources 14 gadi atpakaļ
html fa0d3d79e0 no message 23 gadi atpakaļ
i386 5c4abfa75a + Implemented saving/restoring registers using PUSH/POP instructions on i386 targets with non-fixed stack. Provides some advantage in code size (e.g. the compiler becomes about 20KBytes smaller). 12 gadi atpakaļ
i8086 a5284881f5 + support 6-byte records in registers in thlcgcpu.location_force_mem on the i8086; this fixes the handling of methodpointers typecasted to record (TMethod) in medium and compact memory models 12 gadi atpakaļ
ia64 4d86d25c6c * -O4 switch for optimizations which are correct but which might have unexpected effects 13 gadi atpakaļ
jvm d2bad665fa * fixed a_op_*_reg() for OP_NOT/OP_NEG (due to the register allocation the 12 gadi atpakaļ
m68k 6f5a648516 Improve the cpu type handling for M68k just in case we should branch 2.8.0 before I can start working on M68k again. 12 gadi atpakaļ
mips e7f6b06969 + MIPS internal linker: support TLS IE/LE and GPREL32 relocations, is now able to link tw14265. 12 gadi atpakaļ
msg 02e054a09e + fpc -i now writes also the available inline assembler input modes 12 gadi atpakaļ
powerpc 108d3cb090 - Removed tai_label.is_global field, was used in just one place and is generally not needed: binding is controlled by 'bind' property of referenced AsmLabel. 12 gadi atpakaļ
powerpc64 7f2750f188 * missing part of r24776, using a build server also has pitfalls :/ 12 gadi atpakaļ
ppcgen 57cdd8c106 * set symbol type/binding of data referred by ppc and arm/darwin stubs (part 12 gadi atpakaļ
sparc 7566ddcc8f * add a tdef to each parameter location and set it for all target 12 gadi atpakaļ
systems 1af312c129 * don't overwrite result of librarysearchpath.FindFile() in 12 gadi atpakaļ
utils bf3e48d8e0 * compilation of ppudump fixed 12 gadi atpakaļ
vis 85a3fd3357 + ossinttype/osuinttype defs that correspond to OS_SINT/OS_INT for use in 13 gadi atpakaļ
x86 8608969eb8 * tx86casenode.genjumptable: explicitly emit near pointers in the case jump table on i8086, regardless of the memory model 12 gadi atpakaļ
x86_64 da2887a4ec * x86_64-win64: SEH finalization procedures have frame pointer set to RBP but since r25389 they save registers relative to RSP. Fixed offsets for .seh_savereg/.seh_savexmm directives. 12 gadi atpakaļ
COPYING.txt 1e167a5fd3 * updated address of FSF (mantis #24646, patch by Alexey Svistunov) 12 gadi atpakaļ
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests 19 gadi atpakaļ
Makefile 19c8abac0b + enable jump optimizer for i8086 12 gadi atpakaļ
Makefile.fpc 19c8abac0b + enable jump optimizer for i8086 12 gadi atpakaļ
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 gadi atpakaļ
aasmbase.pas 1f8192b6da * indention fixes 12 gadi atpakaļ
aasmdata.pas 7ae9c5b668 + added optional Tasmsymtype parameter to TAsmData.RefAsmSymbol and WeakRefAsmSymbol to allow specifying things like AT_DATA for external symbols that reside in the data segment, which is needed for i8086 medium and compact memory models 12 gadi atpakaļ
aasmsym.pas a23fa2e81e * moved (unfinished) routines related to writing taicpu's to ppu files 18 gadi atpakaļ
aasmtai.pas 3bc89a50ed + added i8086-specific methods tai_const.Create_sym_near and tai_const.Create_sym_far, which allow creating explicitly a near or far ptr const, regardless of current memory model's defaults 12 gadi atpakaļ
aggas.pas 6f5a648516 Improve the cpu type handling for M68k just in case we should branch 2.8.0 before I can start working on M68k again. 12 gadi atpakaļ
agjasmin.pas 7cf8bcd7eb * initialise dollarsign field of jasmin tasminfo 13 gadi atpakaļ
aopt.pas 6e62fbc3d2 * more consistent updates of used registers 13 gadi atpakaļ
aoptbase.pas 1c84c3edbf * Fixed label optimizer to work with MIPS, and enabled level 1 optimization for MIPS targets. 12 gadi atpakaļ
aoptcs.pas 2f5ce095ce * RefsHaveIndexReg -> cpurefshaveindexreg 13 gadi atpakaļ
aoptda.pas 1f6ec379de * moved field definitions before method/property definitions (see mantis 16 gadi atpakaļ
aoptobj.pas 2806947a8f + FindRegAllocBackward 12 gadi atpakaļ
asmutils.pas afd34cf9d5 * Changed section for ansi/wide/unicodestring constants, resourcestrings (content only) and dataconstnodes from sec_rodata to sec_rodata_norel, because they never contain relocations. 12 gadi atpakaļ
assemble.pas 6f5a648516 Improve the cpu type handling for M68k just in case we should branch 2.8.0 before I can start working on M68k again. 12 gadi atpakaļ
browcol.pas 5ad752ab70 Avoid range check error in IDE by changing value of sfHasMemInfo constant to fit with longint value 13 gadi atpakaļ
bsdcompile 26081ed999 * Simple script which specifies the right params for a try out BSD build 25 gadi atpakaļ
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 16 gadi atpakaļ
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 gadi atpakaļ
cclasses.pas 1f8a67f552 + Property TObjSymbol.ObjData, allows to access owning TObjData for external/common symbols, i.e. ones with ObjSection=nil. 12 gadi atpakaļ
cfidwarf.pas 23ff1e0681 * fix error in cfidwarf rev 16062 for non-windows systems 15 gadi atpakaļ
cfileutl.pas 2e70575afc Allow compilation of compiler with 2.6.x RTL for simplyfied development. 12 gadi atpakaļ
cg64f32.pas 49bd829ffc * refactored cg64f32.splitparaloc64 to use cgpara.locations_count 12 gadi atpakaļ
cgbase.pas 2ba22f666e + support for R_SUBMMX and R_SUBMMY in generic_regname() 12 gadi atpakaļ
cghlcpu.pas e20639732f + cghlcpu unit with thlbasecgcpu class that overrides all abstract tcg 13 gadi atpakaļ
cgobj.pas e81d2d1f3b * basic avx support for floating point operations (use -Cfavx to activate) 12 gadi atpakaļ
cgutils.pas 70649932de * tlocation.value reverted back to longint on non 64-bit archs. This fixes the tset5.pp and tset5a.pp regressions on powerpc and probably other 32-bit platforms. 12 gadi atpakaļ
cmsgs.pas aba10cd184 compiler: 14 gadi atpakaļ
comphook.pas 6d8b1e03d7 Increase status.errorcount only inside GenerateError procedure, to simplify debugging 12 gadi atpakaļ
compiler.pas 364a874623 Addendum to 23746: use FPC_FULLVERSION instead of FPC_VERSION/FPC_RELEASE 12 gadi atpakaļ
compinnr.inc b43b4bb455 + pseudo procedure aligned: tells the compiler to assume that the given parameter is naturally aligned, counterpart of unaligned 12 gadi atpakaļ
comprsrc.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler 13 gadi atpakaļ
constexp.pas b78d6108fd * workaround for 2.6.x to avoid overflow errors when compiled with -CRiot 12 gadi atpakaļ
cpid.pas 091627883f merge r14347 from cpstrnew branch by florian: 14 gadi atpakaļ
crefs.pas 851b00f8e9 * more properties fixed 16 gadi atpakaļ
cresstr.pas a1fa1954b8 * i8086 medium model fixes in Tresourcestrings.CreateResourceStringData 12 gadi atpakaļ
cstreams.pas f79dc85033 * typo fixed 13 gadi atpakaļ
cutils.pas 949210e808 + added min and max functions for Tconstexprint 12 gadi atpakaļ
cwindirs.pp 0bdd15e0da + added cwindirs for the time being to the compiler dir till a release with windirs in the rtl is released 14 gadi atpakaļ
dbgbase.pas df2eddd169 * correctly deal with writing debug information in the Stabs writer for class 13 gadi atpakaļ
dbgdwarf.pas 936bd3c902 * fixed definitions/uses of asmsymbols: always explicitly define local 12 gadi atpakaļ
dbgstabs.pas 51825b6f2e compiler: change ret_in_param to accept tabstractprocdef instead of tproccalloption to allow check more options (required for record constructor implementation) 12 gadi atpakaļ
dbgstabx.pas bc35f4b3db * fixed writing of local static symbols on AIX 13 gadi atpakaļ
defcmp.pas de56f909d5 * synchronized with trunk up to and including r25430 12 gadi atpakaļ
defutil.pas 894d400a7b + added is_farpointer(tdef) and is_hugepointer(tdef) helper functions to defutil 12 gadi atpakaļ
elfbase.pas 29c0266fb9 + Added values for DT_FLAGS and DT_FLAGS_1 dynamic tags. 12 gadi atpakaļ
export.pas 6f3bace0f3 + support for exporting Objective-C classes from dynamic libraries. It works 16 gadi atpakaļ
expunix.pas 0960ee2034 * Add missing checks for android target. 12 gadi atpakaļ
finput.pas 5a6e879248 * patch by Aleksa Todorovic: store relative include paths in PPUs, resolves #9961 12 gadi atpakaļ
fmodule.pas 88af293155 Fix for Mantis #22160 13 gadi atpakaļ
fpccrc.pas 793fd8fc09 * Add -Xg to help pages 17 gadi atpakaļ
fpcdefs.inc 6f5a648516 Improve the cpu type handling for M68k just in case we should branch 2.8.0 before I can start working on M68k again. 12 gadi atpakaļ
fppu.pas 243e3bbb77 + added i8086 memory model flags to the ppu flags and added a check that prevents the using of units compiled for different memory models 12 gadi atpakaļ
gendef.pas aee5380ae0 * merged trunk up to r20882 13 gadi atpakaļ
globals.pas 385fc9cb37 compiler: remove strange nowhere used define 12 gadi atpakaļ
globstat.pas 88af293155 Fix for Mantis #22160 13 gadi atpakaļ
globtype.pas a14ceba791 + -CTinitlocals switch for the JVM that initialises all local variables 12 gadi atpakaļ
hlcg2ll.pas 7d9f98e516 + def_cgmmsize() that returns a vector tcgsize for arraydefs (as generated 12 gadi atpakaļ
hlcgobj.pas d4968e054b + arm: tsettings.instructionset 12 gadi atpakaļ
htypechk.pas 168c9d152f Small optimization for the search of operator overloads. Add a flag "sto_has_generic" to all symtables that contain an operator overload (the flag propagates up the owning symtables) and check this flag when searching for units with operators. 12 gadi atpakaļ
impdef.pas 02413c8a57 * moved maybequoted() from cutils to cfileutl and let its behaviour vary 13 gadi atpakaļ
import.pas bf1c390027 * refactor import library generation 19 gadi atpakaļ
ldscript.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 gadi atpakaļ
link.pas 38058505ba * Changed linking infrastructure to look like assembler one: 12 gadi atpakaļ
macho.pas 814658847e * fixed comments for some comments, they were offset by one line (patch by 14 gadi atpakaļ
machoutils.pas 111d05c68f o patch by Alexander Shishkin, resolves #20409 14 gadi atpakaļ
msgidx.inc 02e054a09e + fpc -i now writes also the available inline assembler input modes 12 gadi atpakaļ
msgtxt.inc 02e054a09e + fpc -i now writes also the available inline assembler input modes 12 gadi atpakaļ
nadd.pas dac8cbcefc * Handle assigned(x) expressions entirely in first pass by converting them to "x<>nil", indicate that procedure variables should not be called by setting nf_load_procvar flag (which is already used with typeconvnode for exactly the same purpose). This allows to generate better code when assigned(x) is used on right side of assigments. Mantis #24572. 12 gadi atpakaļ
nbas.pas 541d67771b * keep managed types in registers if possible. Under certain circumstances (if they don't require init/final code, 12 gadi atpakaļ
ncal.pas be2ab84474 * make actualtargetnode a normal procedure using pointers to node so it can be used also when replacing nodes 12 gadi atpakaļ
ncgadd.pas 0a84f1f10c + avx uses add to multiply by 2 12 gadi atpakaļ
ncgbas.pas 541d67771b * keep managed types in registers if possible. Under certain circumstances (if they don't require init/final code, 12 gadi atpakaļ
ncgcal.pas 1029636dfe * far proc fixes in tcgcallnode.pass_generate_code 12 gadi atpakaļ
ncgcnv.pas f80ce76a69 + MIPS: emulate "flags", i.e. support LOC_FLAGS location. This allows to generate differently optimized code for branching and for conversion to register, typically saving a register and instruction per compare. 12 gadi atpakaļ
ncgcon.pas a308994423 * i8086 specific code from tcgpointerconstnode.pass_generate_code moved to an i8086 specific overriden method 12 gadi atpakaļ
ncgflw.pas 4a9fe5d07d * Fixed register live range in for-loops: 12 gadi atpakaļ
ncginl.pas dac8cbcefc * Handle assigned(x) expressions entirely in first pass by converting them to "x<>nil", indicate that procedure variables should not be called by setting nf_load_procvar flag (which is already used with typeconvnode for exactly the same purpose). This allows to generate better code when assigned(x) is used on right side of assigments. Mantis #24572. 12 gadi atpakaļ
ncgld.pas 0a22199738 * always use the varrec size retrieved from the system unit when advancing to the next element 12 gadi atpakaļ
ncgmat.pas cb81153cc4 * fixed tcgnotnode.second_64bit for 8/16-bit cpus after r24678 12 gadi atpakaļ
ncgmem.pas 963a488ca2 * handle also LOC_CREGISTER/LOC_CMMREGISTER in tcgvecnode.pass_generate_code, resolves #24705 12 gadi atpakaļ
ncgnstld.pas 4dee36b64b * copy the implicit pointer rather than the contents of var/out/constref 13 gadi atpakaļ
ncgnstmm.pas 39adb3dfae * fixed loading the nested framepointer when calling another nested 14 gadi atpakaļ
ncgobjc.pas 4cf5e36ce7 compiler: 14 gadi atpakaļ
ncgopt.pas 7c21cba1e2 * migrated g_copyshortstring, g_incrrefcount and g_array_rtti_helper to thlcg 13 gadi atpakaļ
ncgrtti.pas 088c06d308 * fixed class VMT generation for the i8086 medium memory model (near code, far data) by setting correctly the Tasmsymtype to each symbol according to whether it points to code or data 12 gadi atpakaļ
ncgset.pas 29c7d38e43 * 16-bit ALU fixes in tcgcasenode.genlinearcmplist 12 gadi atpakaļ
ncgutil.pas b8a76c5da2 - Removed gen_proc_symbol procedure, no longer used, replaced by thlcgobj.gen_proc_symbol method. 12 gadi atpakaļ
ncgvmt.pas 088c06d308 * fixed class VMT generation for the i8086 medium memory model (near code, far data) by setting correctly the Tasmsymtype to each symbol according to whether it points to code or data 12 gadi atpakaļ
ncnv.pas de56f909d5 * synchronized with trunk up to and including r25430 12 gadi atpakaļ
ncon.pas b57a587842 Fix for Mantis #24903. 12 gadi atpakaļ
nflw.pas cfcb4cab26 * simplify body of for loop before unrolling 12 gadi atpakaļ
ngenutil.pas a14ceba791 + -CTinitlocals switch for the JVM that initialises all local variables 12 gadi atpakaļ
ngtcon.pas 11d5d4f79d * check range of enums and booleans in typed constant expressions when 12 gadi atpakaļ
ninl.pas dac8cbcefc * Handle assigned(x) expressions entirely in first pass by converting them to "x<>nil", indicate that procedure variables should not be called by setting nf_load_procvar flag (which is already used with typeconvnode for exactly the same purpose). This allows to generate better code when assigned(x) is used on right side of assigments. Mantis #24572. 12 gadi atpakaļ
nld.pas 541d67771b * keep managed types in registers if possible. Under certain circumstances (if they don't require init/final code, 12 gadi atpakaļ
nmat.pas 1312fd72f2 * tmoddivnode.pass_typecheck: in the case of unsigned div/mod positive_const, check also the upper bound of the const, so it doesn't get truncated 12 gadi atpakaļ
nmem.pas c9096ef806 * far pointer fix in taddrnode.pass_typecheck 12 gadi atpakaļ
nobj.pas d54d38b4ab * Moved all code responsible for writing VMTs and interface wrappers (nobj.TVMTWriter, ncgutil.gen_intf_wrappers, ptype.write_persistent_type_info) into a new unit ncgvmt.pas. 12 gadi atpakaļ
nobjc.pas 0dcedf3799 * do not crash but give a fatal error when using Objective-Pascal code 15 gadi atpakaļ
node.pas dac8cbcefc * Handle assigned(x) expressions entirely in first pass by converting them to "x<>nil", indicate that procedure variables should not be called by setting nf_load_procvar flag (which is already used with typeconvnode for exactly the same purpose). This allows to generate better code when assigned(x) is used on right side of assigments. Mantis #24572. 12 gadi atpakaļ
nopt.pas 1a560e9875 * when concatenating ansistrings, do not map CP_NONE (rawbytestring) to 12 gadi atpakaļ
nset.pas 5d74e0578a compiler: remove unused variables and unneeded assignments 12 gadi atpakaļ
nstate.pas 790a4fe2d3 * log and id tags removed 20 gadi atpakaļ
nutils.pas 5d4a094799 * calculate complexity of exit nodes correctly 12 gadi atpakaļ
objcdef.pas 963a4d7b23 Commit of a completely restructured helper implementation. Instead of changing objectdefs with odt_classhelper to odt_class, they'll have the odt_helper type assigned to and this will be kept. This also implies that the parent of a helper is its true parent while the extended type is set to a field in tobjectdef (extendeddef). 14 gadi atpakaļ
objcgutl.pas 40a9762ac6 * objcprotocol symbols have to be weak in the non-fragile abi to prevent 13 gadi atpakaļ
objcutil.pas 8525a30d9f * don't generate a classClass call for objc loadvmtaddrnodes generated 13 gadi atpakaļ
ogbase.pas 1f8a67f552 + Property TObjSymbol.ObjData, allows to access owning TObjData for external/common symbols, i.e. ones with ObjSection=nil. 12 gadi atpakaļ
ogcoff.pas 1fea5a82c1 * Replaced oso_disabled flag by TExeSection.Disabled boolean property. Makes code a bit nicer to read. 12 gadi atpakaļ
ogelf.pas 1f8a67f552 + Property TObjSymbol.ObjData, allows to access owning TObjData for external/common symbols, i.e. ones with ObjSection=nil. 12 gadi atpakaļ
oglx.pas 658c46b903 * remove tdictionary and tindexarray 19 gadi atpakaļ
ogmacho.pas ac43eb9b70 + generic implementation of ReplaceForbiddenAsmSymbolChars() instead 13 gadi atpakaļ
ogmap.pas 1f8a67f552 + Property TObjSymbol.ObjData, allows to access owning TObjData for external/common symbols, i.e. ones with ObjSection=nil. 12 gadi atpakaļ
ognlm.pas 1fea5a82c1 * Replaced oso_disabled flag by TExeSection.Disabled boolean property. Makes code a bit nicer to read. 12 gadi atpakaļ
optbase.pas 49f9695cf5 * handle short boolean evaluation correctly when doing node cse 15 gadi atpakaļ
optcse.pas b4481544ef * work with actualtargetnode when checking load nodes for cse 12 gadi atpakaļ
optdead.pas 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler 13 gadi atpakaļ
optdfa.pas 709ba5e053 + introduce cnf_call_never_returns to signal the dfa if a call node never returns 12 gadi atpakaļ
options.pas 02e054a09e + fpc -i now writes also the available inline assembler input modes 12 gadi atpakaļ
optloop.pas d23a5b7c7d * store break/continue usage in a variable 12 gadi atpakaļ
opttail.pas 6ec0f2549a * factored load node flags out of node flags to gain space 14 gadi atpakaļ
optutils.pas 0af7a6f92c + has_life_info 12 gadi atpakaļ
optvirt.pas daef2efa69 - removed tstoreddef.reset() and overrides, and the associated 15 gadi atpakaļ
owar.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 gadi atpakaļ
owbase.pas e5ee1c9f67 * Don't access tcfilestream.size 3 times in sequence, as each access costs two seeks (syscalls). 13 gadi atpakaļ
parabase.pas 7566ddcc8f * add a tdef to each parameter location and set it for all target 12 gadi atpakaļ
paramgr.pas 7f2750f188 * missing part of r24776, using a build server also has pitfalls :/ 12 gadi atpakaļ
parser.pas 6d8b1e03d7 Increase status.errorcount only inside GenerateError procedure, to simplify debugging 12 gadi atpakaļ
pass_1.pas 94d976bc87 * when simplifying ordinal expressions during inlining, keep the resultdef 15 gadi atpakaļ
pass_2.pas aee5380ae0 * merged trunk up to r20882 13 gadi atpakaļ
pbase.pas f25f44605e - get rid of m_all, use a set instead for tokens, this allows to disable/enable tokens depending on the language mode 13 gadi atpakaļ
pdecl.pas fb8fb29574 * record/use the code page of string constants typecasted to an ansistring 12 gadi atpakaļ
pdecobj.pas 2fdd3e2d0a + introduce tvariantrecbranch to be able to store 12 gadi atpakaļ
pdecsub.pas 99dadf2998 compiler: allow comparative operators to have result other than Boolean. Reasons: 12 gadi atpakaļ
pdecvar.pas 0d8ad2a932 compiler: don't treat TRUE and FALSE as keywords. They are predefined constants from this moment. This change is compatible with other pascal compilers. Fixes issue #0025030 12 gadi atpakaļ
pexports.pas 9672f0537a * handle exports with a name consisting of a single character correctly 13 gadi atpakaļ
pexpr.pas 0d8ad2a932 compiler: don't treat TRUE and FALSE as keywords. They are predefined constants from this moment. This change is compatible with other pascal compilers. Fixes issue #0025030 12 gadi atpakaļ
pgenutil.pas d03507671d Fix for Mantis #24953. 12 gadi atpakaļ
pinline.pas 0968d095ed * convert function like used new into a appropriate nodes only in pass_1 so proper error checking can be carried out, resolves #24495 12 gadi atpakaļ
pmodules.pas 5aa919c2a8 compiler: have unit interface symtable in stack while parsing implementation uses list (fixes issue #10477) 12 gadi atpakaļ
pp.lpi 3d1fb1cc60 * reverted accidental commit in r22568 13 gadi atpakaļ
pp.pas 44ffc298d5 cpu_i8086 and system_i8086_msdos added to the systems.inc enums 12 gadi atpakaļ
pparautl.pas 344571cb4e Added support for type helpers. In non Delphi modes they use "type helper" and in mode Delphi they use "record helper". They can also be used on constants. 12 gadi atpakaļ
ppc68k.lpi 9ebf2aa984 * project file updates 13 gadi atpakaļ
ppc8086.lpi 6046edd8f9 + i8086/n8086cnv.pas added to lazarus project 12 gadi atpakaļ
ppcaarch64.lpi e4b0c1b284 + lazarus compiler project for aarch64 12 gadi atpakaļ
ppcarm.lpi 9ebf2aa984 * project file updates 13 gadi atpakaļ
ppcavr.lpi 9ebf2aa984 * project file updates 13 gadi atpakaļ
ppcjvm.lpi ac819b0b97 * jvm lazarus project file properly named 12 gadi atpakaļ
ppcmips.lpi 9ebf2aa984 * project file updates 13 gadi atpakaļ
ppcmipsel.lpi 9ebf2aa984 * project file updates 13 gadi atpakaļ
ppcppc.lpi 9ebf2aa984 * project file updates 13 gadi atpakaļ
ppcppc64.lpi 9ebf2aa984 * project file updates 13 gadi atpakaļ
ppcsparc.lpi 9ebf2aa984 * project file updates 13 gadi atpakaļ
ppheap.pas 0d00df6ec5 * Only -dextheaptrc sets keepreleased to tue (meaning no memory is really released by heaptrc memory manager) 13 gadi atpakaļ
ppu.pas 63a42b9da6 * incremented the ppu version as well after r25365 12 gadi atpakaļ
ppx86_64.lpi e96dc4204e * version update 13 gadi atpakaļ
procinfo.pas 5c33644e5c compiler: fix calling class methods from a nested routine of a static class method (mantis #0024865) 12 gadi atpakaļ
pstatmnt.pas d25ae84113 compiler: don't output an error twice in 'on Exception do' block if Exception is not a valid type 12 gadi atpakaļ
psub.pas 1bd43f0ea1 * Outgoing parameters on stack do not need to inhibit stack frame optimization on targets with fixed stack, because there they do not modify stack pointer in the middle of routine. 12 gadi atpakaļ
psystem.pas 0d8ad2a932 compiler: don't treat TRUE and FALSE as keywords. They are predefined constants from this moment. This change is compatible with other pascal compilers. Fixes issue #0025030 12 gadi atpakaļ
ptconst.pas 289486346b * factored out code to decide when an asmsym for a staticvarsym has to be 13 gadi atpakaļ
ptype.pas 115ddf4364 compiler: modernize exception class parse: 12 gadi atpakaļ
raatt.pas d89b9a4311 Add support in ARM assembler reader for ldr reg, =literal syntax 12 gadi atpakaļ
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from 19 gadi atpakaļ
rasm.pas 1684a6fc32 * replaced tdictionary with tfphashlist 19 gadi atpakaļ
rautils.pas d2995cbf14 - Removed ConcatPasString procedure, it duplicates ConcatString (it the past they probably used to differ, but today both preserve null characters). 12 gadi atpakaļ
regvars.pas 1c01d52ea6 * Improvements of tprocinfo class: 14 gadi atpakaļ
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 gadi atpakaļ
rgbase.pas e327b4581c Use TRegNameTable instead of array[tregisterindex] of string[10] 13 gadi atpakaļ
rgobj.pas dc567acc9a * accumulate register weight instead of taking only the maximum 12 gadi atpakaļ
scandir.pas 2e186a91fa Add support for integer constants to SetPEFlags and SetPEOptFlags. This is Delphi compatible. 12 gadi atpakaļ
scanner.pas 73dab82a7f compiler: refactor preproc_substitutedtoken - pass the searchstr into it 12 gadi atpakaļ
script.pas 0841ee6e4f * GNU ld only supports double quotes in its response file -> requote there 13 gadi atpakaļ
switches.pas 28c20cfc5e * the default string type for the JVM target is no longer automatically 14 gadi atpakaļ
symbase.pas 5aa919c2a8 compiler: have unit interface symtable in stack while parsing implementation uses list (fixes issue #10477) 12 gadi atpakaļ
symconst.pas 381c996e53 + added po_far to tprocoptions 12 gadi atpakaļ
symcreat.pas cb85846507 * fixed typo in jvm record clone implementation comment 12 gadi atpakaļ
symdef.pas 5aa919c2a8 compiler: have unit interface symtable in stack while parsing implementation uses list (fixes issue #10477) 12 gadi atpakaļ
symnot.pas 790a4fe2d3 * log and id tags removed 20 gadi atpakaļ
symsym.pas fcaad5baf2 * perform -CTlowercaseprocstart conversion it tprocsym.create rather than 12 gadi atpakaļ
symtable.pas f1f89c77c3 Finally refactor "b_needs_init_final" flag to be a symtable flag which is written to/loaded from the PPU (as discussed in the thread "Status report for "class helpers"" in fpc-devel on 29th January 2011). 12 gadi atpakaļ
symtype.pas 53ea24a0b1 Correctly specialize generics if locally declared types are used (e.g. two procedures could both define a different "TRec" type which is used to specialize a generic inside the procedures). 12 gadi atpakaļ
symutil.pas 9adb202a92 * Rework the constexprint to allow operations from low(int64) to high(qword). 18 gadi atpakaļ
systems.inc 38058505ba * Changed linking infrastructure to look like assembler one: 12 gadi atpakaļ
systems.pas 38058505ba * Changed linking infrastructure to look like assembler one: 12 gadi atpakaļ
tgobj.pas 4992fd1c88 * prevent previously freed temp blocks from getting lost occasionally (can 12 gadi atpakaļ
tokens.pas 0d8ad2a932 compiler: don't treat TRUE and FALSE as keywords. They are predefined constants from this moment. This change is compatible with other pascal compilers. Fixes issue #0025030 12 gadi atpakaļ
verbose.pas 6d8b1e03d7 Increase status.errorcount only inside GenerateError procedure, to simplify debugging 12 gadi atpakaļ
version.pas 3a4135c07b ifdef cpu86 replaced with ifdef cpui386 12 gadi atpakaļ
widestr.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 gadi atpakaļ
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 gadi atpakaļ
wpobase.pas d7f7a9bb76 * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 14 gadi atpakaļ
wpoinfo.pas 1743c6f1a8 * also recompile a unit if class/object definitions in indirectly used 15 gadi atpakaļ

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