Commit Graph

2654 Commits

Author SHA1 Message Date
pierre
ea13526914 + pavel's code integrated, but onyl inside
ifdef pavel_linklib !
2000-05-23 20:18:25 +00:00
pierre
bdf92e8b55 * Use stacksize param instead of gettempsize 2000-05-23 14:20:49 +00:00
pierre
66b7f21d77 * fix for bug #959 2000-05-23 14:15:44 +00:00
pierre
3694513937 Use a multiple of 4 to substract from stack pointer for locals and temps 2000-05-23 13:55:27 +00:00
Jonas Maebe
23c8f29811 * fixed bug in "subl $2,%esp; .. ; pushw mem" optimization when the
sub comes from setting up the stack frame instead of from aligning
    esp (I hope)
2000-05-23 10:58:46 +00:00
pierre
0822332888 fix wrong handling of var para for size bug #961 2000-05-22 12:47:52 +00:00
peter
34e840268a * fixed size of const parameters in asm readers 2000-05-18 17:05:15 +00:00
sg
f703a54099 * Updated to recently added messages
* Lots of typos and bugs fixed
2000-05-18 08:00:00 +00:00
peter
cae5842737 * removed wrong warning for library finding 2000-05-17 18:30:35 +00:00
peter
6029115a7d * add support for loading of typed const strings with resourcestrings,
made the loading also a bit more generic
2000-05-17 17:10:06 +00:00
florian
42459e508a * fixed my previous commit 2000-05-17 11:42:27 +00:00
pierre
d299af0815 + add a warning if using ENTER instruction with linux target 2000-05-17 11:08:24 +00:00
pierre
3d2350d584 add a comment about ENTER and linux 2000-05-17 11:06:11 +00:00
pierre
536829e4bc + -CR option to enable check for object virtual method 2000-05-16 20:19:05 +00:00
florian
5c11706a27 * fixed a problem with case and negative labels if a linear list
was generated (fixes tests\test\testcase)
2000-05-16 18:56:04 +00:00
florian
0fb3ed4ad3 * fixed type conversion test for open arrays: the to and from fields where
exchanged which leads under certain circumstances to problems when
    passing arrays of classes/class references as open array parameters
2000-05-16 16:01:03 +00:00
peter
ae9b86f982 * fixed calling of inherited methods from destructors 2000-05-15 19:30:27 +00:00
peter
2ea50df7a6 * fixed crash with resourcestring in const 2000-05-15 19:29:50 +00:00
pierre
5d093dc072 * add implicit args for FADDP 2000-05-15 14:11:45 +00:00
pierre
9e97eb9e76 * FADD without arg is alias of FADDP 2000-05-15 14:10:48 +00:00
pierre
24e5f16174 * FADD without operand translated into FADDP 2000-05-15 14:08:49 +00:00
pierre
04104f3b5f + calculate CRC value and check if consistant 2000-05-15 14:07:33 +00:00
pierre
a788f11833 Declare MsgCrcValue with cond EXTERN_MSG 2000-05-15 14:05:40 +00:00
pierre
18073d8424 + FADD to FADDP conversion warning
+ MsgCrcValue added to msgidx.inc file
2000-05-15 14:02:31 +00:00
pierre
f63815853e CRC stuff moved to CRC unit 2000-05-15 13:19:04 +00:00
pierre
1b45cfb51b + calculate a CRC value for enums 2000-05-15 13:14:48 +00:00
pierre
c57f884789 CRC calculation placed into a unit 2000-05-15 13:12:25 +00:00
florian
795a06b4f2 + Int64/QWord stuff for array of const added 2000-05-14 18:48:24 +00:00
pierre
cff91a51a2 + use of a dictionary object
for faster opcode searching in assembler readers
    implemented by Kovacs Attila Zoltan
2000-05-12 21:57:02 +00:00
pierre
5f4ec1b1ff * fix the FDIV FDIVR FSUB FSUBR and popping equivalent
simply by swapping from reverse to normal and vice-versa
    when passing from one syntax to the other !
2000-05-12 21:26:22 +00:00
pierre
e5b1fd5620 + interactive mode for translation 2000-05-12 15:03:44 +00:00
pierre
d9cd338b91 * some more translations 2000-05-12 15:00:05 +00:00
pierre
a1335d22ba * updated + some more translations 2000-05-12 13:02:55 +00:00
pierre
7c324b13b2 * adapted to Delphi 3 2000-05-12 08:58:51 +00:00
pierre
f43fd3dc00 + add a warning if the error level is different in the two files
+ force to keep the order of orgfile
2000-05-12 08:47:25 +00:00
michael
08788989a8 + Corrected help messages 2000-05-12 07:59:18 +00:00
michael
34663b5725 + All messages translated 2000-05-12 07:03:17 +00:00
pierre
a77b264bd0 * * get it to compile with Delphi by Kovacs Attila Zoltan 2000-05-12 05:55:04 +00:00
pierre
3c17f030b5 * Reset DosError in Exec reported by Kovacs Attila Zoltan 2000-05-12 05:51:43 +00:00
peter
5f179d94fb * small fix for previous commit 2000-05-11 17:53:40 +00:00
peter
1d47da018e * fixed check for overloaded operator with array and chararray check 2000-05-11 16:47:37 +00:00
pierre
e15480418d * ordering bugs fixed 2000-05-11 13:37:37 +00:00
pierre
f86c9ec8e8 New utils to run Makefile running the compiler through GDB 2000-05-11 11:39:19 +00:00
pierre
61830584ec * changed to compile with Delphi, reported by Kovacs Attila Zoltan 2000-05-11 09:59:40 +00:00
pierre
fddd96280d * fixed several compare problems between longints and
const > $80000000 that are treated as int64 constanst
    by Delphi reported by Kovacs Attila Zoltan
2000-05-11 09:56:20 +00:00
pierre
1bd418e467 * some DBX changes but it still does not work ! 2000-05-11 09:40:11 +00:00
pierre
3697d3c985 * do not use upcase for strings, reported by Kovacs Attila Zoltan 2000-05-11 09:37:25 +00:00
pierre
3523aea209 * Delphi implementation by Kovacs Attila Zoltan 2000-05-11 09:36:22 +00:00
pierre
b8080d2b0f * disbal all code using MemAvail for Delphi reported by Kovacs Attila Zoltan 2000-05-11 09:29:01 +00:00
pierre
e0328653f1 + add a warning if a const string is longer than the
length of the string type
2000-05-11 09:15:12 +00:00
pierre
c25e1f17cc * change tosinfo.shortname length, reported by Kovacs Attila Zoltan 2000-05-11 09:07:45 +00:00
florian
889e43db8a * fixed some vmt problems, especially related to overloaded methods
in objects/classes
2000-05-11 06:53:48 +00:00
pierre
e112b16a51 * fix localswitch problem if compiling objpas 2000-05-11 06:52:37 +00:00
pierre
5f437d210d * Delphi defines TP so that code compiles
sent by Kovacs Attila Zoltan
2000-05-10 19:22:51 +00:00
pierre
8c9f14abcd * Use integer third arg for val in SetErrorFlags
to allow compilation with Delphi
    reported by Kovacs Attila Zoltan
2000-05-10 19:20:23 +00:00
pierre
122f24022a * op2strtable string length changed to 11
Thanks to Kovacs Attila Zoltan
    this should be set by nasmconv utility !
2000-05-10 19:09:07 +00:00
peter
d9cef95ac7 * -Se<x> option extended to increase errorcount for
warning,notes or hints
2000-05-10 13:40:19 +00:00
pierre
365f0ebc81 * no warning nor error for pushl of segment register 2000-05-10 08:55:08 +00:00
pierre
495fd674a7 * add .byte 066h to force correct pushw %es
* handle push es as a pushl %es
2000-05-09 21:44:27 +00:00
pierre
1d982ffbf6 * fix problem when modifying several local switches in a row 2000-05-09 21:31:50 +00:00
florian
3cae2ee1a5 * fixed a problem when returning int64/qword from a function in -Or: in some
cases a wrong result was returned
2000-05-09 19:05:56 +00:00
pierre
51a1677da5 * calculate para_offset for interrupt procedures 2000-05-09 14:19:08 +00:00
pierre
d380bdfec1 * handle interrupt function correctly 2000-05-09 14:17:33 +00:00
pierre
6cba0a4927 * calling interrupt routine supported 2000-05-09 14:16:00 +00:00
pierre
35d59984b2 * also allow interrupt procvars 2000-05-09 14:15:03 +00:00
pierre
5ce612c33e * fix for test/testpusw problem 2000-05-09 14:12:35 +00:00
pierre
f94c25e338 * Issue an error if opcode is not found 2000-05-09 11:56:25 +00:00
pierre
cd93ae3564 * some new messages 2000-05-09 10:58:09 +00:00
pierre
a1d9aa1ffe add code to allow calling interrupt routines 2000-05-09 10:54:03 +00:00
pierre
7e5eab9f0c Use i386nop.inc file 2000-05-09 10:52:08 +00:00
pierre
86e515e1a5 + i386nop.inc now contains the number of opcodes
+ LCALL and LJMP added (untested)
2000-05-09 10:35:19 +00:00
pierre
d4df420802 + generate also i386nop.inc containing the number of opcodes 2000-05-09 06:39:17 +00:00
peter
4b09b89588 * fixed reference parsing 2000-05-08 13:23:03 +00:00
peter
6d282de1d4 * fixed setting of output names with includefile 2000-05-08 13:18:09 +00:00
peter
325b9acfa2 * ansistrings are now default on for delphi mode, as most ppl expect
this
2000-05-04 20:46:17 +00:00
peter
1cd3fb9f4c * don't write rst files if errors found 2000-05-04 20:43:33 +00:00
pierre
40f1da8f8e * bug found by Kovacs Attila Zoltan corrected 2000-05-04 12:59:10 +00:00
pierre
2419be3520 * saveregisters now does not overwrite registers used as return value for functions 2000-05-04 09:29:31 +00:00
pierre
dfbb141d2b + easier debug when memory is lost 2000-05-03 16:31:22 +00:00
peter
934883569a * also allow smartlinking for main programs 2000-05-03 16:11:57 +00:00
pierre
d6b3b9a9cd * Use RestoreUnitsSyms to avoid wrong hints about unused units
* Avoid hints about unsused units if thet have a init or finalize code
2000-05-03 14:39:51 +00:00
pierre
eb59e0b11c * fix for tests/test/testrang.pp bug 2000-05-03 14:36:57 +00:00
pierre
f4d925b2e1 * fix the unitsym chain 2000-05-03 14:34:05 +00:00
Jonas Maebe
d82a0e5958 * changed NOT to A_NOP 2000-05-01 11:04:49 +00:00
Jonas Maebe
44845ec919 * some fixes, does not yet compile 2000-05-01 11:03:32 +00:00
Jonas Maebe
6e83066171 * fixed incompatibility with range chcking code, -O2 and higher
now work correctly together with -Cr
2000-04-29 16:57:44 +00:00
Jonas Maebe
2eb73a055e * destroyreg overwrote some memory if the reg was an FPU register 2000-04-29 16:56:45 +00:00
peter
f40500579d * fixed offset support intel reader, the gotoffset variable was not
always reset
  * moved check for local/para to be only used for varsym
2000-04-29 12:51:33 +00:00
peter
ad5c964217 * support asm block without assembler directive for -Sd 2000-04-29 12:50:14 +00:00
peter
10c46e7f4d * rebuild 2000-04-29 12:49:46 +00:00
peter
d371c67332 * fixed long line for tp7 2000-04-29 12:49:30 +00:00
Jonas Maebe
3e11694e49 * nmem compiles again (at least for powerpc) 2000-04-29 09:01:06 +00:00
pierre
c4f4ac6ae2 * fix my last fix for other targets then win32 2000-04-28 08:53:47 +00:00
pierre
71cbe13810 * power to ** operator fixed 2000-04-27 11:35:03 +00:00
pierre
22a6677394 * fix for snapshot failue
* order_overloaded reintrocduced and adapted to operators
2000-04-27 10:06:04 +00:00
pierre
477eacdff2 * correct bugs for ts010026 and ts010029 in win32 mode
in copyvaluparas
  + use SHL instead of IMUL if constant is a power of 2 in copyvalueparas
2000-04-26 10:03:45 +00:00
pierre
3174b39bcc * More changes for operator bug
Order_overloaded method removed because it conflicted with
    new implementation where the defs are ordered
    according to the unit loading order !
2000-04-26 08:54:18 +00:00
pierre
9560f264a3 + sym_n_unit_not_used 2000-04-26 07:32:02 +00:00
pierre
dbdb7ee667 + Hint about unused unit
* Testop bug fixed !!
    Now the operators are only applied if the unit is explicitly loaded
2000-04-25 23:55:29 +00:00
Jonas Maebe
e96d0a3d6e - disabled "string_var := string_var + ... " and "string_var + char_var"
optimizations (were only active with -dnewoptimizations) because of
    several internal issues
2000-04-25 14:43:36 +00:00