Thilo Schulz
9dc32d55e2
Bug 4812 - GCC __attribute__ annotations for printf, non-returning functions etc., patch by linux@youmustbejoking.demon.co.uk and Zack Middleton
2011-07-18 14:56:57 +00:00
Thilo Schulz
3e229af710
Fix is*() functions for windows where long value is 4 bytes
2011-06-01 01:50:19 +00:00
Thilo Schulz
5aa3da2f84
- Fix SEGV in while loop getop() after t = b = 0
...
- Fix iss8, iss16 and iss32 which would not correctly detect 32-bit signed integer range
- Add support for "addb", "subb" etc. assembler mnemonic
- Change opStack protection for x86_64 VM: No overflow checks necessary anymore as offset register is 1 byte long only
2011-05-16 17:55:07 +00:00
Thilo Schulz
3ddc59a3ba
move MIN/MAX definition, use MIN() instead of min(), patch by DevHC
2011-05-15 13:27:24 +00:00
Thilo Schulz
fef4d12d68
Refactoring patch by DevHC
2011-03-05 19:20:37 +00:00
Thilo Schulz
544a1c0c1a
- Use MAP_FAILED error code for check whether mmap() was successful
...
- Replace various malloc() with Z_Malloc
- Fix several memory leaks when VM compilation failed and Com_Error is called
- Make failed mmap/VirtualAlloc/malloc calls fatal
2011-02-10 18:45:28 +00:00
Thilo Schulz
1d2d67cdde
strdup still not accepted by some systems. *sigh*.
2011-02-07 03:56:15 +00:00
Thilo Schulz
0e6427f3ff
- Hopefully fix ( #3984 ) compiler errors on Solaris while not introducing too many new ones on the other platforms
...
- With _BSD_SOURCE now explicitly defined bring back strdup to vm_x86_64_assembler.c
2011-02-06 20:26:18 +00:00
Thilo Schulz
0c662f25f2
Make Ludwig happy
2011-01-27 16:41:08 +00:00
Thilo Schulz
d1c0401c73
well, shit.
2011-01-27 12:34:58 +00:00
Thilo Schulz
92495a70bc
Fix compiler warnings ( #4887 )
2011-01-27 11:13:39 +00:00
Ludwig Nussel
760f4a1949
64bit Windows support (patch by Michael Menegakis)
2010-02-28 09:00:02 +00:00
Thilo Schulz
5785b45e6a
Shut up warn_unused_result warning
2009-11-08 17:00:27 +00:00
Ludwig Nussel
12189381b5
fix cmp imm reg
2009-11-01 19:58:25 +00:00
Ludwig Nussel
b7eae0dca5
implement immediate argument for call
2009-11-01 19:58:16 +00:00
Tim Angus
8d8ed0b47a
* Fix bad syntax in 64bit assembler (Undeference)
2009-10-06 17:56:36 +00:00
Ludwig Nussel
fbe65853e4
new x86_64 vm that doesn't use gas
2007-08-16 11:02:21 +00:00