Commit Graph

2579 Commits

Author SHA1 Message Date
pierre
080a34ce07 * avoid wrong ungetpersistanttemp 2000-03-16 15:18:13 +00:00
pierre
e0cc4f9bed + oppower 2000-03-16 15:13:03 +00:00
pierre
977081b2d7 assembler method code does not need ebp framepointer 2000-03-16 15:12:06 +00:00
pierre
33cc2a0a35 * correct the fixups for inlined assembler code 2000-03-16 15:10:25 +00:00
daniel
a511be87c4 * Changed names of procedures flags
*  Changed VMT generation
2000-03-16 12:52:47 +00:00
florian
2d0b954c56 * disk full runerror writes now a nice message 2000-03-16 10:29:06 +00:00
pierre
4177d64781 * fix for bug #848 (that still genrated wrong code)
+ better testing for variables used in assembler
    (gives an error if variable is not directly reachable !)
2000-03-15 23:09:58 +00:00
pierre
cadf4cc024 * destructor can have args in TP mode only (bug825 and 839) 2000-03-14 16:37:25 +00:00
pierre
e95573a025 + lineinfo for win32 with debug 2000-03-14 16:30:14 +00:00
pierre
34795ccd60 * - 1**4 = -1 fix 2000-03-14 15:50:19 +00:00
pierre
70263e1c6d * fix for bug #866 2000-03-14 15:05:18 +00:00
pierre
031c0b22a3 * DebuggerValue moved to fpsymbol unit 2000-03-14 15:04:19 +00:00
peter
9f1695f700 * ^m support also after a string 2000-03-13 21:21:57 +00:00
pierre
3527bd4fd0 * X was not found in TSortedSymbolCollection.LookUp 2000-03-13 20:28:12 +00:00
michael
34c8f49271 + Added switch to swicth on assertions. 2000-03-13 20:15:08 +00:00
michael
26c924229c + Added switch to swicth on assertions. 2000-03-13 20:06:59 +00:00
florian
60058ae960 * very small change to scanner ... 2000-03-12 17:53:16 +00:00
daniel
c02ecc3513 * Made check for message file TP compilable. 2000-03-12 08:24:45 +00:00
daniel
e72ff5f936 * Modification for new symtable 2000-03-12 08:24:03 +00:00
daniel
59cfa402c9 * Ported hcgdata to new symtable.
* Alignment code changed as suggested by Peter
  + Usage of my is operator replacement, is_object
2000-03-11 21:11:24 +00:00
pierre
8e3de2ef1c * generate allways symbol for stabs 2000-03-10 16:05:57 +00:00
pierre
7045afb894 * check that symbol is in object 2000-03-10 16:05:28 +00:00
pierre
24353efcb7 * rva relocation bug fixed 2000-03-10 09:15:54 +00:00
pierre
38ec9c22bb * dlltool is also needed if we use DefFile 2000-03-10 09:14:40 +00:00
florian
e31020b12c * initial release derieved from the ALPHA cpubase.pas, the
file still contains some ALPHA stuff
2000-03-09 20:28:00 +00:00
pierre
dd89e25cb2 * fix for the stab section size changes with smartlinking 2000-03-09 14:29:47 +00:00
pierre
a84bd72dde * fix a problem with smartlink and stabs 2000-03-09 10:07:18 +00:00
daniel
97a5b84098 + Added align_from_size function as suggested by Peter. 2000-03-08 15:39:45 +00:00
pierre
fadf943935 * more fixes for TSymbol 2000-03-08 12:25:29 +00:00
pierre
f05d1bb02d * Tsymbol and Ancestor fixes 2000-03-07 21:55:59 +00:00
peter
b02f4452ff * better error pos for overridden error 2000-03-06 15:57:42 +00:00
daniel
e08b17c010 * Removed a comment to fix gtk. 2000-03-02 13:12:37 +00:00
pierre
1606fbbef1 * fix for bug #848 2000-03-02 11:48:31 +00:00
carl
94e71486a7 + More information and suggestions 2000-03-02 03:22:16 +00:00
peter
3df7f51b0a * message files are check for amount of msgs found. If not correct a
line is written to stdout and switched to internal messages
2000-03-01 22:29:18 +00:00
peter
2af3a9059e * lowercase .INC -> .inc 2000-03-01 21:45:42 +00:00
florian
9573dc7006 * some new stuff for the new cg 2000-03-01 15:36:11 +00:00
pierre
51443d110f * fix for bug #840 2000-03-01 13:56:31 +00:00
pierre
16814c48ab * fix for bug #859 2000-03-01 13:20:33 +00:00
pierre
fe57fa3993 * fix for bug #855 2000-03-01 12:35:44 +00:00
daniel
145a9c682f * Some more work on the new symtable.
+ Symtable stack unit 'symstack' added.
2000-03-01 11:43:55 +00:00
pierre
16638c8b65 * fixes for locals in inlined procedures
fix for bug797
  + stabs generation for inlined paras and locals
2000-03-01 00:03:10 +00:00
pierre
35d59eeb52 Use $GOTO ON 2000-02-29 23:59:47 +00:00
pierre
13d1fb7192 Use $GOTO ON 2000-02-29 23:57:36 +00:00
pierre
4a5e85e38d * write source line again for inline procs 2000-02-29 23:56:49 +00:00
pierre
babef0ad6d + InlineStat and InlineEnd amrker added 2000-02-29 23:55:53 +00:00
pierre
6bad578fb6 * first bug with ORDERSOURCES corrected :( 2000-02-29 22:32:13 +00:00
pierre
431941d1ec + use $GOTO ON 2000-02-29 22:13:41 +00:00
pierre
97417dcf26 * ORDERSOURCES released 2000-02-29 21:58:31 +00:00
daniel
7ebb3f07ae * Modified "not aktpackrecords" as suggested by Jonas. 2000-02-28 17:40:15 +00:00
daniel
fb1a842118 * Current work of symtable integration committed. The symtable can be
activated by defining 'newst', but doesn't compile yet. Changes in type
  checking and oop are completed. What is left is to write a new
  symtablestack and adapt the parser to use it.
2000-02-28 17:23:56 +00:00
peter
9d5429188c * check for ld-so.2.0.* then no glibc21 is used, else glibc21 is used 2000-02-27 14:46:04 +00:00
peter
50a4b4b4db * if calling convention doesn't match don't print note about
different manglednames
2000-02-27 14:44:39 +00:00
peter
2ba0ebe607 * removed warnings/notes 2000-02-24 18:41:38 +00:00
peter
bcabe43e0a * moved to new/ 2000-02-24 18:40:42 +00:00
peter
d99fb799b3 * updated with updates from old compiler dir 2000-02-24 18:39:56 +00:00
florian
bd5719a93e + the expr for names and indizies of exports sections support now
every type of expressions which evalute to a constant
2000-02-23 23:06:39 +00:00
florian
642bf91b4c * fixed 819 2000-02-21 22:17:49 +00:00
michael
825ef57c11 Committed for Florian. 2000-02-21 08:45:26 +00:00
marco
8c8160bf0b * Put some call under Ifdef GDB, so that compiling without -dGDB works 2000-02-20 21:20:28 +00:00
florian
df41d1395c * newcg is compiling
* fixed the dup id problem reported by Paul Y.
2000-02-20 20:49:45 +00:00
Jonas Maebe
eff6322048 * translated assembler reader messages + some corrections 2000-02-20 14:51:53 +00:00
Jonas Maebe
fb5ac39a26 * fixed bug in -dnewoptizations (showed itself only if -Or was
used as well I think)
2000-02-19 13:50:29 +00:00
florian
8839b14aa6 * fixed one more internalerror 10 2000-02-19 10:12:47 +00:00
pierre
fa3766d893 * avoid LeText if no stabs info 2000-02-18 21:54:07 +00:00
florian
904bfac5b9 * fixed a bug in int64/qword handling was a quite ugly one 2000-02-18 21:25:48 +00:00
pierre
c6a47280b9 * fixes a stabs problem for functions
+ includes a stabs local var for with statements
    the name is with in lowercase followed by an index
    for nested with.
  + Withdebuglist added because the stabs declarations of local
    var are postponed to end of function.
2000-02-18 20:53:14 +00:00
florian
190ba4c78c * optimized ansistring compare with ''
* fixed 852
2000-02-18 16:13:28 +00:00
Jonas Maebe
374a30f3e6 * fixed crash when using undeclared variable in ord construct 2000-02-18 13:52:38 +00:00
pierre
f7ab5d514b DEBUG implies NOCATCH for go32v2 2000-02-18 12:34:43 +00:00
pierre
b3a9e650f2 * Reset file name to empty at end of code section 2000-02-18 12:31:07 +00:00
Jonas Maebe
1571d1666b * fixed crashing bug when trying to write an undefined fp var with
formatting parameters
2000-02-17 15:39:29 +00:00
florian
dfe879d12e * some updates for the newcg 2000-02-17 14:53:42 +00:00
florian
2449cd4148 * updated to use old firstpass 2000-02-17 14:48:36 +00:00
Jonas Maebe
aafacbb44b * -dreplacereg no logner tries to optimize "movl %reg1,%reg1" (which are
always marked as CanBeRemoved)
  + some comments in -dreplacereg code
  * small fix which could cause crash when optimizer is compiler with -dTP
2000-02-17 07:46:49 +00:00
florian
b2efa0f338 * disable FIXED data type per default 2000-02-15 14:36:45 +00:00
florian
85b946e6d4 * fixed another internalerror 2000-02-14 22:34:28 +00:00
marco
c23e9edb97 * Basic structures for new sethandling implemented. 2000-02-14 20:58:43 +00:00
florian
2b186c7222 * fixed set problem s:=[<word>]; 2000-02-14 18:12:50 +00:00
florian
2f623caf67 * fixed an internalerror with writeln
* fixed arrayconstructor_to_set to force the generation of better code
    and added a more strict type checking
2000-02-13 22:46:27 +00:00
Jonas Maebe
0ab87d5ed8 * modifications to make the compiler functional when compiled with
-Or
2000-02-13 14:21:50 +00:00
carl
938b005d15 * bugfixes in tokens using TP conditional 2000-02-12 23:53:18 +00:00
Jonas Maebe
958d6dacef * fix for imul optimization in popt386 (exclude top_ref as first
argument)
  * in csopt386: change "mov reg1,reg2; <several operations on reg2>;
    mov reg2,reg1" to "<several operations on reg1>" (-dnewopt...)
2000-02-12 19:28:56 +00:00
Jonas Maebe
0cbad4fe45 + change "mov reg1,reg2;imul x,reg2" to "imul x,reg1,reg2" in popt386
(-dnewoptimizations)
  * shl(d) and shr(d) are considered to have a hardcoded register if
    they use cl as shift count (since you can't replace them with
    another register) in csopt386 (also for -dnewoptimizations)
2000-02-12 14:10:14 +00:00
Jonas Maebe
bee612f94a * fixed edi allocation in allocRegBetween
* fixed bug I introduced yesterday, added comment to prevent it from
    happening again in the future
2000-02-12 10:54:18 +00:00
Jonas Maebe
674a208dbf + {$asmmode att} for people with -Rintel in their ppc386.cfg 2000-02-11 23:59:35 +00:00
Jonas Maebe
89abe234d9 * fixed crashing bug under Dos with -dnewoptimizations (found it,
John!). Don't understand why it didn't crash under Linux :(
2000-02-11 23:50:03 +00:00
michael
99cdd6795a Latest changes from Michail Baikov 2000-02-11 16:33:37 +00:00
pierre
12d4917565 * avoid stack overflow in tref.done (bug 846) 2000-02-11 13:53:49 +00:00
florian
05e486a068 * big update for exception handling code generation: possible mem holes
fixed, break/continue/exit should work always now as expected
2000-02-10 23:44:42 +00:00
Jonas Maebe
9e85007190 * fixed stupid typo! 2000-02-10 16:04:43 +00:00
peter
3385467467 * dont' check for ppl files as they aren't used atm. 2000-02-10 16:00:23 +00:00
Jonas Maebe
e558713f0c * fixed small bug introduced with my previous fix 2000-02-10 15:07:41 +00:00
Jonas Maebe
8a40388de3 * fixed bug due to lack of support for top_symbol operands 2000-02-10 14:57:13 +00:00
peter
5aec5872b6 * addpath fixed with list of paths when inserting at the beginning
* if exepath=currentdir then it's not inserted in path list
  * searchpaths in ppc386.cfg are now added at the beginning of the
    list instead of at the end. (commandline is not changed)
  * check paths before inserting in list
2000-02-10 11:45:48 +00:00
Jonas Maebe
88652eee6b * esi is never deallocated anymore in methods 2000-02-10 11:27:18 +00:00
Jonas Maebe
7ff7b4c2c3 * added regallocs for esi 2000-02-09 18:08:33 +00:00
Jonas Maebe
95f2c6f732 * added missing regalloc for ecx in range check code 2000-02-09 17:36:10 +00:00
peter
a2318ce5ec * regenerated 2000-02-09 14:29:22 +00:00
peter
4a4a24b6e8 * log truncated 2000-02-09 13:22:42 +00:00
peter
c93f83e22e * usage shows yyyy-mm-dd 2000-02-09 13:08:27 +00:00
peter
1612077d8d * -Xt option to link staticly against c libs 2000-02-09 10:35:48 +00:00
peter
119ebd56c6 * reset section back to code after localdata 2000-02-08 13:55:13 +00:00
peter
fe4d62cf91 * ppuclean target, which is used by for the ide compiling so a new
generated ppc386.exe can still be used as compiler
2000-02-08 00:10:53 +00:00
peter
2eb25f4422 * regenerated 2000-02-08 00:09:21 +00:00
peter
55537f904c * quick hack for fnstsww which is not supported under linux as 2000-02-07 17:51:20 +00:00
peter
85087cf8c2 * -gl option added 2000-02-07 12:19:26 +00:00
michael
af462205ba + Changed bash to sh 2000-02-07 11:52:26 +00:00
peter
f0efb42197 * -gl switch for auto lineinfo including 2000-02-06 17:20:52 +00:00
florian
f6f3a1a039 *** empty log message *** 2000-02-06 17:17:03 +00:00
peter
00cd43e466 * refer to prog manual instead of cws 2000-02-06 13:00:05 +00:00
florian
7ab03a6efc * for some strange reasons my fix regarding register variable
allocation was lost
2000-02-05 15:57:58 +00:00
florian
a44fb4a474 * fixed init table generation for classes and arrays 2000-02-05 14:33:32 +00:00
peter
7304829f53 * property check for assigning fixed for calln 2000-02-05 12:11:50 +00:00
florian
1081fc6d3b * some (small) problems with register saving fixed 2000-02-04 21:00:31 +00:00
florian
a0cc4f970b * an exception in a construcor calls now the destructor (this applies only
to classes)
2000-02-04 20:00:21 +00:00
Jonas Maebe
16e46c496c * moved call to resetusableregs to compile_proc_body (put it right before the
reset of the temp generator) so the optimizer can know which registers are
    regvars
2000-02-04 14:54:17 +00:00
pierre
9572b14dea + add pseudo local var parent_ebp for local procs 2000-02-04 14:29:57 +00:00
Jonas Maebe
245975562b * fpuloadstore optimizations are now done before and after the CSE 2000-02-04 13:53:04 +00:00
Jonas Maebe
4e361ef71f * better support for regvars (still needs a move of the call to the optimize
procedure to a place where resetusableregisters is not yet called to work)
  * small regallocation fixes for -dnewoptimizations
2000-02-04 13:52:17 +00:00
florian
26fc3fb886 * better register variable allocation in -Or mode 2000-02-04 08:47:10 +00:00
peter
c06f082765 * fixed smartlinking 2000-02-03 23:01:45 +00:00
peter
521b0a2672 * cargs must also increase pushedparasize else it won't be 'popped' 2000-02-01 12:54:20 +00:00
peter
49365d74ba * is_voidpointer 2000-02-01 09:44:03 +00:00
peter
6e93fdbae0 * allow funcret also as counter variable 2000-02-01 09:43:22 +00:00
peter
f387340dbc * allow class -> voidpointer for delphi mode 2000-02-01 09:41:27 +00:00
peter
4d0c25c096 * fixed default unit location for linux when fpcdir was not set 2000-01-31 15:55:42 +00:00
peter
bf32e168f9 * fixed dup rtti writing for classes 2000-01-30 23:29:06 +00:00
peter
706e0c4417 * fixed filepos when eof is read, it'll now stay on the eof position 2000-01-30 19:28:25 +00:00
florian
997ddf88f9 * virtual XXXX; support for objects, only if -dWITHDMT is defined 2000-01-28 23:17:53 +00:00
michael
88711c2e7f + Changed patch number to 15 2000-01-28 20:47:26 +00:00
Jonas Maebe
38b993f7dc * moved skipinstr from daopt386 to aasm
* fixed crashing bug with -dreplacereg in csopt386.pas
2000-01-28 15:15:31 +00:00
peter
dfca2834a9 * regenerated 2000-01-28 12:17:02 +00:00
peter
14170d7d11 * install now doesn't install symlink anymore
* symlink is installed by installsym
2000-01-28 12:13:38 +00:00
peter
51f8c5a754 * lineifno 2000-01-28 11:24:46 +00:00
florian
f27b77e491 *** empty log message *** 2000-01-28 10:37:08 +00:00
peter
80e64da3df * fixed fpu suffix parsing for att reader 2000-01-28 09:41:39 +00:00
florian
ce0f32a21e * bug #738 fixed 2000-01-27 16:31:40 +00:00
florian
567966baad * slighly improved code for -<qword> and -<int64> 2000-01-27 15:46:00 +00:00
peter
e7ce987525 * version 0.99.14 2000-01-27 11:29:15 +00:00
peter
0d63b79f38 * helpscreen updates 2000-01-27 09:58:59 +00:00
peter
16bcf1dd2c * regenerated 2000-01-26 21:19:49 +00:00
peter
298677e4aa * fixed pop_size included twice with clearstack 2000-01-26 15:03:59 +00:00
marco
4b25d85637 * $VERSION is now also substituted in -F paths (that have subst active) 2000-01-26 14:31:03 +00:00
peter
62df907953 * abstractprocdef.para_size needs alignment parameter
* secondcallparan gets para_alignment size instead of dword_align
2000-01-26 12:02:29 +00:00
peter
0750e58848 * unexport FPC_VERSION
* regenerate so RELEASE=1 doesn't set optimzier for 0.99.12
2000-01-25 13:51:41 +00:00
pierre
da01d99789 * Range check for int64 produces a warning only 2000-01-25 08:46:03 +00:00
florian
26f38e15e3 * internalerror 10 for inlined math functions fixed 2000-01-24 20:11:10 +00:00
florian
b2098c4de5 * some improvemenst to cmov support
* disabled excpetion frame generation in cosntructors temporarily
2000-01-24 12:17:22 +00:00
florian
332c7a568f * CMOV support in optimizer (in define USECMOV)
+ start of support of exceptions in constructors
2000-01-23 21:29:14 +00:00
peter
588b4489cc * fixed missing push esi for constructor calling 2000-01-23 18:50:07 +00:00
sg
de3a50306d * Fixed typo in line 1375 ("fpidr" instead of "fpcdir") 2000-01-23 18:20:50 +00:00
peter
39faeb7440 * better auto RTL dir detection 2000-01-23 16:36:37 +00:00
peter
8abfec4e7c * localbrowser loading of absolute fixed. It needed a symtablestack
which was not setup correctly
2000-01-23 16:35:31 +00:00
peter
f16647ede6 * fixed destructor parsing with preprocessor things
* support dipsoe(p,done())
  * fixed constructor message with dispose(p,<nonexist>)
2000-01-23 16:33:49 +00:00
peter
4216d26c2f * fixed wrong freemem size when loading message file 2000-01-23 16:32:08 +00:00
peter
058d4018a1 * fixed uninited asmsymbol.typ var 2000-01-23 16:31:38 +00:00
Jonas Maebe
04d18a2964 * fixed bug introduced by my regalloc fixed :( 2000-01-23 13:57:52 +00:00
florian
0138d666de * changed address for bugs/sugegstions etc to bugrep@freepascal.org 2000-01-23 12:24:48 +00:00
michael
587a967353 + Fixes from Jonas. 2000-01-23 11:11:36 +00:00
Jonas Maebe
02381105d6 + all code generator generated "mov reg1,reg2" instructions are now
attempted to be removed using the replacereg code
    (-dnewoptimizations)
  * small fixes to -dreplacereg code
2000-01-22 16:10:06 +00:00
Jonas Maebe
b15a98cfa4 * better handling of exit(func_result) (no release of register that
holds the function result added)
  * several other small improvements for reg allocation fixes
2000-01-22 16:08:06 +00:00
Jonas Maebe
d6bcb83f95 + change "lea x(reg),reg" to "add x,reg" (-dnewoptimizations)
* detection whether edi is used after instructions (since regalloc
    info for it is now available)
  * better regUsedAfterInstruction function
2000-01-22 16:05:15 +00:00
Jonas Maebe
a961e10de2 * fixed more regalloc bugs (for set adding and unsigned
multiplication)
2000-01-22 16:02:37 +00:00
Jonas Maebe
e5af12b684 * forgot to commit a procedure for -dlogsecondpass the last time 2000-01-22 15:58:12 +00:00
florian
98abf80f1f * updated German message file 2000-01-22 15:16:04 +00:00
florian
eb1715ded4 * fixed for the fix of bug #793
* fpu variables modified by nested subroutines aren't regable anymore
  * $maxfpuregisters doesn't modify anymore the behavior of a procedure before
2000-01-21 22:06:16 +00:00
Jonas Maebe
60d858c278 * regallocation fixes 2000-01-21 12:17:41 +00:00
Jonas Maebe
9c59eb8a12 + add info on entry/exit of secondpass procedure in assembler files, between
-dlogsecondpass
2000-01-21 12:16:53 +00:00
pierre
86058ed342 * bug fix for bug #802 2000-01-21 11:26:19 +00:00
daniel
2bf0189e2e * should work on linux also 2000-01-21 10:10:25 +00:00
peter
b4f654100d * ifdef'd my previous fix as it broken a make cycle sometimes 2000-01-21 00:46:47 +00:00
peter
c6c6c51c9d * fixed fldl where suffix would get S_L instead of S_FL 2000-01-20 23:35:01 +00:00
pierre
1eb30ec4e8 * bug #801 fixed 2000-01-20 12:29:02 +00:00
florian
9836bd406b * bug #793 fixed 2000-01-20 12:14:47 +00:00
daniel
4ad408eab3 * also support ; comments in cfg file 2000-01-20 10:36:44 +00:00
pierre
627683b64d * StoreBrowserCol changed to boolean function 2000-01-20 00:24:06 +00:00
pierre
08cb7daa9f * fix for GetShortName, now checks results from Win32 2000-01-20 00:23:03 +00:00
pierre
c449017899 * avoid startsec=sec_none 2000-01-20 00:21:49 +00:00
florian
c463447714 * empty records/objects would generate static data of size 0 which is optimized away, tai_datablock
checks now the size and sets it to a value > 0
2000-01-19 22:53:57 +00:00
florian
6c3bbb7915 * corrected wrong error message of a member of a class/object/classref wasn't found 2000-01-19 22:41:58 +00:00
peter
61e04d8e80 * regenerated 2000-01-18 20:58:37 +00:00
peter
206ae47ad5 * regenerate for win32 fix 2000-01-18 00:25:15 +00:00
peter
a58242957b * fixed interpret_envvar whcih crashed when the envvar was not set
* also warn if the envvar is empty (=not set)
2000-01-17 22:50:28 +00:00
peter
c888816ce9 * use env var again for win32 2000-01-16 22:24:19 +00:00
peter
25dda03cdc * renamed call_offset to para_offset 2000-01-16 22:17:11 +00:00
Jonas Maebe
094d7d1829 * changed "with object_type" construct because of bug in the
compiler
2000-01-16 14:15:33 +00:00
pierre
72cc83f234 + parsecmd supports "filename with spaces" for IDE 2000-01-14 15:33:15 +00:00
pierre
68e4d27435 * use ./ instead of . to look into startup dir 2000-01-14 14:40:37 +00:00
pierre
99d8f90aec + some warnings for wrong lines inside config files 2000-01-14 14:33:53 +00:00
pierre
170d305b21 * avoid searching of include file in start dir first 2000-01-14 14:28:40 +00:00
peter
23daf4bcac * version 0.99.14 2000-01-14 13:05:54 +00:00
peter
aadec7d674 * package generation fixes 2000-01-14 12:16:40 +00:00
peter
ffaf1b5adc * regenerated 2000-01-13 21:15:26 +00:00
peter
6b31a47ad8 * updates for new fpcmake features 2000-01-13 21:11:30 +00:00
Jonas Maebe
04a3db19c2 * moved deallocation of registers used in reference that points to string after
copyshortstring (this routine doesn't require extra regs)
2000-01-13 16:52:47 +00:00
Jonas Maebe
5910b48cbe * released -dalignreg
* some small fixes to -dnewOptimizations helper procedures
2000-01-13 13:07:05 +00:00
peter
d2529529f5 * regenerated for new package deps 2000-01-13 11:40:51 +00:00
peter
03f93fb547 * regenerated to support gecho and win32 fpcext.cmd fixes 2000-01-12 23:26:13 +00:00
peter
96ed273164 * smartlinking fixes for binary writer
* release alignreg code and moved instruction writing align to cpuasm,
    but it doesn't use the specified register yet
2000-01-12 10:38:16 +00:00
peter
6f3e82438e * only give unsupported error once 2000-01-12 10:34:29 +00:00
peter
83c82663f2 * fixed group() writing 2000-01-12 10:31:45 +00:00
peter
0e4c33391c * fixed library with only end. 2000-01-12 10:30:50 +00:00
peter
3ffb57efe4 * align codesegment at the end after main proc 2000-01-12 10:30:15 +00:00
Jonas Maebe
edf419d5a7 * removed a lot of memory leaks when an error is encountered (caused by
procinfo and pstringcontainers). There are still plenty left though :)
2000-01-11 17:16:04 +00:00
Jonas Maebe
f8e779a438 * fixed a serious memory leak 2000-01-11 17:14:49 +00:00
Jonas Maebe
9ffedb7aa4 - removed call to do_stop at the end of compile() since it obviously breaks the
automatic compiling of units. Make cycle worked though! 8)
2000-01-11 16:56:22 +00:00
Jonas Maebe
61416bb18e + call do_stop at the end of compile() 2000-01-11 16:53:24 +00:00
peter
6607475609 * fixed placing of .sl directories
* use -b again for base-file selection
  * fixed group writing for linux with smartlinking
2000-01-11 09:52:06 +00:00
peter
dc4b6d1710 * regenerated, it was broken by a previous commit 2000-01-10 23:45:38 +00:00
peter
55ce17b756 * regenerated, win32 uses fpcext.cmd file to pass options instead of
environment
  * packagename support
2000-01-10 23:02:21 +00:00
pierre
36d70740f9 * suppress wrong warning for with vars 2000-01-10 16:38:43 +00:00
pierre
640e444c7c * problems with -W options solved 2000-01-10 16:37:31 +00:00
peter
895c8b9efc * fixed memory leak with options, you must use StopOptions instead of
Stop
  * fixed memory leak with forward resolving, make_ref is now false
2000-01-10 11:14:19 +00:00
pierre
021303c54e * fix for bug #776 2000-01-10 00:42:44 +00:00
peter
99fe175be6 * added st_default stringtype
* genstringconstnode extended with stringtype parameter using st_default
    will do the old behaviour
2000-01-09 23:16:05 +00:00
florian
da1ea39588 * bug in secondadd(subn) with swaped mmx operands fixed 2000-01-09 19:44:53 +00:00
Jonas Maebe
2ce42d351a + comment about badly placed release_loc calls for a_mul which
causes wrong regdeallocations. Don't know how to fix :(
2000-01-09 16:35:39 +00:00
peter
7b87725809 * fixed misplaced getexplicitreg(r_edi) which broke make cycle 2000-01-09 15:19:23 +00:00
Jonas Maebe
23d69a5126 * changed edi allocation to use getexplicitregister32/ungetregister
(adapted tgeni386 a bit for this) and enabled it by default
  * fixed very big and stupid bug of mine in cg386mat that broke the
    include() code (and make cycle :( ) if you compiled without
    -dnewoptimizations
2000-01-09 12:34:59 +00:00
Jonas Maebe
86ff0db0b5 + (de)allocation info for EDI to fix reported bug on mailinglist.
Also some (de)allocation info for ESI added. Between -dallocEDI
    because at this time of the night bugs could easily slip in ;)
2000-01-09 01:44:18 +00:00
pierre
7a2344bd3f * GROUP of smartlink units put before the C libraries
to allow for smartlinking code that uses C code.
2000-01-09 00:55:51 +00:00
pierre
beebcdebfc * avoid testing object types that are simple aliases for unused privates 2000-01-09 00:37:56 +00:00
peter
d61d0e32f2 * max date added 2000-01-08 13:52:02 +00:00
marco
510b51be7a * Added $target support for -FD 2000-01-07 22:22:02 +00:00
pierre
6626bfedc4 * With argument is set as used to avoid unnecessary warnings 2000-01-07 09:36:24 +00:00
pierre
c464f091be * set_varstate must be called after typeconv insertions 2000-01-07 09:35:12 +00:00
peter
e525797c51 * updated copyright to 2000 2000-01-07 01:14:18 +00:00
peter
682d3453ee * copyright 2000 in logo 2000-01-07 00:21:44 +00:00
peter
aee15a90ce * fixed movd isntruction to be A_MOVD instead of A_MOV S_D 2000-01-07 00:12:10 +00:00
peter
f1abae31d6 * --base-file instead of -b as dlltool 2.9.1 doesn't understand it
* clear timestamp in pe header
2000-01-07 00:10:26 +00:00
peter
75109b4fc1 * tp7 fix 2000-01-07 00:08:09 +00:00
peter
1911ada096 * display fpu,mmx,xmm names instead of reg?? 2000-01-07 00:07:24 +00:00
peter
fc6ef73478 * regenerated to support auto rtl compiling 2000-01-06 15:52:54 +00:00
peter
2085b5abde * wildcard support for directory adding, this allows the use of units/*
in ppc386.cfg
2000-01-06 15:48:59 +00:00
peter
c1fabab00b * FPCDIR setting/detect
* lot of other updates to create .deb files correctly
2000-01-06 01:29:48 +00:00
pierre
d5a649ca19 * fixes for set_varstate on conversions 2000-01-06 01:10:33 +00:00
pierre
e936bddd22 * fix for web bug #776 2000-01-06 01:08:59 +00:00
florian
6ed05918e4 * mmx support fixed 2000-01-04 20:10:20 +00:00
Jonas Maebe
5e6f3268b4 * when range checking is off, constants that are out of bound are no longer
truncated to their max/min legal value but left alone (jsut an "and" is done to
    make sure they fit in the allocated space if necessary)
2000-01-04 16:35:58 +00:00
florian
89ccc81c2b + added compiler switch $maxfpuregisters
+ fixed a small problem in secondvecn
2000-01-04 15:15:50 +00:00
peter
e3c8963279 * Makefile updates again 2000-01-04 00:00:14 +00:00
peter
2b4221b9b2 * regenerated 2000-01-03 19:42:36 +00:00
peter
a7161a8dfc * fixed resolving of ttypesym which are reference from object/record
fields.
2000-01-03 19:26:03 +00:00
Jonas Maebe
ace77883c8 * fixed bug with -dreplacereg 2000-01-03 17:11:17 +00:00
Jonas Maebe
33b6e19f1f * fixed "quick hack, to overcome Delphi 2" :) 2000-01-03 17:10:39 +00:00
peter
3cc443d181 * fixed crash with empty array constructors 1999-12-31 14:26:27 +00:00
peter
c791505a38 * fixed rtti generation for classes with no published section 1999-12-31 14:24:34 +00:00
peter
972ba5215a * fixed and;jmp being translated into test;jmp 1999-12-30 17:56:44 +00:00
peter
8ee9f7a531 * fixed funcret within inlined procedure 1999-12-30 15:04:31 +00:00