summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2023-02-27 16:19:13 -0800
committerFangrui Song <i@maskray.me>2023-02-27 16:19:13 -0800
commit7198c87f42f6c15d76b127c1c63530e9b4d5dd39 (patch)
tree023c183cf970df2ad707c3166de7b3cae72aea8e /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parentd77f96a9e0c86a35f5d5986058b4dcce30113cca (diff)
[ELF][PPC64] Actually implement --no-power10-stubs
When a caller that does not use TOC calls a function, a call stub is needed if the function may use TOC. --no-power10-stubs avoids PC-relative instructions in the code sequence. The --no-power10-stubs=no implementation added in D94627 is wrong. First, the first instruction incorrectly uses `mflr 0` (instead of `mflr 12`). Second, for the PLT case, it uses addis+addi with getVA instead of addis+ld with getGotPltVA.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions