diff options
author | WANG Xuerui <git@xen0n.name> | 2023-07-25 17:03:28 +0800 |
---|---|---|
committer | Weining Lu <luweining@loongson.cn> | 2023-07-25 17:06:07 +0800 |
commit | 6084ee742064cf8121444febee342133b0cb7abd (patch) | |
tree | c1411cf1e4795a5fd6149c087e068d4eaac6234d /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | 4cf11d8a65dfded59761ec52804a86277b9c0036 (diff) | |
download | llvm-6084ee742064cf8121444febee342133b0cb7abd.zip llvm-6084ee742064cf8121444febee342133b0cb7abd.tar.gz llvm-6084ee742064cf8121444febee342133b0cb7abd.tar.bz2 |
[lld][ELF] Support LoongArch
This adds support for the LoongArch ELF psABI v2.00 [1] relocation
model to LLD. The deprecated stack-machine-based psABI v1 relocs are not
supported.
The code is tested by successfully bootstrapping a Gentoo/LoongArch
stage3, complete with common GNU userland tools and both the LLVM and
GNU toolchains (GNU toolchain is present only for building glibc,
LLVM+Clang+LLD are used for the rest). Large programs like QEMU are
tested to work as well.
[1]: https://loongson.github.io/LoongArch-Documentation/LoongArch-ELF-ABI-EN.html
Reviewed By: MaskRay, SixWeining
Differential Revision: https://reviews.llvm.org/D138135
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions