|
@@ -994,8 +994,11 @@ begin
|
|
DispCallByIDProc:=@DoDispCallByIDError;
|
|
DispCallByIDProc:=@DoDispCallByIDError;
|
|
{$ifdef FPC_USE_TLS_DIRECTORY}
|
|
{$ifdef FPC_USE_TLS_DIRECTORY}
|
|
{ This code is only here to force
|
|
{ This code is only here to force
|
|
- incorporation of _tls_used record in executable
|
|
|
|
|
|
+ incorporation of needed labels for
|
|
|
|
+ _tls_used record in executable
|
|
when smartlinking is on }
|
|
when smartlinking is on }
|
|
|
|
+ _tls_used.Index_pointer:=@FreePascal_TLS_callback;
|
|
|
|
+ _tls_used.Index_pointer:=@FreePascal_end_of_TLS_callback;
|
|
_tls_used.Index_pointer:=@tls_index;
|
|
_tls_used.Index_pointer:=@tls_index;
|
|
{$endif FPC_USE_TLS_DIRECTORY}
|
|
{$endif FPC_USE_TLS_DIRECTORY}
|
|
end.
|
|
end.
|