summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/TestOverloadedFunctions.py
diff options
context:
space:
mode:
authorPeter Smith <peter.smith@linaro.org>2019-01-16 13:24:02 +0000
committerPeter Smith <peter.smith@linaro.org>2019-01-16 13:24:02 +0000
commite8374614c97b62229daf2750d095e279fd848b15 (patch)
treee3bb69e39e11f9bbea1a605c0ee57df32fc265ce /lldb/packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/TestOverloadedFunctions.py
parente56d65a120a807a26de1358148e8af774b794f36 (diff)
downloadbcm5719-llvm-e8374614c97b62229daf2750d095e279fd848b15.tar.gz
bcm5719-llvm-e8374614c97b62229daf2750d095e279fd848b15.zip
[ELF][AArch64] Add R_AARCH64_PLT_PAGE_PC to isRelExpr
As a follow on to D56666 (r351186) there is a case when taking the address of an ifunc when linking -pie that can generate a spurious can't create dynamic relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol in readonly segment. Specifically the case is where the ifunc is in the same translation unit as the address taker, so given -fpie the compiler knows the ifunc is defined in the executable so it can use a non-got-generating relocation. The error message is due to R_AARCH64_PLT_PAGE_PC not being added to isRelExpr, its non PLT equivalent R_AARCH64_PAGE_PC is already in isRelExpr. Differential Revision: https://reviews.llvm.org/D56724 llvm-svn: 351335
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/TestOverloadedFunctions.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud