fpc/rtl/win
svenbarth 6afda909d4 Rework TlsKey handling on Windows so that it works as intended with indirect main information
rtl/inc/system.inc:
  * SetupEntryInformation: call new, optional function OSSetupEntryInformation to handle platform specific entry information initialization
rtl/win/sysosh.inc, TEntryInformationOS:
  + new field TlsKeyAddr which will hold the address to the main binary's TlsKey variable
win32/sysinit.inc:
  + provide the variable holding the TlsKey and pass that on to the entry information record
win32/system.pp:
  + new OS specific entry information initialization (currently only the TlsKey)
win/systhrd.inc:
  * declare TlsKey as a pointer to a DWord value instead of a DWord; on non-indirect entry platforms this is initialized with the address of new variable TlsKeyVar, on indirect entry platforms it will be initialized by the entry information initialization
  * adjust usages of TlsKey from DWord to PDWord
win/systlsdir.inc:
  * TlsKey is now a PDWord and (in sysinit) points to TlsKeyVar
win/syswin.inc:
  * adjust TlsKey usage
inc/heaptrc.pp:
  * TlsKey is now a PDWord, thus adjust the import and the usage

git-svn-id: trunk@33091 -
2016-02-12 17:03:52 +00:00
..
wininc * Applied patch from Thaddy de Koning (Bug ID 29405) 2016-01-15 17:30:48 +00:00
dos.pp + unicodestring support for assign/erase/rename 2013-07-19 16:30:51 +00:00
dynlibs.inc Move DynLibs support to System unit using a manager approach like for Threads, WideStrings, etc.. This is needed so that we can support features like "delayed" and loading of dynamic packages. 2015-02-03 20:00:00 +00:00
fpcmemdll.pp
messages.pp
sharemem.pp * Change to ptruint. 2007-07-05 07:35:12 +00:00
sysdir.inc * Windows targets: removed 'errno' threadvar, OS error codes can be passed directly to Errno2InOutRes(). 2014-02-19 07:28:46 +00:00
sysdl.inc Move DynLibs support to System unit using a manager approach like for Threads, WideStrings, etc.. This is needed so that we can support features like "delayed" and loading of dynamic packages. 2015-02-03 20:00:00 +00:00
sysdlh.inc Move DynLibs support to System unit using a manager approach like for Threads, WideStrings, etc.. This is needed so that we can support features like "delayed" and loading of dynamic packages. 2015-02-03 20:00:00 +00:00
sysfile.inc * Reset filerec mode field to fmClosed if the system call to open the file failed 2014-11-23 21:49:29 +00:00
sysheap.inc * First part of 64-bit Windows fixes from Mantis #23074. 2014-02-18 02:10:35 +00:00
sysos.inc * added missing error constant 2015-02-23 11:19:50 +00:00
sysosh.inc Rework TlsKey handling on Windows so that it works as intended with indirect main information 2016-02-12 17:03:52 +00:00
systhrd.inc Rework TlsKey handling on Windows so that it works as intended with indirect main information 2016-02-12 17:03:52 +00:00
systlsdir.inc Rework TlsKey handling on Windows so that it works as intended with indirect main information 2016-02-12 17:03:52 +00:00
sysutils.pp * use FormatMessageW in SysErrorMessage, resolves issue #29197 2016-01-03 15:56:31 +00:00
syswin.inc Rework TlsKey handling on Windows so that it works as intended with indirect main information 2016-02-12 17:03:52 +00:00
tthread.inc The documentation says that a "BeginThread" needs to be followed by a "CloseThread". The implementation of TThread did not respect this yet. 2013-04-23 20:13:07 +00:00
windirs.pp * updated GetWindowsSpecialDir():string so it uses the -A or -W api call 2013-08-19 22:47:19 +00:00
winres.inc Merged revisions 9693-10480 via svnmerge from 2008-03-12 21:33:48 +00:00