Commit Graph

38 Commits

Author SHA1 Message Date
pierre
62da9bd4c0 * Notes/hints changes 1999-11-17 17:04:58 +00:00
peter
23ca9de3b3 * esi_offset -> selfpointer_offset to be newcg compatible
* hcogegen -> cgbase fixes for newcg
1999-11-09 23:06:44 +00:00
peter
0887060ff2 * truncated log to 20 revs 1999-11-06 14:34:16 +00:00
peter
6b1ab5eb31 * procinfo is now a pointer
* support for result setting in sub procedure
1999-09-27 23:44:46 +00:00
florian
fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) 1999-09-16 23:05:51 +00:00
pierre
910372616a * typo correction 1999-09-16 11:34:44 +00:00
Jonas Maebe
5fc1435036 * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) 1999-08-25 11:59:32 +00:00
peter
1b369bb4bb + globtype,tokens,version unit splitted from globals 1998-12-11 00:02:37 +00:00
pierre
a1f1003555 * some range check bugs fixed (still not working !)
+ added DLL writing support for win32 (also accepts variables)
  + TempAnsi for code that could be used for Temporary ansi strings
    handling
1998-11-30 09:42:52 +00:00
pierre
274bce92b8 + added -Se in Makefile cvstest target
+ lexlevel cleanup
    normal_function_level main_program_level and unit_init_level defined
  * tins_cache grown to A_EMMS (gave range check error in asm readers)
    (test added in code !)
  * -Un option was wrong
  * _FAIL and _SELF only keyword inside
    constructors and methods respectively
1998-11-13 15:40:12 +00:00
pierre
920691ac0a * fix for first line of function break 1998-11-12 11:19:30 +00:00
pierre
5baf8a6609 + break main stops before calls to unit inits
+ break at constructors stops before call to FPC_NEW_CLASS
    or FPC_HELP_CONSTRUCTOR
1998-11-12 09:46:17 +00:00
pierre
1a77339355 * several memory corruptions due to double freemem solved
=> never use p^.loc.location:=p^.left^.loc.location;
  + finally I added now by default
    that ra386dir translates global and unit symbols
  + added a first field in tsymtable and
    a nextsym field in tsym
    (this allows to obtain ordered type info for
    records and objects in gdb !)
1998-10-20 08:06:37 +00:00
pierre
6b1fd26b42 * added vmt_offsets in destructors code also !!!
* vmt_offset code for m68k
1998-10-16 13:12:46 +00:00
pierre
1e9ae4a7ea + passes vmt offset to HELP_CONSTRUCTOR for objects 1998-10-15 12:37:42 +00:00
florian
6155ef488c * emitpushreferenceaddress gets now the asmlist as parameter
* m68k version compiles with -duseansistrings
1998-10-14 11:28:13 +00:00
pierre
c3b3abdb65 * undid some changes of Peter that made the compiler wrong
for m68k (I had to reinsert some ifdefs)
  * removed several memory leaks under m68k
  * removed the meory leaks for assembler readers
  * cross compiling shoud work again better
    ( crosscompiling sysamiga works
     but as68k still complain about some code !)
1998-10-13 16:49:59 +00:00
peter
1468993242 * new style for m68k/i386 infos and enums 1998-10-13 13:10:08 +00:00
pierre
ff45eacd79 + source_os is now set correctly for cross-processor compilers
(tos contains all target_infos and
     we use CPU86 and CPU68 conditionnals to
     get the source operating system
     this only works if you do not undefine
     the source target  !!)
  * several cg68k memory leaks fixed
  + started to change the code so that it should be possible to have
    a complete compiler (both for m68k and i386 !!)
1998-10-13 08:19:24 +00:00
peter
47c808f95a * fixed memory leaks for do nothing source
* fixed unit interdependency
1998-10-08 13:48:40 +00:00
pierre
a12d8c9417 * changed all length(p^.value_str^) into str_length(p)
to get it work with and without ansistrings
  * changed sourcefiles field of tmodule to a pointer
1998-09-28 16:57:09 +00:00
peter
c72691c843 + pass_2 for cg386
* Message() -> CGMessage() for pass_1/pass_2
1998-09-17 09:42:09 +00:00
peter
181d4769a2 * all internal RTL functions start with FPC_ 1998-09-14 10:43:44 +00:00
peter
12a80cf3dc * update smartlinking, uses getdatalabel
* renamed ptree.value vars to value_str,value_real,value_set
1998-09-07 18:45:52 +00:00
peter
58c2d999f0 * updated some error messages 1998-09-04 08:41:36 +00:00
peter
1ce8f6f825 * use pdef^.size instead of orddef^.typ 1998-09-01 12:47:57 +00:00
peter
19bf2df53a * m68k fixes, splitted cg68k like cgi386 1998-09-01 09:07:08 +00:00
peter
35a8d2e4fd * m68k and palmos updates from surebugfixes 1998-08-31 12:26:20 +00:00
pierre
b61cd6cd0e + TEST_FUNCRET now default (old code removed)
works also for m68k (at least compiles)
1998-08-21 14:08:39 +00:00
peter
6cc16ea7f1 - removed OLDPPU 1998-08-17 10:10:04 +00:00
peter
9050cab930 * string type st_ fixed 1998-08-10 14:43:14 +00:00
peter
2cd0720f62 * m68k updates 1998-07-10 10:50:54 +00:00
pierre
0e8616ed1f + temporary variables now in temp_gen.pas unit
because it is processor independent
  * mppc68k.bat modified to undefine i386 and support_mmx
    (which are defaults for i386)
1998-06-08 13:13:28 +00:00
peter
f66f837fc8 * m68k compiles
+ .def file creation moved to gendef.pas so it could also be used
    for win32
1998-06-04 23:51:26 +00:00
peter
7e06238905 * smartlinking for sets
+ consts labels are now concated/generated in hcodegen
  * moved some cpu code to cga and some none cpu depended code from cga
    to tree and hcodegen and cleanup of hcodegen
  * assembling .. output reduced for smartlinking ;)
1998-05-07 00:16:59 +00:00
pierre
5cdd60cac8 + added some code for ansistring (not complete nor working yet)
* corrected operator overloading
  * corrected nasm output
  + started inline procedures
  + added starstarn : use ** for exponentiation (^ gave problems)
  + started UseTokenInfo cond to get accurate positions
1998-04-29 10:33:40 +00:00
florian
2d790e0158 * secondin bugfix (m68k and i386)
* overflow checking bugfix (m68k and i386) -- pretty useless in
    secondadd, since everything is done using 32-bit
  * loading pointer to routines hopefully fixed (m68k)
  * flags problem with calls to RTL internal routines fixed (still strcmp
    to fix) (m68k)
  * #ELSE was still incorrect (didn't take care of the previous level)
  * problem with filenames in the command line solved
  * problem with mangledname solved
  * linking name problem solved (was case insensitive)
  * double id problem and potential crash solved
  * stop after first error
  * and=>test problem removed
  * correct read for all float types
  * 2 sigsegv fixes and a cosmetic fix for Internal Error
  * push/pop is now correct optimized (=> mov (%esp),reg)
1998-03-28 23:09:53 +00:00
root
d1a1f501c8 Initial revision 1998-03-25 11:18:12 +00:00