florian
87da67129c
* rtl compilation with x86_64 binary writer fixed
...
git-svn-id: trunk@3042 -
2006-03-26 18:32:15 +00:00
florian
5d243f665a
* fixed <instr> reg,reg with regs>=r8
...
* fixed section naming
* fixed relocations
git-svn-id: trunk@3041 -
2006-03-26 17:54:02 +00:00
Almindor
c6d929a5ab
* removes useless "uses winsock" from sockets.pp in win32
...
git-svn-id: trunk@3040 -
2006-03-26 17:31:32 +00:00
florian
42fab68bc8
* fixed disp32 and rip relative addressing
...
git-svn-id: trunk@3039 -
2006-03-26 13:38:21 +00:00
florian
4c9a08b12b
* more x86_64 assembler support, rtl compilation works, executables don't work yet
...
git-svn-id: trunk@3038 -
2006-03-26 09:38:05 +00:00
florian
5519158dff
+ no rex.w prefix support
...
git-svn-id: trunk@3037 -
2006-03-25 19:45:09 +00:00
marco
6184785fe4
* fix for 4643
...
git-svn-id: trunk@3035 -
2006-03-25 16:07:36 +00:00
florian
dfacac4657
* fixed SOCK_* for SunOS
...
git-svn-id: trunk@3034 -
2006-03-25 15:23:23 +00:00
florian
68a096aec6
* fixed AF_* constants
...
git-svn-id: trunk@3033 -
2006-03-25 15:22:58 +00:00
marco
dd063d920d
* currentyear (bug 4904)
...
git-svn-id: trunk@3031 -
2006-03-25 15:07:54 +00:00
marco
371aa0d78e
* fixed small bug as result from last fixed to stringlist.text. Reported as 4901
...
git-svn-id: trunk@3029 -
2006-03-25 14:50:07 +00:00
Jonas Maebe
9c14f95ce9
+ added
...
git-svn-id: trunk@3028 -
2006-03-24 22:57:50 +00:00
Jonas Maebe
e8c2c4abb2
* fixed test (mainly for little endian systems)
...
git-svn-id: trunk@3027 -
2006-03-24 22:51:55 +00:00
Jonas Maebe
77d20627dc
* removed duplicate EVariant class from varutils and incorporated
...
its implementation details in the EVariant class of sysutils
+ added conversions of variant error codes to exception messages
(together these fix tw4704)
git-svn-id: trunk@3026 -
2006-03-24 22:47:15 +00:00
Jonas Maebe
2c3d8af195
* fixed typo (invalid type case -> invalid type cast)
...
git-svn-id: trunk@3025 -
2006-03-24 22:19:47 +00:00
Jonas Maebe
9d893195b5
* fixed potential buffer overflow in fpc_Write_Text_Char/
...
fpc_Write_Text_WideChar (bug 4919)
git-svn-id: trunk@3024 -
2006-03-24 21:08:51 +00:00
Jonas Maebe
822e41689d
fixed Do_IsDevice()
...
git-svn-id: trunk@3022 -
2006-03-24 19:53:32 +00:00
peter
2d3c01d83a
* basic work to make Move() and FillChar() internal under ifdef INTERNALMOVEFILLCHAR
...
git-svn-id: trunk@3021 -
2006-03-24 17:32:39 +00:00
peter
4e5319a581
* fixed $MAP for DLL linking
...
git-svn-id: trunk@3020 -
2006-03-24 09:15:33 +00:00
Jonas Maebe
42a2ef5e90
* fixed web bug #4934
...
git-svn-id: trunk@3019 -
2006-03-23 14:24:49 +00:00
Jonas Maebe
422b29759b
* fixed compilation errors in r3017
...
git-svn-id: trunk@3018 -
2006-03-23 10:57:28 +00:00
Jonas Maebe
1c9377470a
* free fsem and feventsection in TEventObject destructor (please check
...
win32/wince too, it seems they don't free the handle that's allocated
in their constructor either)
git-svn-id: trunk@3017 -
2006-03-22 21:51:36 +00:00
Jonas Maebe
1e3137c315
* load a dummy value on the fpu stack in the epilog of functions
...
which return a real but which never assigned anything to the function
result (since the caller will pop it off again) (x86-only, bug #4902 )
git-svn-id: trunk@3016 -
2006-03-22 21:32:48 +00:00
florian
a446c578ef
* sys_errlist fixed
...
git-svn-id: trunk@3015 -
2006-03-22 21:10:56 +00:00
marco
51e976769d
* set trim functions.
...
git-svn-id: trunk@3013 -
2006-03-22 20:15:03 +00:00
peter
35c4d43699
* disable regvars until it is fixed
...
git-svn-id: trunk@3008 -
2006-03-21 17:31:02 +00:00
Jonas Maebe
af36d177d9
* if we find a constant already loaded in a register and we use that
...
register, mark the register as read by the current instruction
(fixes compilation of tcalfun8 with optimizations)
git-svn-id: trunk@3003 -
2006-03-21 15:44:55 +00:00
Jonas Maebe
01cf70d354
* don't change "mov const,ref; mov ref,reg" into "mov const,reg; mov reg,ref"
...
if ref depends on reg
git-svn-id: trunk@3002 -
2006-03-21 15:25:16 +00:00
florian
061162d9da
+ new messages from Karl-Michael Schindler
...
git-svn-id: trunk@3000 -
2006-03-21 13:23:46 +00:00
florian
5bb20f65bd
* error corrections from Karl-Michael Schindler
...
git-svn-id: trunk@2999 -
2006-03-21 13:21:23 +00:00
peter
46047c5c0a
Merged revisions 2996 via svnmerge from
...
http://svn.freepascal.org/svn/fpc/branches/linker/compiler
........
r2996 | peter | 2006-03-21 08:50:58 +0100 (Tue, 21 Mar 2006) | 2 lines
* typo in shtype
........
git-svn-id: trunk@2998 -
2006-03-21 08:00:23 +00:00
peter
ae0010ad6c
* support proc to procvar conversion for overloaded procdefs passed to parameters
...
git-svn-id: trunk@2997 -
2006-03-21 07:51:54 +00:00
peter
f87b04c034
Merged revisions 2994 via svnmerge from
...
http://svn.freepascal.org/svn/fpc/branches/linker/compiler
........
r2994 | peter | 2006-03-21 07:58:12 +0100 (Tue, 21 Mar 2006) | 2 lines
* use float size for parameters on the stack
........
git-svn-id: trunk@2995 -
2006-03-21 06:59:04 +00:00
florian
c97598514a
* some cleanup
...
git-svn-id: trunk@2993 -
2006-03-20 22:14:22 +00:00
florian
1e0efc9b0a
* "merged" pthread fixes from rtl
...
git-svn-id: trunk@2992 -
2006-03-20 21:20:55 +00:00
florian
8d83343971
* pthread consts and types fixed
...
git-svn-id: trunk@2991 -
2006-03-20 21:16:22 +00:00
peter
d3fa4dbca2
* fixed wrong merge
...
git-svn-id: trunk@2990 -
2006-03-20 16:52:58 +00:00
peter
096113d370
* support setting translations per unit
...
* store unitname as the first entry in the resourcestring table
git-svn-id: trunk@2987 -
2006-03-20 12:07:29 +00:00
peter
9381c9360e
* Flush all StdIO output files
...
git-svn-id: trunk@2985 -
2006-03-20 09:56:00 +00:00
peter
9c6a296b86
* use shortint for alignments
...
* remove obsolete position check in tgobj, with the new alignment settings
this is not possible anymore
git-svn-id: trunk@2984 -
2006-03-20 08:29:13 +00:00
florian
ec768f88ae
+ improved x86-64 assembler
...
git-svn-id: trunk@2983 -
2006-03-19 22:24:01 +00:00
peter
37c81492ad
Merged revisions 2827,2831,2837,2932-2980 via svnmerge from
...
svn+ssh://peter@www.freepascal.org/FPC/svn/fpc/branches/linker/compiler
r2827 (peter)
* smartlinking of resourcestrings
r2831 (peter)
* process_ea 64bit fixes
r2837 (peter)
* linker script
git-svn-id: trunk@2981 -
2006-03-19 22:12:52 +00:00
peter
ddfa0bd1dd
* use resourcstring table again
...
git-svn-id: trunk@2979 -
2006-03-19 21:16:32 +00:00
Jonas Maebe
e053f4272b
* trigger runerror 207 instead of 208 for unknown fpu errors (like on
...
Linux)
git-svn-id: trunk@2978 -
2006-03-19 20:45:23 +00:00
Jonas Maebe
d56857e998
* fixed r2970 (% instead of #)
...
git-svn-id: trunk@2977 -
2006-03-19 20:41:36 +00:00
Jonas Maebe
6ad5dff9e8
* fixed loading of -0.0
...
git-svn-id: trunk@2976 -
2006-03-19 20:29:15 +00:00
Jonas Maebe
b9a66c4f25
* fixed test
...
git-svn-id: trunk@2975 -
2006-03-19 20:26:29 +00:00
Jonas Maebe
69631be0b3
+ nostackframe directive to fix on darwin/x86
...
git-svn-id: trunk@2974 -
2006-03-19 20:08:21 +00:00
Jonas Maebe
2e41b63710
* support subscripting record function results on ABI's that return
...
(some) records in registers (+ internalerror if unsupported
record location). Fixes "make all" in top dir on darwin/x86.
git-svn-id: trunk@2973 -
2006-03-19 20:01:11 +00:00
michael
155df8d326
+ StdIO flush now handled as all other files
...
git-svn-id: trunk@2971 -
2006-03-19 19:18:49 +00:00