diff options
| author | Ard Biesheuvel <ardb@kernel.org> | 2021-11-27 10:26:37 +0100 |
|---|---|---|
| committer | Ard Biesheuvel <ardb@kernel.org> | 2021-11-27 10:26:37 +0100 |
| commit | da66263b6e505a4c605efbe8d68c3b09ad3606a4 (patch) | |
| tree | 0f8e167088f17b1014b51b788b132d65792a821e /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | |
| parent | 00cf717f51d76ffa62b2525a4893e20e23750e21 (diff) | |
| download | llvm-da66263b6e505a4c605efbe8d68c3b09ad3606a4.zip llvm-da66263b6e505a4c605efbe8d68c3b09ad3606a4.tar.gz llvm-da66263b6e505a4c605efbe8d68c3b09ad3606a4.tar.bz2 | |
[ARM] implement support for ALU/LDR PC-relative group relocations
Currently, LLD does not support the complete set of ARM group relocations.
Given that I intend to start using these in the Linux kernel [0], let's add
support for these.
This implements the group processing as documented in the ELF psABI. Notably,
this means support is dropped for very far symbol references that also carry a
small component, where the immediate is rotated in such a way that only part of
it wraps to the other end of the 32-bit word. To me, it seems unlikely that
this is something anyone could be relying on, but of course I could be wrong.
[0] https://lore.kernel.org/r/20211122092816.2865873-8-ardb@kernel.org/
Reviewed By: peter.smith, MaskRay
Differential Revision: https://reviews.llvm.org/D114172
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions
