sergei
ad94e5e719
* Link TLS directory and callbacks only into executables. It is not necessary for DLLs, because callback functionality is contained in DllMain. Moreover, DLLs with TLS directory cannot be dynamically loaded in Windows versions prior to Vista.
...
* In Win32, reference TLS directory from SysInit units, allowing the module which needs TLS to be different from module which contains system unit.
* Don't write to TLS directory, as it can be placed into read-only memory.
git-svn-id: trunk@18028 -
2011-07-27 23:22:09 +00:00
sergei
59ac157b50
sysinit*.pp: Factored common code into include file.
...
git-svn-id: trunk@17939 -
2011-07-05 13:25:51 +00:00
florian
b2b0e749bb
* win32 system unit doesn't depend anymore directly on the main program, this is necessary to be able to keep it in a dll
...
git-svn-id: trunk@9052 -
2007-11-01 21:59:43 +00:00
florian
4e375e0c38
* set ConsoleStartupMode in all startup codes
...
git-svn-id: trunk@7274 -
2007-05-05 15:33:34 +00:00
florian
c4ed4ed7c1
* fix gprof support for win32
...
git-svn-id: trunk@7003 -
2007-03-25 20:26:59 +00:00
florian
6e2187c606
+ windows uses now sysinit units as well
...
git-svn-id: trunk@5191 -
2006-11-02 23:20:35 +00:00