fpc/compiler
sergei 354ebb822a * MIPS: fixed layout of stack frame in case procedure does only low-level calls (via a_call_name, etc.). A 16-byte outgoing parameter area must be allocated regardless of actual parameter count.
* Abort if attempting to emit a call without pi_do_call flag set, because the outgoing parameter area determines layout of temps and therefore cannot be created/changed during pass 2.
* Bypass g_concatcopy_move if procedure is a leaf one, due to the restriction mentioned above.

git-svn-id: trunk@23644 -
2013-02-21 20:57:38 +00:00
..
aarch64 Decrease amount of code duplication regarding handling of safecall and record constructors. 2013-01-25 20:39:28 +00:00
alpha + support for handling OS_128/OS_S128 on 64 Bit CPUs as far as needed for method pointers in registers 2012-09-06 15:12:12 +00:00
arm Fixed access to freed memory in ShiftShiftShift2ShiftShift 1a on ARM 2013-02-17 00:01:00 +00:00
avr + patch by Justin Smyth to support the lpc1343, resolves #23844 2013-02-14 20:38:53 +00:00
generic * Remove triple sources 2011-07-08 15:37:23 +00:00
html
i386 + Merge the targetandroid branch. Support for arm and i386 android targets. 2013-02-13 12:00:15 +00:00
ia64 * -O4 switch for optimizations which are correct but which might have unexpected effects 2012-08-09 18:58:54 +00:00
jvm * fixed automatic setter generation if only a setter and no getter prefix 2013-02-02 15:21:58 +00:00
m68k Fix passing of Doubles on m68k processors that don't have FPU support. 2013-02-12 11:04:20 +00:00
mips * MIPS: fixed layout of stack frame in case procedure does only low-level calls (via a_call_name, etc.). A 16-byte outgoing parameter area must be allocated regardless of actual parameter count. 2013-02-21 20:57:38 +00:00
msg * updates of german message files by Karl-Michael Schindler 2013-02-14 18:54:26 +00:00
powerpc - removed ppc-specific tcgpara.composite field, it's no longer used or 2013-02-06 15:37:50 +00:00
powerpc64 * pass the procdef to getintparaloc instead of only the proccalloption, so 2013-01-06 15:05:40 +00:00
ppcgen * pass the procdef to getintparaloc instead of only the proccalloption, so 2013-01-06 15:05:40 +00:00
sparc compiler: change ret_in_param to accept tabstractprocdef instead of tproccalloption to allow check more options (required for record constructor implementation) 2013-01-16 01:14:23 +00:00
systems + write a build-id section for arm-embedded 2013-02-17 18:56:49 +00:00
utils * Fixed ppudump after changes in r22266. 2013-02-20 13:45:59 +00:00
vis + ossinttype/osuinttype defs that correspond to OS_SINT/OS_INT for use in 2012-05-12 16:03:15 +00:00
x86 * Sync with trunk r23500. 2013-01-23 07:53:13 +00:00
x86_64 Decrease amount of code duplication regarding handling of safecall and record constructors. 2013-01-25 20:39:28 +00:00
aasmbase.pas * cleanup some unused units from uses clauses 2012-09-21 18:53:46 +00:00
aasmdata.pas * Add missing checks for android target. 2013-01-21 12:08:25 +00:00
aasmsym.pas
aasmtai.pas + shifterop for ARM64 2012-11-01 20:11:15 +00:00
aggas.pas * Add missing checks for android target. 2013-01-21 12:08:25 +00:00
agjasmin.pas * initialise dollarsign field of jasmin tasminfo 2012-10-21 17:56:16 +00:00
aopt.pas * more consistent updates of used registers 2012-08-22 19:52:15 +00:00
aoptbase.pas + RegModifiedBetween 2012-08-23 21:03:14 +00:00
aoptcs.pas * RefsHaveIndexReg -> cpurefshaveindexreg 2012-03-10 19:43:52 +00:00
aoptda.pas
aoptobj.pas * ignore alignment entries in FindLabel 2012-09-04 10:43:44 +00:00
asmutils.pas * Changed section for ansi/wide/unicodestring constants, resourcestrings (content only) and dataconstnodes from sec_rodata to sec_rodata_norel, because they never contain relocations. 2012-11-18 17:00:18 +00:00
assemble.pas Fix cycle/build with -al 2013-02-19 10:11:39 +00:00
browcol.pas Avoid range check error in IDE by changing value of sfHasMemInfo constant to fit with longint value 2012-11-07 16:22:57 +00:00
bsdcompile
catch.pas
ccharset.pas * make compiler compilable with 2.4.4 rtl 2011-09-28 18:54:32 +00:00
cclasses.pas - Removed a number of unused variables, reduces noise at compilation. 2012-10-30 11:55:59 +00:00
cfidwarf.pas
cfileutl.pas * make ansistring unique before starting to change it using a pchar 2012-11-24 13:15:54 +00:00
cg64f32.pas cg64f32.pas, tcg64f32.a_load64_*_cgpara: 2012-11-04 19:12:57 +00:00
cgbase.pas - Revert {$J-} accidentally committed in r23555. 2013-02-01 16:49:46 +00:00
cghlcpu.pas + cghlcpu unit with thlbasecgcpu class that overrides all abstract tcg 2012-04-28 14:27:31 +00:00
cgobj.pas compiler: remove unused variables and unneeded assignments 2013-01-21 01:24:36 +00:00
cgutils.pas + support for handling OS_128/OS_S128 on 64 Bit CPUs as far as needed for method pointers in registers 2012-09-06 15:12:12 +00:00
cmsgs.pas compiler: 2011-11-02 09:20:59 +00:00
comphook.pas Increase status.errorcount only inside GenerateError procedure, to simplify debugging 2013-01-16 09:45:57 +00:00
compiler.pas - initial support for the android/arm target in the compiler; resulting .so's can be used for Android/ARM app development. 2012-04-26 09:36:42 +00:00
compinnr.inc + pseudo procedure aligned: tells the compiler to assume that the given parameter is naturally aligned, counterpart of unaligned 2013-01-04 19:13:24 +00:00
comprsrc.pas * replaced most (if not all) remaining fields/parameters in the compiler 2012-04-29 17:36:23 +00:00
constexp.pas - 2.0 overlefts removed 2012-11-18 17:07:57 +00:00
COPYING.txt
cp437.pas * fixes bootstrapping with 2.6.0 2011-10-15 12:42:33 +00:00
cp646.pas Use the ccharset unit instead of charset when compiling with 2.6.0 like is done for the other cp* units. 2012-09-19 13:56:25 +00:00
cp850.pas * fixes bootstrapping with 2.6.0 2011-10-15 12:42:33 +00:00
cp866.pas * fixes bootstrapping with 2.6.0 2011-10-15 12:42:33 +00:00
cp1251.pas * fixes bootstrapping with 2.6.0 2011-10-15 12:42:33 +00:00
cp1252.pp * fixes bootstrapping with 2.6.0 2011-10-15 12:42:33 +00:00
cp1253.pp + Added Greek code page 1253 to the compiler to have support for the third modern code page (in addition to cp1251 and cp1252). It is needed to be able to define "type AnsiString(1253)" in tests. Previously I used cp1252 for tests with Euro symbol conversions. But for unknown reason cp1252 does not have the Euro symbol with code $80 on Unix systems (libiconv bug?). In other hand cp1253 has the Euro symbol with code $80 as expected. 2013-02-14 11:29:47 +00:00
cp8859_1.pas * fixes bootstrapping with 2.6.0 2011-10-15 12:42:33 +00:00
cp8859_5.pas * fixes bootstrapping with 2.6.0 2011-10-15 12:42:33 +00:00
cpid.pas merge r14347 from cpstrnew branch by florian: 2011-09-17 12:00:06 +00:00
crefs.pas
cresstr.pas * Changed section for ansi/wide/unicodestring constants, resourcestrings (content only) and dataconstnodes from sec_rodata to sec_rodata_norel, because they never contain relocations. 2012-11-18 17:00:18 +00:00
cstreams.pas * typo fixed 2011-12-31 16:25:19 +00:00
cutils.pas + more sophisticated code to optimize multiplications on arm 2012-09-03 13:39:45 +00:00
cwindirs.pp
dbgbase.pas * correctly deal with writing debug information in the Stabs writer for class 2012-07-26 14:27:10 +00:00
dbgdwarf.pas Fix bug introduced by myself for win32 dwarf info generation Bug #23365 and 23330 2012-11-22 13:49:21 +00:00
dbgstabs.pas compiler: change ret_in_param to accept tabstractprocdef instead of tproccalloption to allow check more options (required for record constructor implementation) 2013-01-16 01:14:23 +00:00
dbgstabx.pas * fixed writing of local static symbols on AIX 2012-10-14 15:59:49 +00:00
defcmp.pas Fix the fix for Mantis #21538. The check never really worked up to now... 2012-12-15 21:43:52 +00:00
defutil.pas + is_dynamicstring 2012-11-04 21:48:53 +00:00
elfbase.pas * Made TElfExeOutput.CreatePLT method protected virtual, so CPU-specific handling can be provided by descendants. 2013-01-07 15:22:04 +00:00
export.pas - removed extra "fordefinition" parameter again from tprocdef.mangledname(), 2011-08-20 07:49:31 +00:00
expunix.pas * Add missing checks for android target. 2013-01-21 12:08:25 +00:00
finput.pas Allow compilation of ppudump with -dHEAPTRC command line option 2012-09-19 07:08:35 +00:00
fmodule.pas Fix for Mantis #22160 2012-09-25 09:45:25 +00:00
fpccrc.pas
fpcdefs.inc - disabled Stabs support on 64 bit targets (mantis #23365) 2012-11-24 13:15:58 +00:00
fppu.pas compiler: remove unused variables and unneeded assignments 2013-01-21 01:24:36 +00:00
gendef.pas * merged trunk up to r20882 2012-04-15 15:54:10 +00:00
globals.pas compiler: add comment for all application types 2013-02-13 02:05:07 +00:00
globstat.pas Fix for Mantis #22160 2012-09-25 09:45:25 +00:00
globtype.pas + make empty proc. removal switchable by removeemptyprocs 2013-02-14 21:40:04 +00:00
hlcg2ll.pas * fix register method pointer for ppc64 and x86_64-linux 2012-09-07 15:15:10 +00:00
hlcgobj.pas compiler: change ret_in_param to accept tabstractprocdef instead of tproccalloption to allow check more options (required for record constructor implementation) 2013-01-16 01:14:23 +00:00
htypechk.pas + pseudo procedure aligned: tells the compiler to assume that the given parameter is naturally aligned, counterpart of unaligned 2013-01-04 19:13:24 +00:00
impdef.pas * moved maybequoted() from cutils to cfileutl and let its behaviour vary 2012-04-16 19:52:36 +00:00
import.pas
ldscript.pas + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 2012-08-21 08:37:39 +00:00
link.pas + chmod 755 on executable files produced by internal linker. I missed this "small" detail for half a year because all development was going on a NTFS drive where everything is executable. 2013-01-13 17:18:11 +00:00
macho.pas
machoutils.pas o patch by Alexander Shishkin, resolves #20409 2011-10-05 20:11:09 +00:00
Makefile * Updated makefile. 2013-02-13 20:28:25 +00:00
Makefile.fpc + instruction table generator for arm64 2012-11-01 16:11:19 +00:00
MPWMake
msgidx.inc Disallow "protected" and "strict protected" in extended records (Delphi compatible). 2013-02-11 18:46:47 +00:00
msgtxt.inc Disallow "protected" and "strict protected" in extended records (Delphi compatible). 2013-02-11 18:46:47 +00:00
nadd.pas Added initial support for the Cortex-M4F FPv4_S16 FPU 2012-10-08 20:10:45 +00:00
nbas.pas * only don't pre-finalize funcret temps that are passed by reference to the 2012-07-23 23:55:00 +00:00
ncal.pas + make empty proc. removal switchable by removeemptyprocs 2013-02-14 21:40:04 +00:00
ncgadd.pas * throw an internal error if code generation depends on expectloc but expectloc and real loc do not match 2012-08-13 15:02:55 +00:00
ncgbas.pas * report resolveref errors on the correct line number 2012-12-15 22:54:22 +00:00
ncgcal.pas 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. 2013-02-06 09:49:35 +00:00
ncgcnv.pas * type casting could force pointers into sub registers, so handle them when converting the pointer to an array 2013-02-10 20:50:12 +00:00
ncgcon.pas * Changed section for ansi/wide/unicodestring constants, resourcestrings (content only) and dataconstnodes from sec_rodata to sec_rodata_norel, because they never contain relocations. 2012-11-18 17:00:18 +00:00
ncgflw.pas * pass the procdef to getintparaloc instead of only the proccalloption, so 2013-01-06 15:05:40 +00:00
ncginl.pas + pseudo procedure aligned: tells the compiler to assume that the given parameter is naturally aligned, counterpart of unaligned 2013-01-04 19:13:24 +00:00
ncgld.pas * Add missing checks for android target. 2013-01-21 12:08:25 +00:00
ncgmat.pas * restored accidentally removed call to fpc_handleerror in r23325 2013-01-06 19:46:21 +00:00
ncgmem.pas * type casting could force class variables into sub registers, so handle them in subscript nodes as well 2013-02-10 10:06:36 +00:00
ncgnstld.pas * copy the implicit pointer rather than the contents of var/out/constref 2011-11-18 21:09:38 +00:00
ncgnstmm.pas * fixed loading the nested framepointer when calling another nested 2011-09-20 22:22:26 +00:00
ncgobjc.pas compiler: 2011-09-28 01:18:43 +00:00
ncgopt.pas * migrated g_copyshortstring, g_incrrefcount and g_array_rtti_helper to thlcg 2012-06-24 21:36:28 +00:00
ncgrtti.pas Add missing of pi_needs_got found by sparc compiler compiled with -dCHECK_PIC 2012-10-05 15:02:47 +00:00
ncgset.pas * factored out tcginnode.in_smallset 2012-08-11 22:07:36 +00:00
ncgutil.pas * gen_load_cgpara_loc, MIPS-specific: added missing calls to unget_para, and disabled part that loads upper and lower halves of Double values from integer registers. It produces invalid code, but that's hidden by MIPS code generator copying all parameters to stack (so this code is never executed). 2013-02-15 22:05:24 +00:00
ncnv.pas compiler: convert unicode constants which are > 127 to AnsiString (except UTF8String) in runtime to prevent conversion to wrong codepage (read issue #0021195) 2013-02-14 09:01:07 +00:00
ncon.pas * fix trealconstnode.dogetcopy and trealconstnode.docompare, taking care of all fields, resolves #23486 2012-12-28 14:16:09 +00:00
nflw.pas * let type conversion nodes handle type checking for if/while/repeat 2013-01-26 21:28:22 +00:00
ngenutil.pas compiler: remove unused variables and unneeded assignments 2013-01-21 01:24:36 +00:00
ngtcon.pas * support pointer constants as initialisation values for procvar typed 2012-05-20 14:51:15 +00:00
ninl.pas + pseudo procedure aligned: tells the compiler to assume that the given parameter is naturally aligned, counterpart of unaligned 2013-01-04 19:13:24 +00:00
nld.pas * reject assignments to vecn[rangen] (mantis #22941) 2012-09-21 22:42:30 +00:00
nmat.pas * overleft newline fix 2012-12-03 21:56:01 +00:00
nmem.pas compiler: calculate offset of record fields in taddrnode also for bitpacked structures (Jonas comment in bug #0019357) 2013-01-18 01:56:55 +00:00
nobj.pas + make empty proc. removal switchable by removeemptyprocs 2013-02-14 21:40:04 +00:00
nobjc.pas
node.pas 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. 2013-02-06 09:49:35 +00:00
nopt.pas * fixed genmultistringadd() optimization for jvm and enabled it 2012-04-16 20:51:51 +00:00
nset.pas compiler: remove unused variables and unneeded assignments 2013-01-21 01:24:36 +00:00
nstate.pas
nutils.pas + pseudo procedure aligned: tells the compiler to assume that the given parameter is naturally aligned, counterpart of unaligned 2013-01-04 19:13:24 +00:00
objcdef.pas
objcgutl.pas * objcprotocol symbols have to be weak in the non-fragile abi to prevent 2011-12-17 12:43:42 +00:00
objcutil.pas * don't generate a classClass call for objc loadvmtaddrnodes generated 2012-03-29 20:54:47 +00:00
ogbase.pas - TObjData.sectiontype2options: removed oso_keep flags. They don't have any effect here because this function is used only during assembling, and oso_keep cannot be represented in object files and therefore gets lost before linking. 2013-01-11 17:14:44 +00:00
ogcoff.pas + PECOFF targets: support more than 65535 relocations per object section, resolves #23752. DJCOFF targets: give a fatal error, since this object file format does not support extended relocations. 2013-01-26 16:15:59 +00:00
ogelf.pas + Merge the targetandroid branch. Support for arm and i386 android targets. 2013-02-13 12:00:15 +00:00
oglx.pas
ogmacho.pas + generic implementation of ReplaceForbiddenAsmSymbolChars() instead 2012-04-11 18:01:57 +00:00
ogmap.pas
ognlm.pas * Don't calculate data position of each object section. Instead, write out a copy of exesection's memory image, i.e. every objsection is placed at the same offset from its owning exesection both on disk and in memory. This approach is simpler and works regardless of alignment requirements, while existing one could work only if SectionDataAlign<=SectionMemAlign. 2013-01-02 10:10:23 +00:00
optbase.pas
optcse.pas compiler: remove unused variables and unneeded assignments 2013-01-21 01:24:36 +00:00
optdead.pas * replaced most (if not all) remaining fields/parameters in the compiler 2012-04-29 17:36:23 +00:00
optdfa.pas * handle for-loops correctly if the limits contain the counter variable 2011-12-30 10:54:08 +00:00
options.pas * Use standard Android NDK prefixes for binutils by default. 2013-02-13 17:35:55 +00:00
optloop.pas * improved for loop unrolling 2012-09-04 21:34:00 +00:00
opttail.pas * factored load node flags out of node flags to gain space 2011-10-30 15:14:21 +00:00
optutils.pas
optvirt.pas - removed extra "fordefinition" parameter again from tprocdef.mangledname(), 2011-08-20 07:49:31 +00:00
owar.pas + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 2012-08-21 08:37:39 +00:00
owbase.pas * Don't access tcfilestream.size 3 times in sequence, as each access costs two seeks (syscalls). 2012-07-12 16:10:34 +00:00
parabase.pas - removed ppc-specific tcgpara.composite field, it's no longer used or 2013-02-06 15:37:50 +00:00
paramgr.pas - removed ppc-specific tcgpara.composite field, it's no longer used or 2013-02-06 15:37:50 +00:00
parser.pas Increase status.errorcount only inside GenerateError procedure, to simplify debugging 2013-01-16 09:45:57 +00:00
pass_1.pas
pass_2.pas * merged trunk up to r20882 2012-04-15 15:54:10 +00:00
pbase.pas - get rid of m_all, use a set instead for tokens, this allows to disable/enable tokens depending on the language mode 2012-09-30 21:03:35 +00:00
pdecl.pas 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. 2013-02-06 09:49:35 +00:00
pdecobj.pas 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. 2013-02-06 09:49:35 +00:00
pdecsub.pas Fix a memory leak spotted by Blaise Thorn 2013-01-30 15:29:29 +00:00
pdecvar.pas * when automatically generating (s|g)etters, make sure that the visibility of 2013-01-30 22:36:03 +00:00
pexports.pas * handle exports with a name consisting of a single character correctly 2012-07-22 14:23:09 +00:00
pexpr.pas 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. 2013-02-06 09:49:35 +00:00
pgenutil.pas 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. 2013-02-06 09:49:35 +00:00
pinline.pas * allow type parameters variables being passed to new/dispose, resolves #23270 2012-11-09 20:46:30 +00:00
pmodules.pas compiler: remove unused variables and unneeded assignments 2013-01-21 01:24:36 +00:00
pp.lpi * reverted accidental commit in r22568 2012-10-07 19:46:59 +00:00
pp.pas + defines for aarch64 to configure the compiler 2012-10-31 21:51:04 +00:00
pparautl.pas 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. 2013-02-06 09:49:35 +00:00
ppc68k.lpi * project file updates 2012-09-08 21:58:45 +00:00
ppcaarch64.lpi + lazarus compiler project for aarch64 2012-12-16 12:35:02 +00:00
ppcarm.lpi * project file updates 2012-09-08 21:58:45 +00:00
ppcavr.lpi * project file updates 2012-09-08 21:58:45 +00:00
ppcmips.lpi * project file updates 2012-09-08 21:58:45 +00:00
ppcmipsel.lpi * project file updates 2012-09-08 21:58:45 +00:00
ppcppc64.lpi * project file updates 2012-09-08 21:58:45 +00:00
ppcppc.lpi * project file updates 2012-09-08 21:58:45 +00:00
ppcsparc.lpi * project file updates 2012-09-08 21:58:45 +00:00
ppheap.pas * Only -dextheaptrc sets keepreleased to tue (meaning no memory is really released by heaptrc memory manager) 2012-09-19 07:57:31 +00:00
ppu.pas - removed ppc-specific tcgpara.composite field, it's no longer used or 2013-02-06 15:37:50 +00:00
ppx86_64.lpi * version update 2012-06-03 18:55:44 +00:00
procinfo.pas + nested exit support 2013-01-04 19:09:04 +00:00
pstatmnt.pas compiler: change ret_in_param to accept tabstractprocdef instead of tproccalloption to allow check more options (required for record constructor implementation) 2013-01-16 01:14:23 +00:00
psub.pas + make empty proc. removal switchable by removeemptyprocs 2013-02-14 21:40:04 +00:00
psystem.pas * Define CExtended and clongdouble as double for Android. 2013-01-22 11:16:22 +00:00
ptconst.pas * factored out code to decide when an asmsym for a staticvarsym has to be 2012-08-25 15:12:39 +00:00
ptype.pas Disallow "protected" and "strict protected" in extended records (Delphi compatible). 2013-02-11 18:46:47 +00:00
raatt.pas * lastdirective should be always AS_END 2012-10-21 10:03:04 +00:00
rabase.pas
rasm.pas
rautils.pas compiler: change ret_in_param to accept tabstractprocdef instead of tproccalloption to allow check more options (required for record constructor implementation) 2013-01-16 01:14:23 +00:00
README.txt
regvars.pas
rescmn.pas + fcl-res support for xcoff/aix 2012-04-11 18:06:33 +00:00
rgbase.pas Use TRegNameTable instead of array[tregisterindex] of string[10] 2012-10-22 10:23:21 +00:00
rgobj.pas Also check for the type of the register when replacing it. In certain circumstances this can still lead to access to invalid memory resulting either in an access violation or invalid registers. 2012-10-19 19:35:45 +00:00
scandir.pas compiler: set apptype using new SetAppType routine, add 'CONSOLE' define for console apptype. 2013-02-13 03:21:03 +00:00
scanner.pas compiler: set apptype using new SetAppType routine, add 'CONSOLE' define for console apptype. 2013-02-13 03:21:03 +00:00
script.pas * GNU ld only supports double quotes in its response file -> requote there 2012-05-03 12:41:16 +00:00
switches.pas * the default string type for the JVM target is no longer automatically 2011-08-20 08:35:47 +00:00
symbase.pas + TSymtablestack.getcopyuntil() method that creates a copy of a 2011-08-20 08:12:29 +00:00
symconst.pas 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. 2013-02-06 09:49:35 +00:00
symcreat.pas * fixed typo in jvm record clone implementation comment 2013-01-26 21:28:30 +00:00
symdef.pas 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. 2013-02-06 09:49:35 +00:00
symnot.pas
symsym.pas * records with two times the size of a register can be kept in registers 2013-01-04 21:48:41 +00:00
symtable.pas * use same symtable check in sym_is_owned_by() as in is_owned_by() to 2013-02-06 21:39:43 +00:00
symtype.pas Add support for generic type constraints. They are currently only useful to stop specialization of a generic. The parsing of a generic is still too lax and needs to be changed in the future... 2012-12-16 13:44:58 +00:00
symutil.pas
systems.inc Rebase with r21814 2012-07-07 23:09:20 +00:00
systems.pas * Add missing checks for android target. 2013-01-21 12:08:25 +00:00
tgobj.pas * keep track of required stack frame alignment (this information is however 2012-09-02 14:32:26 +00:00
tokens.pas + constant postfixoperator_tokens 2012-11-04 19:21:19 +00:00
verbose.pas Increase status.errorcount only inside GenerateError procedure, to simplify debugging 2013-01-16 09:45:57 +00:00
version.pas * Restore 'mips' name as cpumipseb source_cpu_string 2012-06-20 23:51:36 +00:00
widestr.pas + Added Greek code page 1253 to the compiler to have support for the third modern code page (in addition to cp1251 and cp1252). It is needed to be able to define "type AnsiString(1253)" in tests. Previously I used cp1252 for tests with Euro symbol conversions. But for unknown reason cp1252 does not have the Euro symbol with code $80 on Unix systems (libiconv bug?). In other hand cp1253 has the Euro symbol with code $80 as expected. 2013-02-14 11:29:47 +00:00
wpo.pas
wpobase.pas * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 2011-09-27 20:22:40 +00:00
wpoinfo.pas

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