diff options
| author | Fangrui Song <i@maskray.me> | 2024-02-21 10:13:25 -0800 |
|---|---|---|
| committer | Fangrui Song <i@maskray.me> | 2024-02-21 10:13:26 -0800 |
| commit | 2167881f5154823dc3183845700add7df15fc856 (patch) | |
| tree | bdf70b61410ace4232cd59cd389b75c73db9a9ff /lldb/test/API/python_api/process/TestProcessAPI.py | |
| parent | c5bbf979ada59e4ef9e67cb8bae59522d17b5140 (diff) | |
[ARM,MC] Support FDPIC relocations
Linux kernel fs/binfmt_elf_fdpic.c supports FDPIC for MMU-less systems.
GCC/binutils/qemu support FDPIC ABI for ARM
(https://github.com/mickael-guene/fdpic_doc).
_ARM FDPIC Toolchain and ABI_ provides a summary.
This patch implements FDPIC relocations to the integrated assembler.
There are 6 static relocations and 2 dynamic relocations, with
R_ARM_FUNCDESC as both static and dynamic.
gas requires `--fdpic` to assemble data relocations like `.word f(FUNCDESC)`.
This patch adds `MCTargetOptions::FDPIC` and reports an error if FDPIC
is not set.
Pull Request: https://github.com/llvm/llvm-project/pull/82187
Diffstat (limited to 'lldb/test/API/python_api/process/TestProcessAPI.py')
0 files changed, 0 insertions, 0 deletions
