Commit Graph

26123 Commits

Author SHA1 Message Date
yury
4cc9bcd526 * Always strip DLLs when external linker (LD) is used.
git-svn-id: trunk@7840 -
2007-06-28 10:26:05 +00:00
daniel
62b6fcead8 * Fix operator count.
git-svn-id: trunk@7835 -
2007-06-27 20:31:58 +00:00
daniel
56880a75f9 * When adding the start offset of the parameters, process chained
paralocs too.

git-svn-id: trunk@7834 -
2007-06-27 20:28:45 +00:00
Jonas Maebe
26a4f693da * more packed set operand size problems fixed (include/exclude, mantis
#9167)

git-svn-id: trunk@7833 -
2007-06-27 19:50:09 +00:00
Jonas Maebe
b6ccf54ae9 * fixed error in register renaming in case the first changed instruction
is an "addl %reg2,%reg1" (was changed into "leal (%reg2,%reg1),%reg2",
    now into "leal (%reg1,%reg1),%reg2")

git-svn-id: trunk@7832 -
2007-06-27 18:30:10 +00:00
Jonas Maebe
8caad93eaf * fixed several problems with packed set operand sizes
* added LOC_CONSTANT to the list of allowed locations for the left
    hand side of an in-node, so it doesn't get forced into a register
    anymore in that case

git-svn-id: trunk@7831 -
2007-06-27 17:26:18 +00:00
yury
04147151e4 * Fixed stabs generation for DLLs by internal assembler (use RELOC_ABSOLUTE in all cases).
* Do not generate relocs by internal linker for sections which are not loaded in memory.

git-svn-id: trunk@7829 -
2007-06-26 22:51:21 +00:00
Tomas Hajny
c00021373a * fix from r7819 extended to more platforms
git-svn-id: trunk@7828 -
2007-06-26 21:08:37 +00:00
yury
11b56e2cc8 * Fixed previous commit: loop through all resources in .res file.
git-svn-id: trunk@7827 -
2007-06-26 18:08:06 +00:00
daniel
dafc044cea * tb0201 should now succeed, move & rename it to tbs/tb0540
* Add %FAIL & %NORUN to tb0200.

git-svn-id: trunk@7826 -
2007-06-26 17:43:41 +00:00
yury
ca81009e5e * Properly handle .res files, which are not fully correct.
* Better error handling while working with resource files.
* Compile .rc files included in the main module before collecting all resources.

git-svn-id: trunk@7825 -
2007-06-26 17:41:24 +00:00
daniel
9eccba45e9 * Improve test.
git-svn-id: trunk@7824 -
2007-06-26 17:28:21 +00:00
daniel
eef2d4a1df + Discovered a bug regarding string bounds checking, add tests for it.
git-svn-id: trunk@7823 -
2007-06-26 17:23:49 +00:00
marco
7bdc2ccbfb * EWX_FORCEIFHUNG
git-svn-id: trunk@7822 -
2007-06-26 15:06:43 +00:00
marco
f885568da9 * more little winapi fixes (largeuint)
git-svn-id: trunk@7821 -
2007-06-26 14:50:24 +00:00
marco
4ff745402e * JCLSync missing prototypes.
git-svn-id: trunk@7820 -
2007-06-26 14:41:57 +00:00
daniel
f77150fa71 * Fix another bug found by new hint.
git-svn-id: trunk@7819 -
2007-06-26 08:24:09 +00:00
daniel
7c124b3817 * Fix bug found by new hint.
git-svn-id: trunk@7818 -
2007-06-26 07:52:55 +00:00
daniel
45832d4314 + New hint; for exmaple int64:=longint+longint says "Converting the operands to
int64 before addition could prevent an overflow error."

git-svn-id: trunk@7817 -
2007-06-26 07:52:04 +00:00
daniel
441b015a7d * Use ptruint instead of ptrint.
git-svn-id: trunk@7816 -
2007-06-26 06:57:20 +00:00
florian
0caa70a8b3 + basic TStreamAdapter implementation
git-svn-id: trunk@7815 -
2007-06-25 21:05:08 +00:00
daniel
504d845e86 * Consider conversion from integer to integer te_equal, if the base types
are equal and the range of the from type fits in the to type. I.e.
    conversion from -10..10 to shortint is considered equal. This is correct
    because in this case, the from type can be used wherever the to type is
    used, i.e. the compiler never needs to do conversion at compile or run
    time.

git-svn-id: trunk@7814 -
2007-06-25 20:57:21 +00:00
florian
201fc56655 + added and fixed some delphi compatibility stuff
git-svn-id: trunk@7813 -
2007-06-25 20:23:24 +00:00
florian
a635bc2a15 * made TShiftState a packed set to be more compatible
git-svn-id: trunk@7812 -
2007-06-25 20:18:00 +00:00
florian
70284da435 * allow <any ordinal>(class/interface) type casts likewise it is allowed for class references and pointers
git-svn-id: trunk@7811 -
2007-06-25 20:08:34 +00:00
michael
917aa80a13 * Patch from Mario R. Carro to implement THashedStringList
git-svn-id: trunk@7810 -
2007-06-25 19:59:58 +00:00
florian
42cdfeb118 * fixed win64 compilation
git-svn-id: trunk@7809 -
2007-06-25 18:06:24 +00:00
marco
f6e2f0b2f0 * better compatible systeminfo (Jedi JCL had a problem with it)
git-svn-id: trunk@7808 -
2007-06-25 15:57:53 +00:00
micha
cd1a283a18 * fix heap var size chunk search to be as intended (search constant number of blocks from best, not from any bigger)
git-svn-id: trunk@7807 -
2007-06-24 21:50:05 +00:00
micha
b4363e046b * fix heaptrace segfault, access of lost block
git-svn-id: trunk@7806 -
2007-06-24 21:33:29 +00:00
micha
afb5f32f65 * fix heap block recycle flag when orphaning
git-svn-id: trunk@7805 -
2007-06-24 21:32:31 +00:00
daniel
8ee5966a2e * Fix comparedword and change it to cardinal.
git-svn-id: trunk@7804 -
2007-06-24 21:17:43 +00:00
florian
e1125c3f7f + StrNextChar implemented
git-svn-id: trunk@7803 -
2007-06-24 20:30:55 +00:00
florian
792f84a710 * made CheckSynchronize a function returning info about a method being executed
git-svn-id: trunk@7802 -
2007-06-24 20:30:22 +00:00
florian
40fde13aa4 + several missing constants, functions and structures added
git-svn-id: trunk@7801 -
2007-06-24 20:29:40 +00:00
florian
728055586a + delphi compatibility stuff
git-svn-id: trunk@7800 -
2007-06-24 20:29:05 +00:00
florian
5c58f69595 + ModuleIs* typed consts added
git-svn-id: trunk@7799 -
2007-06-24 20:28:40 +00:00
daniel
1631ccf2cc * Prevent multiply between qword and longint.
git-svn-id: trunk@7798 -
2007-06-24 19:31:32 +00:00
florian
03951d793a * don't try to range check ordconst nodes being actually classes
git-svn-id: trunk@7797 -
2007-06-24 19:27:22 +00:00
daniel
e542a502c6 * Prevent some operations between qwords and signed types.
git-svn-id: trunk@7796 -
2007-06-24 18:40:07 +00:00
florian
1f5b7b9836 + some new functions and consts added
git-svn-id: trunk@7795 -
2007-06-24 15:16:25 +00:00
florian
628452f04d + ReplaceDate
git-svn-id: trunk@7794 -
2007-06-24 15:15:53 +00:00
florian
d50f869bbd + allow local const symbols to override class members in delphi mode
git-svn-id: trunk@7793 -
2007-06-24 15:14:47 +00:00
florian
e94e32d005 + new test
git-svn-id: trunk@7792 -
2007-06-24 14:33:28 +00:00
florian
5645a1380c * fixed more windows types
git-svn-id: trunk@7791 -
2007-06-24 13:36:46 +00:00
Jonas Maebe
76c783f0a1 * removed divisions from val() for unsigned types
git-svn-id: trunk@7790 -
2007-06-24 13:04:44 +00:00
Jonas Maebe
62b9198b55 * fixed loading the address of class methods (mantis #9139)
git-svn-id: trunk@7789 -
2007-06-24 12:11:08 +00:00
daniel
cd2880cbbd - Because int_to_type handles qwords now, the trial and error to parse a constant
can be simplified.

git-svn-id: trunk@7787 -
2007-06-24 11:59:55 +00:00
tom_at_work
cb3b55b3cf * fix compilation on non-windows platforms
git-svn-id: trunk@7786 -
2007-06-23 19:01:57 +00:00
sekelsenmat
ab7dcb0011 Added carbon controls example
git-svn-id: trunk@7785 -
2007-06-23 17:48:41 +00:00