yury
|
73448deda6
* Windows: Prevent removal of the TLS directory by the linker when RTL is compiled with -O4 or when inlining is enabled.
|
4 роки тому |
svenbarth
|
3f45860cf9
Use constref instead of const when passing TEntryInformation along
|
9 роки тому |
svenbarth
|
788393c298
Change WideString initialization to work correctly with indirect main information as well
|
9 роки тому |
svenbarth
|
af53fcb48c
Adjust SysInstance so that it is correctly handled with the indirect entry information on Win32
|
9 роки тому |
svenbarth
|
6afda909d4
Rework TlsKey handling on Windows so that it works as intended with indirect main information
|
9 роки тому |
svenbarth
|
7b67ead440
Pass further main program data through the indirect entry information.
|
9 роки тому |
svenbarth
|
7e1e947b71
asm_exit is only needed on Win32 (Note: the removal of asm_exit from TEntryInformation in the previous commit should have been in this one -.- )
|
9 роки тому |
svenbarth
|
b525cecad8
- get rid of the calling convention modifier for PascalMain as it's generated using the default calling convention anyway (without any parameters this luckily doesn't matter that much ;) )
|
9 роки тому |
pierre
|
4a9c8e330b
+ Move EXEC_callback into separate file win/systlsdir.inc
|
13 роки тому |
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.
|
14 роки тому |
sergei
|
59ac157b50
sysinit*.pp: Factored common code into include file.
|
14 роки тому |