Commit Graph

263 Commits

Author SHA1 Message Date
ivost
ed87187cad * removed InterlockedCompareExchange64 for i386 from system unit
git-svn-id: trunk@6775 -
2007-03-10 18:08:21 +00:00
ivost
2c22173534 * Added InterlockedCompareExchange64 for i386 (supported over cmpxchg8b instruction)
git-svn-id: trunk@6753 -
2007-03-09 09:29:17 +00:00
daniel
0cc43888e9 * Redefine ucs4char as subrange type ($0..$10ffff), which is the legal
Unicode range.

git-svn-id: trunk@6618 -
2007-02-23 14:41:33 +00:00
florian
f42a2d67b9 * made exitcode a longint, at least windows supports it, delphi uses a longint too
git-svn-id: trunk@6549 -
2007-02-18 20:26:28 +00:00
florian
48e51671e5 * don't include compiler proc. in the docs
git-svn-id: trunk@5779 -
2007-01-01 22:55:40 +00:00
florian
fd2032dab2 + start of embedded rtl
+ feature support in the compiler

git-svn-id: trunk@5628 -
2006-12-17 18:40:36 +00:00
Jonas Maebe
4240479f5d * fixed datarace in CBeginThread
git-svn-id: trunk@5274 -
2006-11-07 14:05:09 +00:00
florian
4cbb67aa00 * some fpu emulation code from arm to generic code generator moved
* several m68k fixes

git-svn-id: trunk@5218 -
2006-11-04 10:23:35 +00:00
micha
53f935213f * re-export operatingsystem_result (only not needed for i386-linux-2.1.1)
git-svn-id: trunk@5203 -
2006-11-03 13:42:51 +00:00
micha
ad7d549965 + implement pascal inline asm start/halt code for linux/i386
git-svn-id: trunk@5181 -
2006-11-02 16:58:41 +00:00
Jonas Maebe
5acc8b44a8 * activated internal get_frame for x86
* turn off stackframe optimizations on x86 if get_frame is called
    in the current routine, or if the address of a nested function
    is taken in the current routine
  + test for the above
  * this fixes the IDE when compiled with stackframe optimizations
    on x86

git-svn-id: trunk@5146 -
2006-11-01 12:48:53 +00:00
daniel
bbc80554b1 * Turn cmdline into property on Linux.
* Move some procedure in Linux system unit.

git-svn-id: trunk@4964 -
2006-10-18 20:07:10 +00:00
florian
d7fe89c63d * Real is now defined in the system unit being an unique type, fixes #7425
git-svn-id: trunk@4628 -
2006-09-17 08:58:20 +00:00
florian
73083de898 * IsLibrary initialized by declaration
* IsLibrary for linux is set in dllprt0.as

git-svn-id: trunk@4547 -
2006-09-03 20:41:51 +00:00
yury
7ccca2e438 * Optimization for smartlinking. Removed command line parsing in system unit initialization for wince. The parser is called when command line is accessed first time in program. It saves 1.55KB exe size, when command line is not used.
git-svn-id: trunk@4275 -
2006-07-22 09:29:54 +00:00
peter
fc3e5f68c8 * align needs to be unsigned, patch from Burkhard Carstens
git-svn-id: trunk@4090 -
2006-07-04 16:38:19 +00:00
peter
4c065bce45 * move InterLocked functions to system unit
git-svn-id: trunk@3933 -
2006-06-25 09:26:23 +00:00
florian
eab1f74b54 * exported SwapEndian
git-svn-id: trunk@3766 -
2006-06-02 12:03:42 +00:00
michael
5ef20e6215 + Added delphi compatibility Error procedure
git-svn-id: trunk@3610 -
2006-05-21 09:57:47 +00:00
florian
069ac7d163 * endian conversion functions
git-svn-id: trunk@3543 -
2006-05-15 19:42:13 +00:00
daniel
fea15be56f * Prepare for internal stack frame functions.
git-svn-id: trunk@3511 -
2006-05-13 20:57:37 +00:00
florian
47fac4ee6e * moved *SSECSR to system unit
* exposed cpu feature detection on i386 from system unit
+ SafeLoadLibrary

git-svn-id: trunk@3481 -
2006-05-11 19:13:54 +00:00
florian
acc016c9ec * finished safecall support
git-svn-id: trunk@3417 -
2006-05-04 20:40:31 +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
9566255122 * allow out file parameters
* assign has out file

git-svn-id: trunk@2717 -
2006-03-01 10:18:47 +00:00
peter
4c56a87d59 * integrate loaders in system unit
git-svn-id: trunk@2695 -
2006-02-26 18:21:35 +00:00
Jonas Maebe
5b9f58ef73 * reverted r2037 because of braindead "out" semantics for refcounted
types

git-svn-id: trunk@2045 -
2005-12-24 01:06:05 +00:00
Jonas Maebe
84aab46550 * changed formal "var" paramters of move, movechar0 and fill* into
"out" parameters to avoid wrong "uninitialized" warnings

git-svn-id: trunk@2037 -
2005-12-23 20:59:08 +00:00
Jonas Maebe
2dea0c793f * made the target parameter of SetString an "out" instead of "var" parameter
git-svn-id: trunk@1896 -
2005-12-07 16:06:34 +00:00
daniel
63ea645207 var & const were sometimes lowercased, sometimes uppercased. Put them
in lowercase.

git-svn-id: trunk@1846 -
2005-11-29 23:28:32 +00:00
tom_at_work
67e5a7621a * fixes for successful cycle on 64 bit systems after 64 bit FS changes
git-svn-id: trunk@1794 -
2005-11-20 18:14:23 +00:00
florian
4a6939e354 * made generic basic file handling 64 bit
git-svn-id: trunk@1792 -
2005-11-20 12:23:54 +00:00
tom_at_work
367df58016 * stack related things (sizes, calculations, etc.) are now 64 bit on 64 bit platforms
* default stack size is now also 32k for Windows (allows the use of stack checking when using threads)

git-svn-id: trunk@1718 -
2005-11-10 17:06:25 +00:00
tom_at_work
4176b71277 * fixed variants unit to make it compile for 64 bit targets
git-svn-id: trunk@1451 -
2005-10-17 21:23:48 +00:00
michael
c15d1b280f + Initial implementation of RTL resource support
git-svn-id: trunk@991 -
2005-08-31 15:54:30 +00:00
marco
fa19bc05c8 * pos(shortstring,ansistring) for bug #4119
git-svn-id: trunk@828 -
2005-08-09 07:34:56 +00:00
Jonas Maebe
8cbdbc4951 - disabled SYSTEMINLINE until conflict with compilerprocs is fixed
git-svn-id: trunk@647 -
2005-07-18 12:58:51 +00:00
florian
30769ea013 * made variant operators inlined
* fixed some inline directives
+ variant<->olevariant cast operators

git-svn-id: trunk@632 -
2005-07-15 21:12:21 +00:00
peter
f8e713c9cb * check for FPC < 2.0.0
git-svn-id: trunk@395 -
2005-06-13 07:27:07 +00:00
michael
684b7fa85f + Removed HAS_INTERNAL_INTTYPES define
git-svn-id: trunk@303 -
2005-06-09 17:50:58 +00:00
michael
859bb30daa + Removed HASTHREADVAR SUPPORT_THREADVAR defines
git-svn-id: trunk@295 -
2005-06-09 17:40:29 +00:00
michael
a775d3d487 + Removed HASCURRENCY VALUEGETMEM VALUEFREEMEM defines
git-svn-id: trunk@293 -
2005-06-09 17:33:22 +00:00
florian
ad3b9b9464 * windows rtl restructuring to share code between win32 and win64
* BeginThread can take a qword on 64 bit targets as stacksize

git-svn-id: trunk@287 -
2005-06-08 19:08:49 +00:00
michael
3a2eaa94b1 + Removed INTERNCONSTINTF define
git-svn-id: trunk@267 -
2005-06-07 22:04:18 +00:00
michael
db5d9d75aa + Removed INTERNCOPY define
git-svn-id: trunk@259 -
2005-06-07 21:11:49 +00:00
michael
a20556e62d + Removed INTERNLENGTH/INTERNSETLENGTH defines
git-svn-id: trunk@257 -
2005-06-07 21:07:21 +00:00
michael
b6d3df6cb8 + Removed FPC_HASNOFARPOINTER define
git-svn-id: trunk@253 -
2005-06-07 21:01:02 +00:00
michael
21425e303c + Removed HASVARIANT define
git-svn-id: trunk@244 -
2005-06-07 20:48:31 +00:00
michael
8a226bba52 + Removed HASWIDESTRING/HASWIDECHAR defines
git-svn-id: trunk@241 -
2005-06-07 20:42:22 +00:00
peter
4ace790492 * remove $Log
git-svn-id: trunk@231 -
2005-06-07 09:47:55 +00:00