Re: [fpc-devel] Some questions about compiler work on x86_64-win64

2017-04-10 Thread Bishop
First of all sorry that it take so long time for my answer. 03/19/17 10:38:35, Sven Barth via fpc-devel : > If it is so important to you: patches are welcome. But keep in mind that the default needs to be the status quo. Thanks. This is important to me to

Re: [fpc-devel] Some questions about compiler work on x86_64-win64

2017-03-19 Thread Sven Barth via fpc-devel
Am 18.03.2017 23:11 schrieb "Bishop" : > > 03/18/17 00:51:05, Sven Barth via fpc-devel < fpc-devel@lists.freepascal.org>: > > > > Bo, the main sense of this is to detect when a new thread is started and more importantly terminated cause only with this we can free the

Re: [fpc-devel] Some questions about compiler work on x86_64-win64

2017-03-18 Thread Bishop
03/18/17 00:51:05, Sven Barth via fpc-devel : > Bo, the main sense of this is to detect when a new thread is started and more importantly terminated cause only with this we can free the threadvar area of the thread accordingly (if the thread is an external

Re: [fpc-devel] Some questions about compiler work on x86_64-win64

2017-03-17 Thread Sven Barth via fpc-devel
Am 17.03.2017 22:16 schrieb "Bishop" : > > 03/17/17 11:56:47, Sven Barth via fpc-devel < fpc-devel@lists.freepascal.org>: > > >> 1) EXE-file contained .CRT section. As i understand it contained one pointer to _FPC_Tls_Callback functions from RTL. Is it used only for this? >

Re: [fpc-devel] Some questions about compiler work on x86_64-win64

2017-03-17 Thread Bishop
03/17/17 11:56:47, Sven Barth via fpc-devel : >> 1) EXE-file contained .CRT section. As i understand it contained one pointer to _FPC_Tls_Callback functions from RTL. Is it used only for this? > Correct. And main sence of this function is allocated ThreadVar

Re: [fpc-devel] Some questions about compiler work on x86_64-win64

2017-03-17 Thread Sven Barth via fpc-devel
Am 17.03.2017 08:08 schrieb "Bishop via fpc-devel" < fpc-devel@lists.freepascal.org>: > > I have some questions about compiler work on x86_64-win64. > > 1) EXE-file contained .CRT section. As i understand it contained one pointer to _FPC_Tls_Callback functions from RTL. Is it used only for this?