mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-03 02:50:42 +02:00
* Windows does not support a GOT, so rely on page relative addressing
git-svn-id: trunk@44916 -
This commit is contained in:
parent
dfde4def62
commit
a6f1c04f22
@ -181,7 +181,8 @@ implementation
|
||||
if ((ref.symbol.typ in [AT_FUNCTION,AT_LABEL]) and
|
||||
(ref.symbol.bind in [AB_LOCAL,AB_GLOBAL])) or
|
||||
((ref.symbol.typ=AT_DATA) and
|
||||
(ref.symbol.bind=AB_LOCAL)) then
|
||||
(ref.symbol.bind=AB_LOCAL)) or
|
||||
(target_info.system=system_aarch64_win64) then
|
||||
href.refaddr:=addr_page
|
||||
else
|
||||
href.refaddr:=addr_gotpage;
|
||||
@ -194,7 +195,8 @@ implementation
|
||||
if ((ref.symbol.typ in [AT_FUNCTION,AT_LABEL]) and
|
||||
(ref.symbol.bind in [AB_LOCAL,AB_GLOBAL])) or
|
||||
((ref.symbol.typ=AT_DATA) and
|
||||
(ref.symbol.bind=AB_LOCAL)) then
|
||||
(ref.symbol.bind=AB_LOCAL)) or
|
||||
(target_info.system=system_aarch64_win64) then
|
||||
begin
|
||||
href.base:=NR_NO;
|
||||
href.refaddr:=addr_pageoffset;
|
||||
|
Loading…
Reference in New Issue
Block a user