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?

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

2017-03-17 Thread Bishop via fpc-devel
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? 2) Why INITFINAL table on both Windows and Linux puted to .data section? Is we need to