HomePhabricator

[ELF] Support a few more SPARCv9 relocations

Authored by LemonBoy on Apr 17 2020, 7:58 AM.

Description

[ELF] Support a few more SPARCv9 relocations

Implemented a bunch of relocations found in binaries with medium/large code model and the Local-Exec TLS model. The binaries link and run fine in Qemu.
In addition, the emulation elf64_sparc is now recognized.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D77672

Details

Committed
MaskRayApr 17 2020, 8:12 AM
Reviewer
MaskRay
Differential Revision
D77672: [ELF] Support a few more SPARCv9 relocations
Parents
rGf89abd6923bc: [SYCL] Update __builtin_unique_stable_name for other backends.
Branches
Unknown
Tags
Unknown