olle
61645ef149
+ Added CurDirRelPath
...
* Exchanged hardcoded "./" to CurDirRelPath
2004-10-09 11:27:59 +00:00
Tomas Hajny
5df0c00360
* better PathExists, fix for too long command line, correction of message
2004-09-21 23:33:43 +00:00
peter
690f5e22d1
* x86_64 fixes
...
* cleanup of fpcdefs.icn
2004-09-21 19:59:51 +00:00
peter
33a834821f
* paraloc branch merged
2004-09-21 17:25:12 +00:00
michael
41f7fa8c37
+ Check if outputdir exists, Fix exitcode when displaying help pages
2004-09-08 11:23:30 +00:00
olle
22a93eb1e9
+ support for quoting of paths in TSearchPathList.AddPath so that
...
compiler directives which take paths, will support quotes.
* uppdated TranslateMacPath
2004-08-31 22:02:30 +00:00
peter
2043999880
* optimized search for noncasesensitive names. It now searches
...
first for NormalCase and skips double tests
2004-08-28 20:25:25 +00:00
olle
2a4605eabc
+ made fpc work as an MPW tool, by itself calling asm and link.
...
* bugfix in fp exception flag settings routine
2004-08-20 10:29:31 +00:00
michael
ff069c5ecc
+ Patch from Christian Iversen to implement LIBPREFIX/SUFFIX/EXTENSION directives
2004-08-02 07:15:54 +00:00
Jonas Maebe
75c3c8b259
* shell now returns an exitcode
...
* print an error if linking failed when linking was done using a script
2004-07-17 15:51:57 +00:00
olle
6b77630880
+ FixFileName now handles Mac OS paths
2004-07-05 23:28:24 +00:00
florian
8a9758c5e2
* logs truncated
2004-06-20 08:55:28 +00:00
florian
588e2c38bf
* dwarf branch merged
2004-06-16 20:07:06 +00:00
olle
e5625e3af4
* changed $mode mac to $mode macpas
...
* changed macmodeswitches to be more faithful to the mac dialect
2004-05-11 18:20:52 +00:00
daniel
b721e5872c
* Prepare compiler infrastructure for multiple ansistring types
2004-04-29 19:56:36 +00:00
florian
c68ea95074
+ syscall directive support for MorphOS added
2004-04-28 15:19:03 +00:00
peter
ba9f4a0703
* packrecords fixed for settings from $PACKRECORDS
...
* default packrecords now uses value 0 and uses info from aligment
structure only, initpackrecords removed
2004-03-14 20:08:37 +00:00
olle
dfa6403a70
+ Support for Link on target especially for MacOS
...
+ TLinkerMPW
+ TAsmScriptMPW
2004-02-19 20:40:15 +00:00
florian
4f90e4afdc
+ PtrInt declared if VER1_0
2004-02-08 16:38:51 +00:00
peter
8caaa7740d
* more record alignment fixes
2004-01-28 22:16:31 +00:00
florian
4ccec73aa5
* fixed alignment of classes
2004-01-28 21:05:56 +00:00
florian
85bed883ce
* another bunch of x86-64 fixes mainly calling convention and
...
assembler reader related
2004-01-14 23:39:05 +00:00
peter
32173c41fa
* removed asmmode_direct
2004-01-12 16:36:53 +00:00
Jonas Maebe
c094978054
+ SetFPUExceptionMask implementation for PPC
2004-01-02 16:50:24 +00:00
florian
06442fa677
+ $fputype directive support
...
+ single data type operations with sse unit
* fixed more x86-64 stuff
2003-12-25 01:07:09 +00:00
florian
9fd5217032
* some x86-64 compilation fixe
2003-12-20 12:38:51 +00:00
florian
a567970402
* fixed several arm related problems
2003-11-30 19:35:29 +00:00
florian
1af574ceca
* assembler readers OOPed
...
+ typed currency constants
+ typed 128 bit float constants if the CPU supports it
2003-11-12 16:05:39 +00:00
marco
80abe98cf0
* havelinuxrtl10 fixes
2003-11-10 17:22:28 +00:00
florian
bbf7300a0c
* Florian's culmutative nr. 1; contains:
...
- invalid calling conventions for a certain cpu are rejected
- arm softfloat calling conventions
- -Sp for cpu dependend code generation
- several arm fixes
- remaining code for value open array paras on heap
2003-11-07 15:58:32 +00:00
peter
3f2d99d04f
* delphi mode uses packenum 1
2003-10-23 17:18:56 +00:00
marco
d4a94d9294
* -Xc -Xr support
2003-10-22 15:40:44 +00:00
peter
fcabdbbf35
* fixed unitsym-globalsymtable relation so the uses of a unit
...
is counted correctly
2003-10-22 15:22:33 +00:00
marco
d841f44994
* -Xd
2003-10-11 19:32:04 +00:00
mazen
25dc5f7e80
+ ASMMODE ATT added to bypass fpc.cfg defaults
2003-10-08 14:10:16 +00:00
peter
3a92a2a25a
* parameter alignment fixes
2003-10-03 22:00:33 +00:00
marco
487650ab51
* -XP<prefix> support
2003-10-03 14:16:48 +00:00
peter
7d3f0468e4
* delphi and tp7 mode use intel asm by default
2003-10-02 21:16:18 +00:00
peter
70fe77ca7c
* procinfo unit contains tprocinfo
...
* cginfo renamed to cgbase
* moved cgmessage to verbose
* fixed ppc and sparc compiles
2003-10-01 20:34:48 +00:00
florian
cedff1a593
+ processor type intialization for x86-64 added
2003-09-24 17:13:22 +00:00
marco
86cdc8f4d1
* BSD 1.0.x still uses st_ prefixes.
2003-09-18 15:38:17 +00:00
peter
76a53a375d
* varspez in calls to push_addr_param
2003-09-16 16:17:01 +00:00
marco
cf0c2af370
* fixed
2003-09-15 20:11:06 +00:00
marco
4144f93ce5
* Unix reform
2003-09-14 20:26:18 +00:00
Jonas Maebe
d6fead1277
* fixed compilation for non-x86
2003-09-14 12:55:06 +00:00
peter
b9d09a4e5c
* preparations for different default calling conventions
...
* various RA fixes
2003-09-07 22:09:34 +00:00
florian
eb9a587759
+ support of NaN and Inf in the compiler as values of real constants
2003-09-06 16:47:24 +00:00
florian
22f1ff8da4
* merged Wiktor's Watcom patches in 1.1
2003-09-05 17:41:12 +00:00
olle
30938b72a7
+ added new lagnuage mode: MAC
2003-09-04 21:37:29 +00:00
florian
220e05dd5e
* fixed arm concatcopy
...
+ arm support in the common compiler sources added
* moved some generic cg code around
+ tfputype added
* ...
2003-09-03 11:18:36 +00:00
florian
995f7e0f11
* fix some small flaws which prevent sparc linux system unit from compiling
...
* some reformatting done
2003-05-23 22:33:48 +00:00
peter
c9ecdb1a24
* fix previous commit for unix
2003-05-23 15:03:31 +00:00
peter
24e4003aa3
* FindFilePChar added to allow PATH variables > 256 chars
2003-05-23 14:39:56 +00:00
peter
92ee1804b6
* removed selfpointer_offset, vmtpointer_offset
...
* tvarsym.adjusted_address
* address in localsymtable is now in the real direction
* removed some obsolete globals
2003-05-15 18:58:53 +00:00
peter
60978ba89c
* aktprocdef renamed to current_procdef
...
* procinfo renamed to current_procinfo
* procinfo will now be stored in current_module so it can be
cleaned up properly
* gen_main_procsym changed to create_main_proc and release_main_proc
to also generate a tprocinfo structure
* fixed unit implicit initfinal
2003-04-27 11:21:32 +00:00
peter
7f14891d66
* aktprocdef cleanup, aktprocdef is now always nil when parsing
...
a new procdef declaration
* aktprocsym removed
* lexlevel removed, use symtable.symtablelevel instead
* implicit init/final code uses the normal genentry/genexit
* funcret state checking updated for new funcret handling
2003-04-27 07:29:50 +00:00
peter
f4b818fc1d
* removed funcretn,funcretsym, function result is now in varsym
...
and aliases for result and function name are added using absolutesym
* vs_hidden parameter for funcret passed in parameter
* vs_hidden fixes
* writenode changed to printnode and released from extdebug
* -vp option added to generate a tree.log with the nodetree
* nicer printnode for statements, callnode
2003-04-25 20:59:33 +00:00
peter
9ed2ce8c12
* removed some notes/hints
2003-04-22 14:33:38 +00:00
Tomas Hajny
8e7124f9f8
+ emx target added
2003-03-23 23:11:17 +00:00
peter
7391487daa
* amiga path fix (merged)
2003-01-30 21:45:53 +00:00
peter
71e2d34b5a
* m68k pathexist update from 1.0.x
...
* palmos res update from 1.0.x
2003-01-12 15:42:23 +00:00
marco
04b80d3123
* more hasunix fixes
2003-01-10 21:49:00 +00:00
Tomas Hajny
7248252a23
* modified to make use of the common GetEnv code under OS/2
2003-01-04 16:20:44 +00:00
peter
78213ee091
* delphi also has pointer archimetic
2002-12-25 01:26:17 +00:00
carl
081a4aab35
* 3% memory optimization
...
* changed some types
+ added type checking with different size for call node and for
parameters
2002-12-07 14:27:07 +00:00
peter
2183d2edde
* amiga fixes merged
2002-12-06 17:50:00 +00:00
carl
eeea5fdae0
* warning of portabilitiy problems with parasize / localsize
...
+ some added documentation
2002-12-01 22:07:41 +00:00
carl
6f5c977415
- cs_fp_emulation is no longer automatic for m68k target
2002-11-30 23:13:48 +00:00
carl
a62998ff03
* fix bug n last commit (this bug was only detected gby 1.0.x, fixed)
2002-11-30 11:08:46 +00:00
pierre
a47e4fb345
* remove double in delphimodeswitches to allow compilation with -Cr option
2002-11-30 00:34:20 +00:00
carl
5c5db0e0a3
+ unimplemented hint directive added
...
* hint directive parsing implemented
* warning on these directives
2002-11-29 22:31:19 +00:00
mazen
11b3fa6d81
+ TSearchPathList.AddPath supports a local path in addition to file name
2002-11-20 10:11:46 +00:00
carl
cd256ebfb4
- browser information is off by default
2002-11-16 14:49:12 +00:00
peter
bfd72ad5d5
* merged changes from 1.0.7 up to 04-11
...
- -V option for generating bug report tracing
- more tracing for option parsing
- errors for cdecl and high()
- win32 import stabs
- win32 records<=8 are returned in eax:edx (turned off by default)
- heaptrc update
- more info for temp management in .s file with EXTDEBUG
2002-11-15 01:58:45 +00:00
carl
fd24f60a1c
+ added var_align/const_align routines
2002-11-09 15:38:39 +00:00
peter
83dae76625
+ $IMPLICITEXCEPTIONS switch to turn on/off generation of the
...
implicit exception frames for procedures with initialized variables
and for constructors. The default is on for compatibility
2002-10-16 19:01:43 +00:00
peter
8b5e92cb3c
* removed repetitive pass counting
...
* display heapsize also for extdebug
2002-09-05 19:28:29 +00:00
peter
91b49914f6
* More fixes for cross unit inlining, all tnodes are now implemented
...
* Moved pocall_internconst to po_internconst because it is not a
calling type at all and it conflicted when inlining of these small
functions was requested
2002-08-19 19:36:42 +00:00
carl
9da171faf2
+ stab register indexes for powerpc (moved from gdb to cpubase)
...
+ tprocessor enumeration moved to cpuinfo
+ linker in target_info is now a class
* many many updates for m68k (will soon start to compile)
- removed some ifdef or correct them for correct cpu
2002-08-12 15:08:39 +00:00
carl
18b102ce95
+ moved target_cpu_string to cpuinfo
...
* renamed asmmode enum.
* assembler reader has now less ifdef's
* move from nppcmem.pas -> ncgmem.pas vec. node.
2002-08-10 14:46:29 +00:00
florian
3fe0229843
+ added direct assembler reader for PowerPC
2002-07-28 20:45:22 +00:00
florian
4f7b35be5b
+ source code page support
2002-07-20 17:11:48 +00:00
peter
4285e99853
* internal linker
...
* reorganized aasm layer
2002-07-01 18:46:20 +00:00
peter
68ce5a00e5
* cg64 patch
...
* basics for currency
* asnode updates for class and interface (not finished)
2002-07-01 16:23:52 +00:00
peter
06ebac4e27
* readded missing revisions
2002-05-18 13:34:04 +00:00
carl
21b3a10f02
+ defines.inc -> fpcdefs.inc to avoid conflicts if compiling by hand
...
+ try to fix temp allocation (still in ifdef)
+ generic constructor calls
+ start of tassembler / tmodulebase class cleanup
2002-05-16 19:46:34 +00:00
peter
2992e1819c
* removed old logs and updated copyright year
2002-05-14 19:34:38 +00:00
carl
87aa88e9b7
+ generic FPC_CHECKPOINTER
...
+ first parameter offset in stack now portable
* rename some constants
+ move some cpu stuff to other units
- remove unused constents
* fix stacksize for some targets
* fix generic size problems which depend now on EXTEND_SIZE constant
2002-04-20 21:32:23 +00:00
carl
86a068445b
+ moved constant from cpuinfo, these are NOT cpu specific
...
constant, but more related to compiler functionality.
2002-04-07 13:24:30 +00:00
peter
5b242f7741
* tlocation,treference update
...
* LOC_CONSTANT added for better constant handling
* secondadd splitted in multiple routines
* location_force_reg added for loading a location to a register
of a specified size
* secondassignment parses now first the right and then the left node
(this is compatible with Kylix). This saves a lot of push/pop especially
with string operations
* adapted some routines to use the new cg methods
2002-04-02 17:11:27 +00:00
armin
ed209a3961
+ initialize threadvars defined local in units
2002-03-28 16:07:52 +00:00
peter
fd2ad837e2
* implicit result variable generation for assembler routines
...
* removed m_tp modeswitch, use m_tp7 or not(m_fpc) instead
2002-01-24 18:25:48 +00:00
florian
b60666ae1f
+ parasym to tparaitem added
2001-12-06 17:57:33 +00:00
peter
e37dbf904d
* calling convention rewrite
2001-10-25 21:22:32 +00:00
peter
17d62feebe
* $calling directive and -Cc commandline patch added
...
from Pavel Ozerski
2001-10-23 21:49:42 +00:00
peter
cb06c9bcb8
* array access for properties added
2001-10-21 12:33:05 +00:00
peter
7781fca6bd
* read only typed const support, switch $J-
2001-10-20 20:30:20 +00:00
Jonas Maebe
d8c104b25d
* fixed goto/label/try bugs
2001-10-16 15:10:34 +00:00
peter
e178da120d
* pathexists fix (merged)
2001-10-12 16:06:17 +00:00
michael
f959a590fe
* Fixes win32 linking problems with import libraries
...
* LINKLIB Libraries are now looked for using C file extensions
* get_exepath fix
2001-09-18 11:30:47 +00:00