mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-02 12:31:01 +02:00
* the general section threadvar model needs a got but pic is not required
git-svn-id: trunk@43074 -
This commit is contained in:
parent
4064c5f39b
commit
9e8bc7c935
@ -100,8 +100,6 @@ implementation
|
|||||||
end;
|
end;
|
||||||
tlsm_general:
|
tlsm_general:
|
||||||
begin
|
begin
|
||||||
if not(cs_create_pic in current_settings.moduleswitches) then
|
|
||||||
Internalerror(2018110701);
|
|
||||||
include(current_procinfo.flags,pi_needs_got);
|
include(current_procinfo.flags,pi_needs_got);
|
||||||
reference_reset(href,0,[]);
|
reference_reset(href,0,[]);
|
||||||
location.reference.index:=current_procinfo.got;
|
location.reference.index:=current_procinfo.got;
|
||||||
@ -136,9 +134,6 @@ implementation
|
|||||||
end;
|
end;
|
||||||
tlsm_general:
|
tlsm_general:
|
||||||
begin
|
begin
|
||||||
if not(cs_create_pic in current_settings.moduleswitches) then
|
|
||||||
Internalerror(2019012001);
|
|
||||||
|
|
||||||
current_asmdata.CurrAsmList.concat(tai_const.Create_8bit($66));
|
current_asmdata.CurrAsmList.concat(tai_const.Create_8bit($66));
|
||||||
reference_reset(href,0,[]);
|
reference_reset(href,0,[]);
|
||||||
location.reference.base:=NR_RIP;
|
location.reference.base:=NR_RIP;
|
||||||
|
Loading…
Reference in New Issue
Block a user