aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorPiJoules <6019989+PiJoules@users.noreply.github.com>2024-05-28 15:37:03 -0700
committerGitHub <noreply@github.com>2024-05-28 15:37:03 -0700
commit760c2aa55f0c5f56bed944328b23aa3f2f764346 (patch)
tree517aef15dea34f4501dcee17ccca7f38b9ef59ca /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent20d497c26fc95c80a1bacb38820d92e5f52bec58 (diff)
downloadllvm-760c2aa55f0c5f56bed944328b23aa3f2f764346.zip
llvm-760c2aa55f0c5f56bed944328b23aa3f2f764346.tar.gz
llvm-760c2aa55f0c5f56bed944328b23aa3f2f764346.tar.bz2
[lld] Support thumb PLTs (#86223)
We are using PLTs for cortex-m33 which only supports thumb. More specifically, this is for a very restricted use case. There's no MMU so there's no sharing of virtual addresses between two processes, but this is fine. The MCU is used for running [chre nanoapps](https://android.googlesource.com/platform/system/chre/+/HEAD/doc/nanoapp_overview.md) for android. Each nanoapp is a shared library (but effectively acts as an executable containing a test suite) that is loaded and run on the MCU one binary at a time and there's only one process running at a time, so we ensure that the same text segment cannot be shared by two different running executables. GNU LD supports thumb PLTs but we want to migrate to a clang toolchain and use LLD, so thumb PLTs are needed.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions