mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 12:26:02 +02:00
* fixed stupid typo in x86_64 pic code generation
git-svn-id: trunk@1731 -
This commit is contained in:
parent
3638f8fdea
commit
dac22b4703
@ -179,7 +179,7 @@ begin
|
|||||||
(target_info.system in [system_x86_64_linux]) then
|
(target_info.system in [system_x86_64_linux]) then
|
||||||
begin
|
begin
|
||||||
{$ifdef x86_64}
|
{$ifdef x86_64}
|
||||||
sym:=objectlibrary.newasmsymbol(hp2.name^,AB_EXTERNAL,AT_FUNCTION);
|
sym:=objectlibrary.newasmsymbol(tprocsym(hp2.sym).first_procdef.mangledname,AB_EXTERNAL,AT_FUNCTION);
|
||||||
reference_reset_symbol(r,sym,0);
|
reference_reset_symbol(r,sym,0);
|
||||||
if cs_create_pic in aktmoduleswitches then
|
if cs_create_pic in aktmoduleswitches then
|
||||||
r.refaddr:=addr_pic
|
r.refaddr:=addr_pic
|
||||||
|
Loading…
Reference in New Issue
Block a user